Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Automation rule to create multiple subtask based on user picker (multiple users)

Helen
Contributor
November 26, 2025

My issue has a "User Picker (multiple users)" called "Reviewers". I'd like to write an automation rule to create a subtask for each user in Reviewers and set that user as the assignee.

I have written a manually triggered rule which works when there's only one person in the Reviewers field. However, I need to be able to iterate over each user I think, and I can't work out how to do that.

Any suggestions for Jira Data Center would be gratefully received.

3 answers

1 accepted

3 votes
Answer accepted
Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 27, 2025

Hi @Helen 

Unfortunately, Jira Data Center does not have the Advanced Branching over smart values feature as that would make this easy.  Here is the suggestion to add that feature, which you may watch / vote for to see progress: https://jira.atlassian.com/browse/JIRAAUTOSERVER-749

There are at least two workarounds using automation rules:

#1) Use the REST API bulk-issue create endpoint

In my opinion, this is the better approach as it is less likely to fail due to rule looping.

 

#2) Use a recursive rule with the Incoming Webhook trigger

  • With your current rule, gather the user information, and use the Send Web Request action to "call" another rule, passing the user data and parent issue's key
  • Create a second rule with the Incoming Webhook trigger 
    • In this rule, receive the data for the users and parent's key
    • Branch to that parent with JQL on the key, adding the subtask with an assignee
    • Remove the user from the list, and
    • Check if there are any remaining users to process
    • If so, call the rule recursively with Send Web Request with the remaining users

This two-rule approach is susceptible to multiple possible failure points, and so the #1 approach is better.

 

Kind regards,
Bill

Helen
Contributor
November 27, 2025

Thanks Bill, the option of a bulk create via the REST API hadn't occurred to me. That seems like a good option - definitely more robust than the recursive rule. I'll give it a try.

Like Bill Sheboy likes this
0 votes
Nacho Moreno Ortega
Contributor
November 27, 2025

Hi @Helen ,

I am Nacho and i am part of Decadis.

You can achieve the desired behavior by using our app Jira Workflow Toolbox as mentioned by Christos.

To do so, a JWT automation rule can be created with the following configuration:

img1.pngExpression from the issue details in which "NNNNN" must be modified for the id of the Reviewers custom field.

toStringList(%{trigger.issue.cfNNNNN})

img2.png

You can easily decide when these subtasks will be created, for example when a field is updated or a transition is completed.

It is also possible to add a condition or validator to restrict the issue creation depending on your needs.

If you need any kind of assistance in the creation, please do not hesitate to contact us via our Support portal .

Best regards,

Nacho

0 votes
Christos Markoulatos
Community Champion
November 26, 2025

Hi @Helen 

it should work on DC also. just copy the smart value to the assignee

Screenshot 2025-11-27 091142.pngScreenshot 2025-11-27 091210.pngScreenshot 2025-11-27 091846.png

Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 27, 2025

Hi @Christos Markoulatos 

The Advanced Branch is not supported for Jira Server or Data Center automation, and thus this approach will not work.  Here is the suggestion to add the feature:

https://jira.atlassian.com/browse/JIRAAUTOSERVER-749

 

Kind regards,
Bill

Christos Markoulatos
Community Champion
November 27, 2025

Hey @Bill Sheboy you are absolutely right, correct be if im wrong but u can achieve the branching functionality with JWT or JMWE if u have these 3rd party apps in DC.

Like Nacho Moreno Ortega likes this
Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 28, 2025

No doubt there may be marketplace apps to fill that need for Data Center, and I was describing above how to do it with the built-in features...until that branch is added for DC (which seems unlikely given the upcoming sunset of DC support).

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
10.3
TAGS
AUG Leaders

Atlassian Community Events