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 vote
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
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 Tuesday in Marketplace Apps

If you’re an Atlassian app developer, you’ll want to know about Atlas Camp!

This September 6-7, hundreds of Atlassian App developers will flock to Barcelona Spain to build skills, discover product roadmaps, meet face-to-face with the Atlassian team, and learn how to extend t...

113 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