Project Lead Smart Values for at mention via Automations

Casey Enderlein
Contributor
June 12, 2024

 

1.) Is there a smart value available to allow at mentioning project lead via comment for a given issue? For this automation I have setup, I am able to successfully email the project lead using {{triggerIssue.project.lead.displayName}}. I know I can at mention assignee by using [~accountid:{{issue.assignee.accountId}}], therefore I tried using [~accountid:{{triggerIssue.project.lead.displayName.accountId}}] to at mention project lead. The comment posted as expected when rule triggered, but did not at mention project lead in the comments.

2.) Is there a smart value to hard code users to be at mentioned via comment in automation rule setup? I have the account IDs for the users I want to be at mentioned in the comment any time rule triggers.

My intended use case is:

1.) To send an at mention comment to the project lead when rule is triggered, as well as,

2.) hard coding the at mentioning for two admins when rule is triggered

 

Thanks!

1 answer

1 accepted

1 vote
Answer accepted
Darryl Lee
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
June 12, 2024

Hi @Casey Enderlein - I believe what you want for #1 (how to mention the project lead in a comment) is: [~accountid:{{triggerIssue.project.lead.accountId}}]

For #2, you should just be able to do: [~accountId:abcd-1234-abcd-1234] (where abcd-1234-abcd-1234 is the account ID of the user you want mentioned every time).

 

Casey Enderlein
Contributor
June 14, 2024

thank you kindly! this answered both my questions - appreciate it!

Like John Funk likes this
Darryl Lee
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
June 15, 2024

Hey @Casey Enderlein - glad this worked! Would appreciate if you can Accept this answer.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events