How do I configure a custom context on an existing custom field?

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?

3 answers

1 votes

I am afraid both are true. You can not use the same project in 2 contexts. Also, values are unique across contexts!

0 votes
Steven Behnke Community Champion Jan 08, 2016

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

We do use script runner. I wasn't aware of the functionality to split custom field context. Thanks for the information!

Suggest an answer

Log in or Join to answer
Community showcase
Teodora [Botron]
Published Thursday in Marketplace Apps

Jira Inferno: The Nine Circles of Jira Administration Hell

If you spend enough time as a Jira admin - whether you are managing a single, mid-sized instance, a large enterprise one or juggling multiple instances at once - you will eventually find yourself in ...

247 views 0 11
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot