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 Sign up to answer
Community showcase
Published Wednesday in Jira

Make your Atlassian Cloud products more secure: our NEW admin security guide

Hey admins! I’m Dave, Principal Product Manager here at Atlassian working on our cloud platform and security products. Cloud security is a moving target. As you adopt more products, employees consta...

136 views 0 6
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