@MikhailBogdanov
I’ll add an example to Jeff response to make sure these changes won’t disrupt our apps.
Let’s say a user created a new JMCF field CF1, by selecting project PR1 and issue type IT1, with the current implementation we are creating a new context targeting PR1 and IT1 as an outcome of this, the new field is visible only in that project and for that issue type.
We also have logic to update/recalculate values and we use the same logic, if we need to update CF1: we get the context, we retrieve issues based on the context (so in this case issues in project PR1 with issue type IT1) and we update the value for those issues.
Now, if i understood correctly, with the proposed solution contexts will no longer be used to restrict fields, does that mean that field CF1 will now be visible in every project and for every issue type?
If that’s the case:
- This will break all our fields using non global contexts and the logic we use to identify issues to recalculate.
- We will need to change all the logic to create and restrict fields replacing the calls to the context api to the new api if we want to preserve the current functionalities
- Will the introduction of the new proposal immediately change how contexts work? Will fields migrated the new structure take into account the visibility restrictions from contexts? Or there will be some period that we can use to fix our configurations