Condition for fast-track transition doesn't work.

Hi.

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.

Petra

3 answers

This widget could not be displayed.
Peter Bengov Community Champion Dec 11, 2014

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

This widget could not be displayed.

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.

This widget could not be displayed.

ScreenShot00036.jpg

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Aug 22, 2018 in Marketplace Apps

How a Marketplace app tech team is achieving gender diversity

Hello! My name is Genevieve Blanch, and I'm the Marketing Manager at RefinedWiki, creators of apps to give teams the tools to customize Atlassian platforms. Currently, 44% of the tech team at Re...

534 views 3 19
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