Create
cancel
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

Transition a Status based on custom field value

I want to use Scriptrunner to Fast Track transition issue based on a custom field value. If the custom field 'Validation' value is = 'Yes - I verify the change has been validated in a Production environment' then I want to transition to issue from Validation status to Done status.  I am trying to do this as a Trigger on the workflow Transition and I am having no luck.  I am pretty new to Jira and Scriptrunner so any help would be great.  This is what I wrote so far.

Screenshot 2021-09-28 161647.png

1 answer

What type of field is Validation?

What additional information do you get when you hover or click on the triangle with the ! to the left of the code?

 

When I opened your post I found several posts listed under Related Community Content. 

This one specifically talks about Scriptrunner and Fast-Track transition based on a custom field. Have you reviewed it? It is older and might be outdated. I don't have Scriptrunner so I can't validate the suggestion from the post.

https://community.atlassian.com/t5/Jira-Core-Server-questions/Script-runner-Fast-track-transition-based-on-custom-field-value/qaq-p/345061

Thanks for the answer.  I ended up figuring this out using the Jira automation feature. 

Kirk

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Confluence Cloud

🎨 Add some visual life to your templates

Hi Atlassian Community, My name is Avni Barman, and I am a Product Manager on the Confluence Cloud team. Based on feedback from you, we are giving admins more power to create templates that a...

202 views 3 8
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