I try to create a sub-task using a workflow button. For this purpose I installed the plugin "Create on Transition Plugin". This plugin indeed allows me to create a subtask by pressing a buton but I have not yet figured out how to set the summary + description for the created subtask.
I do not want to copy the values from the parant issues, the values should be captured by the transition screen.
e.g. when button "create subtask" is pressed, screen "subtask details" is displayed, which displays two custom text fields "subtask summary" and "subtask description". I fail to copy the values of these fields to the target subtask.
Note: values specified in the transition field should not be added to the parent issue, only to the subtask.
Could someone offer assistance?
I think this should be no problem; however, I don't know which versions of JIRA and the plugin you are using or if that even matters so I can't say for sure.
I think what you could do is create the transition screen exactly how you want. That transition would update 2 temp hidden fields to the original Summary and Description field. Create the sub task, then copy the temp hidden fields back to their original fields.
I tried something similar but did not succeed yet.
I successfully copied two Custom fields to the subtaks and cleared the values afterwards so they would not show in the Parent task. Now i still need to figure out how to copy the values to the subtask`s summary and description fields in the same transition, will report here if I succeeded
edit: I added two copy steps to the create event of the subtask workflow and afterwards cleared the temp fields so they would not be displayed. Thanks for the help!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If I'm understaning you correctly then you just need to do some post function calls on the issue create transion of the sub-task itself.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Corect, that is what worked for me
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.