I have a workflow and when the user selects a transition in the workflow it fires a Script workflow function to create a sub task it works however what I would like is either for it to open it so the user can enter information in it as a pop up or just open it so the user can enter the information.
Also can you create a subtask of a subtask? Example in my work flow they click next step it creates the sub task then you go into the sub task and if you select next step in the sub task it then creates another sub task?
The script engine runs in the server and does not readily communicate with the users browser making it more complex to have windows/pop-ups open. However, if the information is already captured in the main issue you could populate this directly in the sub-task.
Similarly you are restricted to a single level of sub-task but can link these together.
I would like is either for it to open it so the user can enter information in it as a pop up or just open it so the user can enter the information.
As Nic and Phill pointed out above, you cannot. If you really really need something like this, a dirty workaround I can suggest is to create a Global Transition (or just a normal one if you wish) named something like "Create Sub Task" and put a Workflow Transition Screen that has the fields you need. You may opt to hide this fields or create a separate tab for it in the Parent issue (you may also delete this information afterwards so it will not clutter the parent issue). In this transition, create a post-function that can capture all these information and create a Sub-Task for you.
Also can you create a subtask of a subtask?
Nope. If you need a feature like this (on which Atlassian JIRA does not support and I strongly agree) maybe you need to revisit your requirement and do it in some other way.
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
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot