We have a select list, single choice custom field "Team". The field is currently configured to apply to all issue types and to apply to four projects in our JIRA instance. I want to create a custom context for each of the four projects so that users of a given project will only see the team values that pertain to their project.
I am running into two issues. First, I cannot configure a custom context for a project that is already selected as one of the four projects. So I first have to change the custom field to use the "Global context". Once I do that, I can configure a new custom context for each project. Is this the correct approach or is there another way?
Second, since the values are unique to a context, it appears that I need to create new values for each custom context and then use bulk edit to assign issues to the new value. Is there a way to move an existing value to a new custom context?
I am afraid both are true. You can not use the same project in 2 contexts. Also, values are unique across contexts!
For number 1, yes you have that correct. A context can only be assigned to a single project (independent of the global context). Are you a user of the script runner plugin? That may help for number 1 and 2. There is a built-in script to split custom field contexts. https://scriptrunner.adaptavist.com/latest/jira/builtin-scripts.html#_split_custom_field_context
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
We do use script runner. I wasn't aware of the functionality to split custom field context. Thanks for the information!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.