How to populate values in one custom field based on the value of another custom field?

Hi,

This is what I want to achieve:

  • I have 2 fields.
  • When I select A in 1st field the 2nd field should populate P,Q,R
  • When I select B in 1st field the 2nd field should populate X,Y,Z

How do I achieve this.?

Thanks.

5 answers

0 votes
Gerry Tan Atlassian Team Oct 03, 2016

I don't understand what you mean by "when I select", when does this happen? When you're searching the issue via JQL?

To clarify,

There are 2 single select dropdown fields.

When A is selected from 1st dropdown,  2nd dropdown field should populate P,Q,R

When B is selected from 2nd dropdown,  2nd dropdown field should populate X,Y,Z

0 votes
Gerry Tan Atlassian Team Oct 04, 2016

I don't think that feature exist in JIRA. However you might be able to achieve similar outcome by setting the value on issue creation using workflow post function / validators. Have a look at workflow add-ons listed in marketplace.

There's also developer doc to write your own post function: https://developer.atlassian.com/static/connect/docs/latest/modules/jira/workflow-post-function.html (cloud hosting)

You can create it by using behaviors script.Behaviors appears in the column of add-ons when you install scriptrunner .

You can use the Select List Cascading as in image attached. the second dropdown will popup depending on the first Dropdown selectionCapture.PNG

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 ...

3,168 views 13 19
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