Currently have an active rule that tags users by name but also need to add the current issue assignee when the rule is triggered. I've tried several assignee tags but have not been successful.
<Automated message>
[~servicedesk], [~jira.admin]
SLA to Resolution is At risk *(60 min remaining)*
[~{{assignee}}] Please follow-up with the user or close the ticket if there is no response from the user.
I have read through the community and found the below as well but can't seem to get it to work, am i missing something?
[~accountid:{{assignee.accountId}}]
{{assignee.displayName}}
{{issue.assignee.displayName}}
Current Instance: Jira 8.5 data center
Hi @Ivan X ,
Are you using the JSD Automation or are you using Automation for Jira (A4j)?
The latter is Atlassian's newly acquired app (from CodeBarrel). In the project settings menu this can be found in the 'project automation' menu not to be confused with the 'automation' menu.
If you are using A4J then your examples should (all) work.
Hi @Ivan X ,
@Rudy Holtkamp is correct re Automation for Jira. They look right. There's more in ours docs about it, https://support.atlassian.com/jira-software-cloud/docs/convert-usernames-to-user-account-i-ds/
Basically, it should always be:
[~accountid:xxxxxxxxxx] where xxxxx is your smart value.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Oh, sorry, my bad. I just realised that you're on server. The accountid: part is cloud only.
You should be using [~xxxx] where xxxx is the user key.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi @Rudy Holtkamp - i'm just using the project settings automation rule and not Automation for Jira and using Server.
I actually realize that there's quite a difference with the tags used wouldn't work as they are for Automation for Jira.
@Simmo - since i'm not tagging an actual user but instead whomever the Assignee is for a ticket, would [~assignee] work? Have tried several times trying to trigger a 60m alert, 30m alert, but cant get my head wrapped around why.
Appreciate your help.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Ivan X ,
If you're using Automation for Jira then it would be [~{{issue.assignee}}] however since you're using built in Automation I'm afraid I don't know what the answer is there.
Cheers,
Simeon.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.