Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Hide/Show different radio button options

Jake Jollimore July 9, 2019

I'm using Jira 7.9.2, and also have Scriptrunner 5.3.26

We have a custom radio button field called 'Review Status'. For most issues, we want to display options A, B, C and D, but for issues with parents who have certain criteria, we only want to show options A and E.

Ideally, I'd like to write a script that will analyze each issue's parent when they're accessed and Hide/Show the relevant options, or at least disable them. Is this possible? I can't find a good starting place in any of the documentation I've found. I'm quite comfortable with groovy. 

My second, though much less ideal approach (because it will cause additional rework in existing automation scripts), is to have two separate fields: one containing values A, B, C, and D, and the other containing A and E, and just hiding/showing the whole field based on the same criteria.

 

Any help is much appreciated!

0 answers

Suggest an answer

Log in or Sign up to answer