Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,297,157
Community Members
 
Community Events
165
Community Groups

How to automatically alert Service Management users within Internal Comment in JIRA Automations

In Legacy Automations I was able to mention coworkers as part of an internal comment when a ticket is at risk of breaching SLA or needs attention:

Legacy Automation Alert.PNG

However, in JIRA Automations I can set an internal message, but there doesn't seem to be any option to tag system users within it, and the only notification options are for external feeds such as email or slack:

Legacy Automation Alert 2.PNGCan anyone point me in the direction of how to tag colleagues into tickets and notify them within the platform, please?

Many thanks.

3 answers

2 accepted

1 vote
Answer accepted
Jack Brickey Community Leader Jun 07, 2022

Hi @Jon Buckeridge ,

how will you identify who will be mentioned? If it is a specific (static) person you can use something like the following...

[~accountid:{{issue.assignee.accountId}}]

this could be added to a comment. You can get the accountid in a number of ways, such as searching using JQL or inspecting their profile.

1 vote
Answer accepted
Gaurav Community Leader Jun 07, 2022

Hello @Jon Buckeridge 

This is an interesting scenario.

For this, we need to understand that in clod, the users are not stored with the usual user names but with account IDs.

So, in order to mention them in a comment, we will need the account ids. Once you have the account id, you can use the below code segment with automation.

[~accountId:their account ID]

In my opinion, this is not the optimal way to mention users and remembering or extracting the account id is in itself a tedious task.

Anyways, this is the option available, apart from exploring other plugins.

Also, the Atlassian documentation on this is available here.

Hope this helps.

--GG

Thanks for the answers, both, this was really helpful. 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Site Admin
TAGS
Community showcase
Posted in Jira Service Management

Jira Service Management Documentation Opportunities

Hello everyone, Hope everyone is safe! A few months ago we posted an article sharing all the new articles and documentation that we, the AMER Jira Service Management team created. As mentioned ...

340 views 0 10
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you