Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

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

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

Admins, notify your Jira instance of system-wide changes with the new admin announcement banner

Hi All! We’re excited to share the launch of an announcement banner that lets Jira site administrators communicate directly to their users across their  Jira Cloud instance.  ...

556 views 15 18
Read article

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