I would like that each new feature issue that is created will have already a set of predefined subtasks
Can you please advise if this is possible?
There's a "create subtask" pre-built script for workflow transitions; to create a subtask at create time, I'd imagine you'd use those (one per subtask) on the "Create" transition, which is available on the workflow editor if using graphical mode. However, if "new feature" is a single issue type of many available in the project, you'd either have to script it yourself and restrict on issue type within the script, or else separate out the workflows such that you have one workflow for "new feature" and one workflow for everything else. If it wasn't "Create Issue", you could add a condition and split them within the workflow, but there are no conditions on "Create Issue".
Separating the workflows (you assign the different workflows to different issue types in the project's workflow scheme) will mean changing issue types will require the "move issue" privilege, and you'll have to go through the move wizard to make sure JIRA knows how to transition between them properly. It's a little clunky, hence scripting it as an inline script is the cleaner approach.
Yes. Use Create on Transition for JIRA and the Create Subtask post function on the create issue transition conditioned by issue type being a New feature or whatever other conditions you want. References:
Helo @Jeremy Gaudet @Bob Swift [Bob Swift Atlassian Add-ons]
Thank you very much for your reply,
I have tried to implement your suggestion by following the steps:
-Create Functional Design -Create Test Case
How ever when i create new issue with that workflow - no new sub tasks are created,
Can you please advise?
The only thing that comes to mind is that the sub-task type needs to be part of the project's Issue Type Scheme. Are you able to create those subtasks manually with the same data? Beyond that, you could ask for access to the system logs, as JIRA should be logging any exceptions that are being thrown as a result. I don't think required fields are relevant here as those are specific to the input form, but it's possible; you could try giving those (sub)issue types a separate workflow in the workflow scheme such that they have a form with no required fields, but that's mostly a shot in the dark.
Also, if you have specified a condition, you could try removing it to see if the 'basic' create works; if it does, then presumably your condition is not well formed and so is failing to evaluate to 'true'.
I’m a designer on the Jira team. For a long time, I’ve fielded questions from other designers about how they should be using Jira Software with their design team. I’ve also heard feedback from other ...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs