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,298,399
Community Members
 
Community Events
165
Community Groups

automate creation of sub-tasks for each requested participant?

Is it possible to auto create sub-tasks for each of the users tagged in the Requested Participants field (or any other multiple select user field really)?  I see the ability to create a sub-task in the automation actions but is it possible to phrase out the users in a multi-user field and create sub-task for each of those users?

2 answers

1 accepted

2 votes
Answer accepted

Hi @Sara Tucker,

Developer from Automation here.

You should be able to achieve this use-case by using smart values in combination with our "Advanced branch", which allows you to branch on any list attribute such as user fields or request participants.

Basically how it works is in the top field you provide the smart value you are looking to iterate over in this case it could be {{issue.Request Participants}} or for other user fields {{issue.My User Field}}. The second variable is what you will refer to the current user field in the iteration/loop such as participant, then you can access with {{participant}} . In my example below I just iterate over each user in request participant and log out their display name:

Screen Shot 2022-06-16 at 2.13.49 pm.pngScreen Shot 2022-06-16 at 2.13.53 pm.png
Try testing that out on a rule, then you can switch out the Log Action with whatever actions you desire e.g. Create Task/Sub-task.

If you require additional help, you can get in contact with support: https://support.atlassian.com/

Hope this helps.

Cheers.


This is life changing!!!! Thank you so much!!! 

0 votes
Fabian Lim Community Leader Jun 15, 2022

Hi @Sara Tucker

With jira automation it would be very tricky.

I would recommend you get one of the scripting plugins such as jmwe, power scripts or scritprunner to accomplish this with a postfuntion in your workflow.

Regards

I was afraid of that :) thanks so much for confirming! appreciate it  

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Site Admin
TAGS
Community showcase
Published in Jira Software

Upcoming changes to epic fields in company-managed projects

👋 Hi there Jira Community! A few months ago we shared with you plans around renaming epics in your company-managed projects. As part of these changes, we highlighted upcoming changes to epics on...

14,858 views 37 49
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you