Triggering Slack notifications when issue moves projects

I'm looking to receive a notification in Slack when a JIRA issue moves from one project to another. Is there an easy way to do this? Do the projects need to have the same workflow scheme? 

1 answer

This widget could not be displayed.

Hi Hillary,

You can achieve it with our add on Jirassimo

https://marketplace.atlassian.com/plugins/net.vacom.jirassimo/cloud/overview

 

With the following template (event issue_updated)

 

#foreach ($issue in $issues)
  #foreach ($item in $issue.lastchange.items)
    #if ($item.field == "project" and $item.fromString == "Source Project Name" and $item.toString ==    "TARGET_PROJECT_KEY")
        $issue.key was changed from $item.fromString to $item.toString
    #end
  #end
#end

 

Cheers,

Vladimir

Vladimir, is there a way to set up this template so that you don't have to specify the source project? We use multiple projects and I only want to monitor tickets that have been moved into my project.

@Monica Farrell Yes, absolutely. Just try the following:

  #if ($item.field == "project" and $item.fromString != "Source Project Name" and $item.toString ==    "TARGET_PROJECT_KEY")

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Tuesday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

209 views 1 3
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you