It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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

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

thanks so much..this is helpful!

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 .

Suggest an answer

Log in or Sign up to answer
TAGS

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you