Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 19:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.
×Hello, my requirement is that I want to create sub tasks automatically and assign automatically to the selected users in multi user selection. So how can I achieve this. Actually my requirement is I want to divide the expenditure amount among users. So I took the "Paid Amount" text field and "Shared Among" multi user selection field. So suppose 600 is entered in "Paid Amount" so creating on parent issue for expenditure of 600 and 3 sub tasks for collecting 200 from 3 respective users.
So, how can I achieve this. Thank you in advance
There are a few add-ons that will provide you with a "create sub-task on issue create" function, but it sounds to me like you probably need one of the more flexible ones as you have some logic to do - not just a fixed "create X subtask(s)". I'd use the script-runner to do this.
There's now a very easy to automatically create sub-tasks with Automation for JIRA!
You can easily create sub-tasks with our 'create sub-tasks' action:
create-sub-tasks.png
For a full list of available conditions and actions see: http://codebarrel.io/available-rule-components/
We also have a number of conditions you could use to check the value of the paid amount field.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It seems this is no longer an option to create sub tasks in Automation for JIRA.
I am using ServiceDesk and trying to use automation to create specific subtasks for certain issue types -- so for example:
Issue Type: Employee Onboarding
Create Subtasks:
- Create e-mail account.
- Add to distribution lists.
- Add to Slack.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Cody Goodermote ,
Elements Copy & Sync could help you with creating specific subtasks, and we have specific examples of how it works with employee onboarding:
Employee onboarding use-case: https://elements-apps.com/resources/use-cases/copy-and-sync-onboarding-jira/
Tutorial to configure onboarding: https://doc.elements-apps.com/elements-copy-and-sync/latest/?contentKey=onboardingTutorial
App on Marketplace: https://marketplace.atlassian.com/apps/1211111/elements-copy-sync-formerly-exocet?hosting=server&tab=overview
Let me know if you run into any problems trying Elements Copy & Sync.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
have you tried to use Issue Templates? There is option to create subtask on create and on selected trasition:
https://intenso.atlassian.net/wiki/display/IT/Create+template's+subtask
I hope I've helped you.
Best Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
How to create multiple issues - advanced example shows an example that will create multiple issues dependent on the selections for a multiple selection field including support to prevent duplicate issue creation. This uses the Create Issue post function from Create on Transition for JIRA.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Bob,
In the Create Subtask post function the option "Entry parent" is by default %parent_key%, I have two post functions to create a couple subtasks using the Create multiple issues" option but in two different parents.
My question is, can I use a different variable in the "Entry parent" field to indicate the parent where the subtasks will be created in each postfunction?
Please let me know if this make sense for you, your help will be very appreciated.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes, you can specify a specific issue key or any variable that represents an issue key that is valid to be the parent of the subtask. For instance, it could be the result variable from a JQL query.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Bob,
This is not currently available for JIRA cloud, do you plan on making it available for us cloud users?
Thank you,
Judy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Atlassian Government Cloud has achieved FedRAMP Authorization at the Moderate level! Join our webinar to learn how you can accelerate mission success and move work forward faster in cloud, all while ensuring your critical data is secure.
Register Now
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.