Scriptrunner Select List Conversion, setting field to readonly

I've got a "Select List (multiple choices)" that I'm converting using the following code in a behaviour


This changes the field to something that resembles the labels field

I sometimes need to make this field readonly.

  • getFieldById('customfield_11362').setReadOnly(true) doesn't do it
  • getFieldById('customfield_11362-textarea').setReadOnly(true) makes it looks like it is readonly

How would I make the field readonly?




1 answer

1 accepted

0 votes

Hi Daniel.

We have this issue in our backlog and it will be fixed sometime in the near future. If you want to track its progress, you can follow:

If you have any other questions do not hessitate to ask.



Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,149 views 13 19
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot