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 vote

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

0 vote
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 Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Bridget Sauer
Published Thursday in Marketplace Apps

Calling all developers––You're invited to Atlas Camp 2018

 Atlas Camp   is our developer event which will take place in Barcelona, Spain  from the 6th -7th of   September . This is a great opportunity to meet other developers and get n...

86 views 0 5
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