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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Bridget Sauer
Published Thursday in Marketplace Apps

Calling all developers––You're invited to Atlas Camp 2018

 Atlas Camp   is our developer event which will take place in Barcelona, Spain  from the 6th -7th of   September . This is a great opportunity to meet other developers and get n...

362 views 0 6
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