Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

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,554,337
Community Members
 
Community Events
184
Community Groups

How to tag an user in an automated rule

Hello, I have an automated rule that posts a text to a MS Teams channel we have in the team for jira notifications.

In this text I want to tag the user that triggered the rule. For this I'm using the following text in the custom data area of the 'Send web request':

 

{"text": "The issue has been marked as Done but the fix version is empty. Please [~accountId:{{initiator.accountId}}] review it. Thanks!"}

 

But for some reason that doesn't come as expected and I get this posted into the MS Teams channel:

 

The issue has been marked as Done but the fix version is empty. Please [~accountId:JIRAUSER44655] review it. Thanks!
Can someone please let me know what I'm doing wrong? Thanks!

1 answer

Hi, 

Maybe not [~accountId:JIRAUSER44655] but : @{{initiator.displayName}}

Best Regards

Hello @Morgan DUBUISSON,

 

Thanks for your response. I also tried that and it doesn't tag the user either, instead I get this:

 

@<user_name>
Which is not tagging the user.
Kind regards

Hi, 

So @{{initiator.emailAddress}}

Best Regards

Hi again,

 

I'm afraid that doesn't work either:

user tagging in Jira automated rule.PNG

As you can see above the @<email_address> doesn't get turned into a user tag.

 

Kind regards,

Ana

I will do some tests on my side

Like Ana BD likes this

Many thanks for your help, @Morgan DUBUISSON

It's really appreciated.

I just looked,

I couldn't find any information to do it natively.


I see if it is not possible to do it by another way

Suggest an answer

Log in or Sign up to answer