Forums

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

Create automation task to update the card with a new label if the card was added to the sprint later

rajul.mehta
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!
September 13, 2024

My question is how do I create an automation where if a new userstory/defect/spike is ingested into an existing sprint, I want to add a new label to that card.  Is it possible?

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.
September 13, 2024

Hi @rajul.mehta -- Welcome to the Atlassian Community!

Yes, that is possible.

What have you tried thus far to solve this need?  If you have a rule which is not working as expected, please post images of the complete rule and audit log details, and explain what is not working.  That will provide context for the community to offer suggestions.

 

If you have not started a rule yet, I suggest you will need three rules.  There are known accuracy problems with the changelog and Sprint field for automation, and thus the rules could be:

  • The first rule is triggered on Sprint Started, and will add an indicator (e.g. a label) to all issues in the sprint that the issue was in the sprint when it started.  This is essentially the same as what Atlassian considers the "committed work" in the sprint for reporting.
  • The second rule is triggered on a change to the Sprint field.  Then it will use conditions to check if the issue is in an active sprint (i.e., open sprint) and is missing the indicator from the first rule.  In that case, add your label for the "scope change".
  • The final third rule is triggered by Sprint Completed.  This will remove the indicator / label added by the first rule in any issues in the sprint.  This helps when an issue is carried over between multiple sprints.

 

Kind regards,
Bill

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events