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

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 Nov 29, 2018 in Marketplace Apps

How to set up an incident workflow from the VP of Engineering at Sentry

Hey Atlassian community, I help lead engineering at Sentry, an open-source error-tracking and monitoring tool that integrates with Jira. We started using Jira Software Cloud internally last year, a...

1,426 views 0 8
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