Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,460,397
Community Members
 
Community Events
176
Community Groups

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

Edited

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
TAGS

Atlassian Community Events