You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
Hello,
I am trying to create an automation where I need to ping a user that contains special characters in their accountid found in their profile.
Would look something like this as an example at the end of the URL.
/ViewProfile.jspa?name=c+roberts12345
I tried there examples, but neither seem to work. Any advice?
[~c+roberts12345]
[~"c+roberts12345"]
(both just paste comment showing all text.)
Hi @Collin Roberts and welcome to the Atlassian Community!
Would you share screenshots of the smart value you are using for the User and how you are pinging them? (ex. Slack, Email, @-mention)
@Collin Roberts this is the smart value I use to tag the assignee of a given issue in the comments:
[~accountid:{{issue.fields.Assignee.accountId}}]
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello, @David Blank
Here is a screenshot of the example. I am trying to @-mention a list of users that are not mentioned within the issue in other fields such as assignee.
Doing so results in the below.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Collin Roberts -- Welcome to the Atlassian Community!
As David described, you will need the accountId value for each of those users.
As you note they are not associated to the issue in any way, such as an issue field, you will need to hard-code the values.
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.
Hi @Bill Sheboy
Could you advise where to find the proper accountId?
When I go to the users profile, I see this instead of the long series of numbers other users see..
"https://atlassian.ccri.com/jira/secure/ViewProfile.jspa?name=c+roberts12345"
Thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
An easy way to find these is using an issue search and JQL...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This returns
assignee IN ("c+roberts12345")
However this still does not ping the user
[~c+roberts12345]
[~"c+roberts12345"]
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Please note I did not type in quotation marks in that JQL...Instead when I typed the id autocomplete found the name, and then substituted the account id.
And...this was a method to find the account id values; they still must be used in your rule to effect the mentions.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Apologies. The return includes the quotation marks. However I mistypes. This is what is returned.
assignee IN ("C Roberts12345")
The "+" Found when going to the user profile is removed, but now there is the space (Which is why I believe there is quotation marks included)
These examples do not work still when trying to ping.
[~c+roberts12345]
[~"c+roberts12345"]
[~c roberts12345]
[~"c roberts12345"]
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Let's confirm something...what version of Jira are you using: Cloud, Server, or Data/Center? And, do you have any marketplace addons for JQL installed?
Next, as Dave described originally, this is the format to mention someone in a rule comment, where you insert the specific user's account id value. That can come from a field or be typed-in, as in your case. You cannot mention someone with the user name in a rule.
[~accountid:insertTheUsersAccountIdHere]
When you use JQL to find the account id values, I have not seen the quotation marks automatically added. This is why I asked your Jira version and if you have addons installed, as something else appears to be adding them. Please try removing the quotation marks to see if the autocomplete replaces them with the account id value.
If this technique does not work, I suggest working with your Jira site admin to help identify the account id values you need.
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.