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

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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published 4 hours ago in Jira

5 ways you can make the most of Jira Software and Bitbucket Cloud

As part of the Bitbucket product team I'm always interested in better understanding what kind of impact the use of our tools have on the way you work. In a recent study we conducted of software devel...

16 views 0 3
Read article

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