Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Notify (i.e. '@' - not email!) the reporter of an Issue in an automated comment

Adam Taylor
Contributor
December 15, 2023

Hi all!

I have set-up an automation that does this:

When a new Story is created

A comment is automatically added nudging the reader to a confluence link that contains our programme's helpful guide on what makes a Sprint Ready Story.

Is it possible to make this a little more sophisticated so that the above comment includes an '@' to the person who reported the Story?

Thanks in advance - loving this forum!

1 answer

1 accepted

1 vote
Answer accepted
Megha Rajanna
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 15, 2023

HI, @Adam Taylor 
Edit the Existing Automation Rule:

Go to your Jira project.
Click on "Project Settings" (gear icon) and navigate to "Automation."
Find the existing automation rule that you've set up for when a new story is created.
Modify the Comment Action:

Edit the action that adds a comment when a new story is created.
Modify the comment text to include the '@' mention to the reporter.
Example Comment Text:
Hi @{issue.reporter.displayName}, thanks for creating this Story! Please check our [programme's helpful guide](Confluence link) on what makes a Sprint Ready Story.
Replace Confluence link with the actual link to your Confluence page.
Testing:

After saving the changes, create a new story in your Jira project to test the automation rule.
Confirm that the comment is added with the '@' mention to the reporter.
Adjustments:

Depending on your Jira version and configuration, the syntax for mentioning users might vary. The above example assumes the use of @{issue.reporter.displayName}

Adam Taylor
Contributor
December 18, 2023

Thanks @Megha Rajanna but that didn't work for me - the '@{issue.reporter.displayName}' just appeared exactly like that in the comment - i.e. Jira Cloud didn't read and execute it but instead treated is a bit of regular text string.

 

UPDATE - I changed the curly braces to double curly braces and it {{worked}}! Thanks :) 

Like Megha Rajanna likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events