Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

JIRA automation, how to insert issue key and URL to it

Edited

In JIRA automation, I am creating a rule that

The rule needs to add a comment that mentions the user. But it does not work as I want. I want the mention of the reporter, not just their name or username. 

{{issue.reporter.displayName}} , this writes reporter's full name. 

{{issue.reporter}} , this writes reporter's user id in JIRA.

How do I write a mention of reporter so they are notified via JIRA also?

 

Problem number 2: I want it to send an email and in the email put the issue URL and issue number. 

example: Please review {{issue.key}} . this shows "Please review projectA-3432". but projectA-3432 is not a link. How can I make it a link?

2 answers

PS, I am not getting any email notifications when the thread is updated and I am watching the thread and I have checked my spam folder in my email box. 

Something is broken in notification in community. I do not think I have received any notification emails for months. 

0 votes
John Funk Community Leader May 17, 2021

Hi Nari,

Try this: [~accountid:{{issue.reporter.accountId}}]

That should cause a mention to go to the reporter. 

@John Funk thank you for help.

I this: [~accountid:{{issue.reporter.accountId}}]

I see the below in the comment: 

 

 

[~accountid:nman]

 

If I remove the brackets from my automation  ~accountid:{{issue.reporter.accountId}},  I get just:

~accountid:nman

 

As you can see issue.reporter.accountId is my login ID but the ~accountid does nothing. 

John Funk Community Leader May 21, 2021

Maybe try it with the @ in front of it. 

I tried that the results was @~accountid:nman

John Funk Community Leader May 27, 2021

Sorry for the delays - I would go ahead and submit a support request:

https://support.atlassian.com/contact/#/

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Apps & Integrations

Send an Email or Publish to Confluence - What should you do with your release notes?

Background When you hear the words ‘Release notes’, almost always you think of an unsolicited email from a software vendor. But I am here to tell you that from our data, sending release notes via E...

113 views 1 2
Read article

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