Hi,
Pls help out to me.
Jira has to create 10 sub tasks when story issuetype created.
We one workflow and 10 issutypes.
But I want to create 10 subtasks under story automatically.
Hi,
are you using Adaptivist ScriptRunner?
If yes, you can add a post function which automatically creates sub-tasks.
In order to do that, you have to be an admin. Go to Project Settings > Workflows > click on the workflow > Edit > choose the Create transition > Post Functions > Add post functions > Script Post-Function [ScriptRunner] > Create a sub-task > you can add issue.issueType.name == 'Story' > and then add fill out the rest of the options you need.
If you need to create 10 sub-tasks at once, you can add 10 Post Functions like this.
I have 10 issuetypes out of this 4 issuetypes has to create 10 subtasks when user creates tickets by one of the 4 issuetypes.
Than I have to write 40 times its heavy load to workflow.
Instead of this if u share any script that will be easy and I can config to multiple projects.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I personally don't have a script for that.
Here is a topic with a similar script:
This works if you just need to create multiply sub-tasks with the same information, but if you have to create them with different information, you will have to customize them manually with the built-in feature.
If you have to do it manually as I described earlier, I'd recommend to do it once in the beginning, even if it takes long, then copy that workflow to different projects, and make small adjustments, if needed.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.