Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

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,559,686
Community Members
 
Community Events
185
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.

5 answers

This is what I setup,

We only wanted to be notified for non-sub-tasks when new issues left or came in on the  current open sprints

Jira_Auto.png

I can confirm the following...

This works for "added to current sprint":

Screenshot 2023-02-16 at 11.44.32 AM.png

And this works for "removed from open sprint":

Screenshot 2023-02-16 at 11.42.09 AM.png

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

0 votes
Alexander Eck [Tempo]
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.
Nov 02, 2020

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
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
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
AUG Leaders

Atlassian Community Events