I am trying to create issues with subtasks using "Create on transition" using postfunctions as part of the issue creation in Workflows. The challenges is that I can easily create a number of subtasks, which will be subtasks to the issue I am in proces of creating. Then I can create a linked issue which also works. Now I would like to add subtasks to the linked issue, still in the same postfunction. I have tried experimenting using "Original Issue" and "Parent Issue" under "Entry Parent" but Subtasks are being created under the issue that I am in process of creating. Any ideas?
Currently, we do not have an option to automatically create sub-task for the issues which are created through Create on Transition when using the same workflow. The only option currently available is to have different workflows for the main issues which you are creating and using multiple post functions on the create issue transition of the main issues so that you can create sub-task under them.
Also if you want different content for each sub-task, then you need to have conditional based sub-task creation and have multiple post-functions on the main issue’s create transition which gets triggered from other issues transition through our app.
Please let us know if you have any other questions on this.
Thanks,
Reshma
Hi Reshma
Thanks you very much for your assistance, I have now managed to make this work
Much appreaciated
Regards
Thomas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Thomas Ransby ,
We have raised a support request SUPPORT-4308 in our portal for this issue. Kindly sign up for our portal and let us know your user name so we could add you to the ticket as a reporter.
We assume that you want to create a subtask in your target project(say POST) when a transition happens in the source project (say TES). Please add the below-given post functions.
Add a "Create Issue" post function on "To do" transition on TES project.
On the create issue transition of the POST project workflow, add a "create sub-task" post function on as given below.
With the above, When "To Do" transition happens on an issue in TES project, a TASK gets created in POST project along with a subtask that gets linked to the newly created issue i.e. TASK.
Please note that the above works when you have different projects with different workflows.
Please let us know if you have any questions.
Thanks,
Reshma
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Reshma
Thanks for the suggestion, I follow your explanation. In my case I need to raise multiple linked issues on the same project = same workflow. I would like to create maybe 4 different main issues and they have each 3-4 individual subtasks. All the subtasks are different in content. If I build that into the workflow create state I guess I will have to make some condition so I ensure that the different main issues gets the right subtasks?
Would there be an easier solution?
Regards
Thomas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
When you create the linked issue, you'll then need to re-locate it and use that as the parent issue when generating the subtasks. Original and parent issue are not going to be referring to the newly created linked issue.
However, you might find it easier to just put a set of sub-task creations into the workflow on the linked issues when they are created.
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.