Forums

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

fast track transition not working

Martin Hipfinger March 21, 2016

hi,

i've created a JIRA workflow, and do need to use some "fast track transitions" as post functions in order to route the issue to the proper Status. those fast track transitions are the last Actions in the Transition.

 

the Transition itself seems to work - that means the history of the issue Shows the Transition was done, the user is displayed the correct Buttons of the next transitions - but the Status itself of the issue does not Change.

 

how to fix this?

 

br,

martin

 

10 answers

0 votes
Markus Hof
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 24, 2016

do you have any idea what may cause this issue?

0 votes
Martin Hipfinger March 22, 2016

no, there isn't (sorry for the delay, but it seems like i'm only allowed to post 2 comments within 24 hours...)

0 votes
JamieA
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.
March 21, 2016

is there anything in the logs?

0 votes
Bijan Sadeghi
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 21, 2016

yes. that's correct

0 votes
JamieA
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.
March 21, 2016

I presume you have no listeners that are doing something when that Allgemeines Ereignis event is fired?

0 votes
Bijan Sadeghi
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 21, 2016

yes, those are mutually exclusive conditions. the comment would be just a nice to have, so i'm fine if it will not work. i've removed the creation of the comment, but this didn't change the behaviour described (i’m a collegue of martin)

0 votes
Thanos Batagiannis [Adaptavist]
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.
March 21, 2016

Try to add the comment using the commentManager

import com.atlassian.jira.component.ComponentAccessor
import com.atlassian.jira.issue.Issue

Issue issue = issue
def commentManager = ComponentAccessor.getCommentManager()
def currentuser = ComponentAccessor.getJiraAuthenticationContext().getLoggedInUser()
//will create a comment to issue with currentUser being for author
commentManager.create(issue, currentuser, "this is a comment", false)
0 votes
JamieA
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.
March 21, 2016

Those fast-track functions... do they have mutually exclusive conditions?

Setting the comment may not happen if there is not a screen for that transition with comments on it, other answers suggest to use CommentManager to create the comment.

0 votes
Martin Hipfinger March 21, 2016

oh, sorry for not including this information. i'm on latest version - that means JIRA 7.1.2 & ScriptRunner 4.2.0.7. Yes, i'd set a comment also (as "Additional issue actions" during the fast track transition) but it's not applied 

 sr.PNG

0 votes
Thanos Batagiannis [Adaptavist]
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.
March 21, 2016

Hi Martin,

Which versions of JIRA and SR you use ? Do you apply further actions (for example set a comment ) during your transition ?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events