Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,360,564
Community Members
 
Community Events
168
Community Groups

Setting select list custom fields options based on the selected value in the same select list.

Edited

Hi ,

We have a custom select field called " Approval Status" and it contains the below values to select.
1. None
2. Draft
3. Requested
4.Withdrawn
5.Approved.

1.When user selects "Draft" from the select list then automatically "Approval status" should display only one option called "requested".
2. When user selects "Requested" the drop down should display only "Withdrawn" and "Approved" to select further and it should not display draft/none.
3.When user selects "Withdrawn" it should display only "Draft" "Requested".

Can you please help me how to get this done.

 

Note : We don't want to use cascading select list.

Thanks
VenApp status field.png

1 answer

0 votes

Your requirement is met by the cascading select list, so saying "we don't want to use a cascading select" directly contradicts what you describe.

If you want to do this, use the cascading select list for it.

Is there a reason that you don't want to do this properly?

Hi Nic,

Thanks for the response, the thing is we have some limitations with respect to issue page and team doesn't want to use cascading select list.

 

can we control the options behavior using script runner? like below

I have created a issue with approval status value as "Draft" and when i select withdrawn from Draft...it should display error message like Withdrawn should be selected from Requested value option only.

So that user can select requested and then withdrawn.

Thanks

Venu

"Doesn't want to use it" is not a reason, you already said "we don't want to use it".

Why do they not want to use a cascading select?

The cascading select does exactly what you are asking for, and avoids any need to throw up error messages to slow people down.  Don't try to kludge it with other things like Behaviours, you don't need to.  Just use the cascading select.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Jira

Online AMA this week: Your project management questions answered by Jira Design Lead James Rotanson

We know that great teams require amazing project management chops. It's no surprise that great teams who use Jira have strong project managers, effective workflows, and secrets that bring planning ...

196 views 1 6
Read article

Atlassian Community Events