Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Condition for fast-track transition doesn't work.

PetraPensky December 11, 2014

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
PetraPensky December 11, 2014

ScreenShot00036.jpg

0 votes
PetraPensky December 11, 2014

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

MichałS
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 11, 2014

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

MichałS
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 11, 2014

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}

PetraPensky December 11, 2014

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

0 votes
Peter Bengov
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 11, 2014

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

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events