How to dynamically change the items in a custom field pick-list based on the project


In Jira I've created a new custom field pick-list called Severity which is used to assign a severity to a software bug. I've pre-populated this list with a bunch of items, such as:

1. S1 Critical

2. S2 High

3. S3 Medium

4. S4 Cosmetic

Ordinarily one such list would be fine, but I now have a requirement to dynamically change the items that appear in this Severity custom field based on the project.

How best do I implement this? Create another custom field with the same name (if you can) and associated that to the required projects? Create a new field configuration scheme?



1 answer

Hi, there are several ways to approach this.

One way would be to create a different field per project required and name it accordingly - customfields with the same name although are different are a pain when creating gadgets and other things as it is very hard to tell the difference between them.

The other way would be to add all the items required in the customfield and use Javascript in the description (in field configuration) and filter out the results per project.

I'd prefer the first method if possible unless it must be the same field.

Thanks for the quick reply.

I opted for the easy option and created another custom field with the same name, but different selectable options.

Just wanted to make sure there wasn't a better way I hadn't thought of.


Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,981 views 12 18
Join discussion

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