Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,359,749
Community Members
 
Community Events
168
Community Groups

Adding Multiple Account IDs To the Request Participants Field

Jun Koo I'm New Here Sep 01, 2022

I'm currently following this https://community.atlassian.com/t5/Automation-questions/So-close-Add-multiple-accountID-Strings-to-User-Picker-Multi/qaq-p/1857730 to add multiple @mention users into the Request Participants field. The only trouble is that I can't seem to get this smart value into a JSON array or a comma separated list like the person in the guide did. Here's what my inputs and outputs looks like:

Input: @UserA@UserB

Condition: If: Compare two values - {{issue.comments.last.body}} contains \[~accountid:.+\]

Then Create: {{issue.comments.last.body.match("(\[~accountid:.+\])").remove("[~accountid:").remove("]")

Output: 62a74956f8cf79079d6f3f5 61e707b338911c0768543139

Desired: [62a74956f8cf79079d6f3f5, 61e707b338911c0768543139]

Did Atlassian change the way the match function work since the guide was posted? 

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Atlassian Automation

Jira Automation: Sum Up Story Points Roundup (Initiatives -> Epics -> Story/Tasks -> Subtasks)

Hi Everyone, In this roundup we combine all the jira automation rules to sum up story points across different issue types. We start from the lowest level, summing up story points from sub-tasks t...

3,098 views 10 9
Read article

Atlassian Community Events