Forums

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

How to transition an issue when the issue is added to a Sprint?

Matt Mace November 7, 2018

Running in JIRA Cloud. We have the JWME add-on if that is useful...

In one of our workflows when a new issue is created it is set to "TO GROOM". I want to automagically transition that issue to "TO DO" when it is added to a Sprint.

How would I be able to implement this?

1 answer

0 votes
Ravi Varma
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.
November 7, 2018

Hi @Matt Mace,

 

You need to develop a custom app to capture the generic event and check if Sprint field value has changed in the change items. If Yes, then you should put in the code to change the issue status. Hope this helps.

Refer : 

Regards,

Ravi Varma

Matt Mace November 8, 2018

As I understand it though, Listeners are not permitted in the Cloud version of JIRA.

Ravi Varma
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.
November 8, 2018

In that case, you can try the following steps:

  • Check if adding issue to sprint event triggers a webhook. If Yes, then define and configure the webhook for that event 
  • Develop an app which processes the event that checks if the Sprint field has changed in the change items for the issue that the webhook has sent to the app (This needs to be evaluated if you can check whether Sprint field has changed).
  • This app should be hosted on an external server so that the webhook can invoke this.
  • If Sprint field has changed, then the app should invoke JIRA REST API to change the issue status

You may need to do some R&D on this solution.

Regards,

Ravi Varma

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events