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

Auto transition an issue based on custom field value selection

Hello All,

I am trying to auto transition an issues based on custom field value section on Create issue transition using script runner.

Example -

We have an custom field(single select) called FAI Results with option FAIL and PASS. If user selects and option FAIL on create transition the issue has to move automatically to Rejected Status same way if user selects an option PASS on create transition issue has to move automatically to Done status.

To achieve this i have followed below steps in create transition post function, however it is not working

Post function --> Script runner --> Fast track Transition an issue

Fail.PNG

Below is my workflow:

workflow.PNG

Thanks in advance,

Bunty

1 answer

I tried the same thing and its not working for me to 

Im currently working on it 

ill update you asap 

cheers.11.png

After doing some research this process of transition can be easily done through the automation for jira plugin where u mention the condition and then u chose the action what need to be done ..its that simply 

If you havent purchased scriptrunner yet , then give it a try 

https://marketplace.atlassian.com/apps/1215460/automation-for-jira?hosting=cloud&tab=overview

Hi @Kevin Johnson

Thanks for taking time and working on this.

We have purchased script runner and we don't plans to purchase automation for Jira add-on. 

Is there any workaround with script runner?

Thanks in advance,

Manikanta

Hi 

I have raised a bug against Scriptrunner yesterday , will keep you posted .

No problem things will take time but we'll find solution

cheers

15.png16.png17.png18.pngHi, 

I just pinged the scriptrunner team and found the result ..the issue was ".?value" need to be added in the condition to check the value of the field.

This is working fine for me .

Hope it works for you too @Bunty 

cheers...!

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted in Jira

Demo Den Ep. 7: New Jira Cloud Reports

Learn how to use two new reports for next-gen projects in Jira Cloud:  Cumulative flow diagram and Sprint burndown chart. Ivan Teong, Product Manager, Jira Software, demos the Cumulative ...

375 views 1 3
Join discussion

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