Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,298,285
Community Members
 
Community Events
165
Community Groups

Run automation if issue are added or removed from active sprint - Automation for Jira

We want to trigger a slack massage if an issue is either removed or added to the current sprint with automation for JIRA. How would I go about implementing this?

Especially I am unsure how to check if an issue was removed from the currently active sprint.

3 answers

Hi @Florian Pfaff 

I believe you could probably try something like this for removal from a current sprint -

Screenshot 2022-03-17 at 10.56.51.png

For adding to a current sprint you could try this -

Screenshot 2022-03-17 at 10.57.58.png

Hi @Florian Pfaff ,

this is a tricky one I believe. I do not have an out of the box solution and the only way I see is to create a webhook that is fired by an Jira sprint updated event (you can create webhook urls in Slack). The webhook url could include the SprintID that has been updated. But even if you could use the SprinID to get all issues within the Sprint it would not help you as you will only get issues from the current sprint not the issues that have been removed. By searching across the internet I found some possible enablers like the Scriptrunner removedafttersprintstart function (and there might be similar on that you could use). 

Another idea might be to create a custom field (e.g. "original sprint"9 that keeps the Sprint of last assigned Sprint and then you could compare it towards the current Sprint.

Really everything is not straight forward and I would really be interested how others are solving this.

BR

0 votes
Nir Haimov Community Leader Oct 30, 2020

Hi @Florian Pfaff 

I don't think there is such an option...

These are the options for Sprints:

  1. When sprint completed
  2. When sprint created
  3. When sprint started

You can choose the "when issue edit" and check if the sprint value changed, but it will not check about active sprint or not active sprint

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Apps & Integrations

Marketplace Partner Spotlight: AppLiger

This month the spotlight is on AppLiger. We caught up with Pavel Pavlovsky, CEO and Product Manager, to learn how the company started and what fuels the team's creativity.    Atlassian:...

381 views 0 7
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you