Condition for fast-track transition doesn't work.


I want to do a fast track transition with the following condition, but it doesn't work...

issue.assignee.getName() != 'dispatcher'

--> It is the issue creation transition.


Thanks in advance.


3 answers

0 votes
Peter Bengov Community Champion Dec 11, 2014

Issue creation transition doesn't have conditions (only validations and post functions).

Thanks a lot for your fast answer.
I think, I have to add some more information...

I used script-runner function fast-track as post function.

There I defined the condition.ScreenShot00035.jpg

Hi, The condition seems to be ok. Is the transition valid from current status to use the DISPATCH transition?

Hmm... is the assignee field filled? If the assignee is not present then you will get NullPointerException with this condition... maybe try {code}issue.assignee?.name != "dispatcher"{code}

The assignee is filled automatically with the component lead. I'll try the other syntax. Thanks a lot for your help.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Mar 13, 2019 in Marketplace Apps

Marketplace Spotlight: Marketing apps for Confluence to keep your teams working on the same page


238 views 0 6
Read article

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