How to find a display name for an event type in Automation?

Is there a way to transform the {{eventType}} smart field into something more legible than "jira:issue_updated:issue_commented"?

I presumed that i would need to write some If statements but then i learned that Mustache cares not for these things...

1 answer

0 votes
Andreas Knecht Community Champion Sep 01, 2017

Hi Jon,

Yeah for now there's no pretty name for this.  

Can you explain your use-case a bit more though - what are you trying to do? Perhaps I can suggest a workaround.

 

Cheers,

  Andreas

Hi Andreas!

I am looking to replace some built-in notifications with slack notifications so when an updated/commented event happens, i would make a slack message like:

Jon updated ticket 1234 on field "abc"

 

If it was commented, then it would be:

Jon commented on ticket 1234 with message "the brown fox"

 

As i couldn't find a way to do that, i started making separate automation rules for each event type.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 29, 2018 in Marketplace Apps

How to set up an incident workflow from the VP of Engineering at Sentry

Hey Atlassian community, I help lead engineering at Sentry, an open-source error-tracking and monitoring tool that integrates with Jira. We started using Jira Software Cloud internally last year, a...

1,268 views 0 8
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