Forums

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

I am experiencing an issue with the Complete Sprint Automatic rule I created.

Jason Gaines May 5, 2021

We have created an automatic rule to transition certain tickets when we complete the sprint. Here is a picture of the rule:

Screen Shot 2021-05-05 at 11.28.51 AM.png

The idea is when a ticket is awaiting deployment and has the done label once the sprint is completed those tickets are transitioned to the "Done" status and staying in the completed sprint, any ticket in the completed sprint not meeting that criteria will move to the next sprint. The issue we ran into was it moved all tickets in the completed sprint to the "Done" (even the 6 not meeting the criteria) and moved all tickets from the completed sprint into the next one. Any help would be grateful. 

1 answer

1 vote
Bill Sheboy
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.
May 5, 2021

Hi @Jason Gaines  -- Welcome to the Atlassian Community!

For a question like this, please consider posting an image of the audit log from the rule execution.  That may help reveal what is happening.  Regarding your two questions...

...all tickets in the completed sprint to the "Done" (even the 6 not meeting the criteria...

The audit log may reveal what is happening with these issues.  Somehow they are matching the criteria, or there is something else moving them to Done.  Perhaps also check the history for those 6 issues to see how they were moved to Done.

...moved all tickets from the completed sprint into the next one

This is happening because the rule is triggered on Sprint Completed, and so the issues have already moved to the next sprint (or the backlog) before the rule runs.  If you want the issues moved to Done *before* the sprint completes, you would need a manually run rule or a rule on some other trigger, such as scheduled for the last day of the sprint.

Best regards,

Bill

Jason Gaines May 5, 2021

Hi @Bill Sheboy 

 

Thank you for that. It makes sense with the sprint being completed then the rule running. Is there a way to run a manual rule for bulk items? All we could find was the rule section in each ticket.

Bill Sheboy
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.
May 5, 2021

Hi, Jason.

"No", and that doesn't matter for your use case.  You may trigger a manual rule from a specific issue, and within the rule you could use a branch on JQL to process what you need to take action on.

Yet you were trying to automate this to save time, prevent errors, etc.  That is one reason I suggested the Scheduled trigger rule.  It could run on the last day (or even last hour) of the sprint and use JQL to select the issues with the criteria needed to move them to done.

Do you deploy only on the last day of the sprint?  Is that why you wanted to wait to move those issues to Done?

Jason Gaines May 5, 2021

Bill,

 

Yes, deploy on the last day of the sprint.

Bill Sheboy
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.
May 5, 2021

Got it.  I'd recommend trying the manual rule for a sprint or two, see if that works for the team, and then decide if you want to fully automate it on that last sprint day.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events