Screen: "Create Sub-task" on transition.

RNV February 20, 2018

Hello,

I need to create a transition that creates a subtask, I got it with ScriptRunner, but I need the creation screen to appear because I have to give values ​​to several custom fields, these fields have different values ​​than the parent ticket.

 

Thks

2 answers

1 accepted

3 votes
Answer accepted
Alexey Matveev
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 21, 2018

You can use Java script to open the create dialog and pass parameters to the dialog:

https://developer.atlassian.com/cloud/jira/platform/jsapi/jira/

Or you can add cusotm fields, put them on a screen and attach this screen to a transition. On transition you can fill the fields with behaviours and write a post function to create a subtask with values from the field.

RNV February 21, 2018

Thanks! @Alexey Matveev

0 votes
Fabrizio Galletti
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 21, 2018

Alexey already gave you the solution, remeber that there are already other existing plugin if you need, like 

https://marketplace.atlassian.com/plugins/org.swift.jira.cot/server/overview

very usefull and ready out of the box

Suggest an answer

Log in or Sign up to answer