groovy and locked fields

I want to add a scripted post function on the create transition when using Service desk.

I want automatically add Request Participants based on a condition, i.e, the belong to a certain group.

However the "Request Participants" custom field is locked. Is it possible to get at locked custom fields with groovy? 

1 answer

1 accepted

0 votes

Have you tried? "Locked" just means that JIRA or the SD plugin manages the configuration of it, ie the associations between projects and issues, screens and whatnot.

I don't know the type that field expects, so can't really give you any sample code. It might be difficult, but it will certainly be possible one way or another. 

Hi Jamie, Yes I tried and found out that I don't know the type :P So now I have to figure out how to get the type of a custom field in general I guess.

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,012 views 12 18
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