Hi
I've been trying to mention the "Approver" in the comment using JIRA automation but I always get "@unknown". Been using the correct syntax using the account ID and have doube checked the execution rules and the access for my ID and the JIRA automation user but still fails. Any tips? Has anyone got it working for them?
Community moderators have prevented the ability to post new answers.
This topic has been locked because the thread has become a bit dated. If you’d like to keep the conversation going or have additional questions, we encourage you to start a new topic. You can read more about necro posting (“raising threads from the dead”) in our Community Guidelines .
Thanks!
I wanna do this with the reporter and using
[~accountid:${{issue.reporter.accountId}}]. But i get "@unknown" as mention text. Doesnt matter if i am the rule actor or not. I am org admin as well.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Welcome to community :)
Please chcek if your use case is similar to this :https://confluence.atlassian.com/jirakb/jira-service-management-cloud-use-automation-rule-to-notify-pending-approvers-1443041080.html#
Thank You,
prachi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The format for @mention to work is
[~accountid:{{issue.assignee.accountId}}] or replace the bold values with your fields.
However, as Rebekka rightly mentioned, sharing what you have put in place so far and the audit logs will help in analyzing the problem
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Ayoosh Gupta and welcome to the Community,
could you provide screenshots of the rule (actions) that you got so far? That always helps with analyzing where it goes wrong.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Ayoosh Gupta -- Welcome to the Atlassian Community!
Adding to the suggestions from @Rebekka Heilmann _viadee_ ...
The Approvers field is a list of values, and so a rule would need to iterate over the values to add each one using the mention syntax. For example:
{{#issue.approvers}}[~accountid:{{accountId}}]{{^last}}, {{/}}{{/}}
Kind regards,
Bill
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Community moderators have prevented the ability to post new answers.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.