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
Community showcase
Posted Monday in Confluence

Organizing your space just got easier - Page Tree Drag & Drop is here

Hi Community! I’m Elaine, Confluence Product Manager. You may have read my earlier post about page tree in space navigation sidebar. I'm excited to share another improvement that helps you organize ...

103 views 3 4
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