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

Jira Product Discovery automation to keep stakeholders informed

Claudia Pillay
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 17, 2024

I am trying to find a way to keep stakeholders informed about a JPD issue's progress, even if they weren't necessarily the creator of an Idea. 

I've tested using the Watcher field and custom people picker fields, but I can't work out how to setup an email or comment automation that tags the correct people. 

The email automation fails, and the comment automation lists out the emails or user names that are in Watchers however, it does not successfully tag them.

Has anyone found a workaround to this?

1 answer

0 votes
Bill Sheboy
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.
June 18, 2024

Hi @Claudia Pillay -- Welcome to the Atlassian Community!

For a question like this, please post an image of your complete automation rule, images of any relevant actions / conditions / branches, an image of the audit log details showing the rule execution, and explain what is not working as expected.  Those will provide context for the community to offer ideas.  Thanks!

 

Until we see those...

To mention a user in a comment, the accountId is used.  If you are getting those from a field like Watchers, multiple-selection fields contain a list of values.  To mention all the watchers in a comment, iterate over the values:

watcher mentions: {{#issue.watchers.accountId}}[~accountId:{{.}}]{{^last}}, {{/}}{{/}}

 

If you are trying to email, and using a custom People field, that is not possible.  At this time, People type fields in team-managed projects (TMP), including JPD, cannot access the email address.  The only workaround I know of for JPD projects is to call the REST API with the accountId values to get the email address.

 

If your stakeholders are not Jira users, you could instead add a custom text field to store the email address, and then use that in the Send Email action.

 

Kind regards,
Bill

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events