Script runner: fast-track transition does not show a created issue in the right status

Hi,

 

We have an workflow which is simple define as:


Create Issue   ->  Status: Open for Customer -> Forward -> Status: Open


We have defined a post function for the "Create Issue" transition. Based on the project type, the transition "Forward" should be done automatically.

The script finally works but we have one problem we would like to solve:

When the post function sets the issue to the Status "Open" the issue in JIRA is shown up in the Status "Open for Customer" in the browser. If you reload the issue, it show up the correct status "Open"

It seems, that the post function is working, but does not affect the screen after the issue created.


Does anyone can help on this issue?


Thanks.


1 answer

0 vote
Tarun Sapra Community Champion Aug 16, 2016

From the docs "Place this as the last post-function, or at least after the Fire Event function.
If you don't do this, it won't work."

Hi,

Yes, we did this and tried also several settings.

As I wrote: the post-function works, but the correct status "Open" is only shown after a refresh of the issue.

 

Create an issue -> Press "Create" -> Issue View Screen appears with the Stauts "Open for Customer" -> Pressing F5 (refresh screen) -> Same issue is displayed againg in the Status "Open"

 

 

 

Hi Thomas, 

I an understand Tarun's first answer (the 99% of the cases is that), but your case is a rare one, I remember this issue reported no more than a couple of times. Could you please let me know the JIRA and SR versions you use ?

regards

Thanos

Hi,

The version we use:

JIRA Service Desk: 3.1.4

JIRA Software: 7.1.6

Adaptavist ScriptRunner for JIRA: 4.3.0

 

In the mean time we come up with an another idea how we can solve our problem, what we will check today.

But thanks for helping


Hi Thomas, 

Actually in the latest SR release (v4.3.5) there is a fix for various issues with fast track transitions. Among them and a similar one to yours SRJIRA-1318 (I don't know if you can access it - try and let me know). So it really worths to upgrade the plugin to the latest version

regards,

Thanos

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Bridget Sauer
Published Thursday in Marketplace Apps

Calling all developers––You're invited to Atlas Camp 2018

 Atlas Camp   is our developer event which will take place in Barcelona, Spain  from the 6th -7th of   September . This is a great opportunity to meet other developers and get n...

77 views 0 5
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