[JIRA Create on Transition Plugin] How to set summary + description during transition?

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?

2 answers

1 accepted

Accepted Answer
0 votes

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!

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.

Corect, that is what worked for me

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Sep 25, 2018 in Jira

Atlassian Research Workshop opportunity on Sep. 28th in Austin, TX

We're looking for participants for a workshop at Atlassian! We need Jira admins who have interesting custom workflows, issue views, or boards. Think you have a story to sha...

463 views 7 5
Join discussion

Atlassian User Groups

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!

Find my local user group

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

Groups near you