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
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
Hi @yztech
Until that suggestion is implemented, you could built this functionality yourself using Automation for Jira. For example:
To learn more about automation rules, please see this documentation and examples:
Kind regards,
Bill
Hey @Bill Sheboy - I'm a newbie to variable writing - do you have an example of what the action would look like here? We're trying to achieve the same thing
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Kit Friend
Here are more details on what I described to extract the account id values from the comments...
{{issue.comments.last.body.split(" ").match("(accountid:.*)]").remove("accountid:")}}
Kind regards,
Bill
UPDATED 2023-Feb-06: I updated the expression for varAddWatcher to split on spaces before searching for the accountId values.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks @Bill Sheboy really kind of you!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Bill Sheboy have you had this working successfully for multiple users being tagged? It's working fine for me on single users, but errors when there's more than one. I'm wondering if it's to do with the initial variable creation action only creating the first one as a smart value...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Kit Friend
Here is the fix below. This rule which I believed worked in the past stopped working when there were multiple mentions on the same text line. The improvement below first splits the comment by spaces into separate lines, and then tests each entry to find the accountId.
{{issue.comments.last.body.split(" ").match("(accountid:.*)]").remove("accountid:")}}
I tested this successfully for a few scenarios; please let me know if you see any other problems with it.
Thanks,
Bill
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.