Forums

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

Disable particular options with groovy script runner

Peddinti Hemanth Satyakumar November 21, 2018

Hi Team,

      I'm trying to disable one option from Select list Custom label field while creating issues in Jira. could you please provide an example for this.

Regards,
Hemanth.

1 answer

0 votes
Mark Markov
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 21, 2018

Hello @Peddinti Hemanth Satyakumar

I am assuming that you need to filter options on create screen, not actually disabling in configuration.

To achieve this you can use Scriptrunner Behaviours and setFieldOptions method.

Example you can find in api quickref

And more examples in Adaptavist's Library
https://library.adaptavist.com/search?q=behaviour

Suggest an answer

Log in or Sign up to answer