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

I want to change a value for custom field when some condition matches in transition screen using scr


I have a custom field name "RCA Level II" which value is set default as "UNKNOWN" . when transition screen comes I want this value to get changed while asking user to update the value the value should be changed from "UNKNOWN" to different value from the option given in the context for that field .. the form/screen should not get submit when value is "UNKNOWN"... can some one please write the script for this in scriptrunner ..

 I'm new to scriptrunner .. can someone please suggest me what I need to do for this issue..  if there is any script or something related to that is present you can share with me please respond..

1 answer

0 votes

You could accomplish this with scriptrunner Behaviours.

But I think the better option would be to make your RCA Level II field not have any default values and remove the "UNKNOWN" option.

This will make the field default to "None"

Then all you would nee to do is add a validator to your transition that the "RCA Level II" field is required. This will force the user to select something other than None when they try to Submit

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Apps & Integrations

Marketplace Partner Spotlight: Fine Software

Happy New Year, everybody! What better way to kick off 2022 than with a new Marketplace Partner Spotlight ✨ This month, we're getting to know Daniel Franz, co-founder of Fine Software. Fine Software ...

400 views 2 15
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