Hello there,
I have an issue with an automation I've set.
Here it is in detail :
- when a ticket goes to "IN PROD" status
- a comment is created mentioning all the ticket's watchers.
- here is the comment :
"Hello {{issue.watchers.displayName}}, We’re glad to announce that this ticket has been pushed to prod Please report any inconsistency or bug you may notice. Etc."
Everything works fine except that I would need the watchers to be mentioned (ex : "'@watcher_jira_name" and not only "watcher_jira_name") to be sure that they will receive a notification (we are a lot to have set notification only when we are mentioned in a ticket)
I can't find a way to make it work. Does anyone has a clue ?
Thanks a lot for your help !
Have a great day.
William
Dear @William Pénet
You can add a comment action in your automation with the following content:
Hello {{#issue.watchers}} [~accountid:{{accountId}}] {{/}},
We’re glad to announce that this ticket has been pushed to prod Please report any inconsistency or bug you may notice. Etc.
Best Regards,
Thanks a lot Seifallah ! It seems to work perfectly.
Have a great day
Kind regards,
William
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @William Pénet , how do you wish to notify the watchers? If you wish to send an email, you could try the following in the email address field for the associated action.
{{issue.watchers.emailAddress.join("; ")}}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jack, thanks for you time.
I would like to create a comment which will mention all the watchers of the tickets, one by one.
For example if you and I are watchers of the ticket, the automatic message should be :
" Hello @Jack Brickey We’re glad to announce that this ticket has been pushed to prod Please report any inconsistency or bug you may notice. Etc."
Each watcher will then be notified by email or inside Jira following their notifications preferences.
Thanks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.