Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Post Function Issue for Clone Issues

Kumar
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.
December 12, 2018

Hi Team,

I have a work flow in that from one status to another status i gave a post function to create subtask.

A -----> B 

Frm A status to B status I have transition name called "move to B" for that transition I gave a post-function to create sub-task automatic  in status B

its creating every thing is fine

Now from B---> Close---->Close

After B status I'm closing the Issue and in Close -----> Close the transition name called "Clone this Issue" so if i want to clone main ticket that's the reason i gave post function and its working every thing is ok

 

Now ,  I closed my parent issue and I cloned my parent issue with same issue type of parent issue.

Here for my work flow i gave a post-function that sub-task has to create in the "B" status in that its not creating a Subtask in Cloned Issue

Can any one tell me why its not creating if I want to create sub-task for clone issue automatic how i can do that 

Can you please tell me how to do this.

 

Thansk,

Kumar

1 answer

0 votes
Scott Theus
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.
December 12, 2018
Kumar
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.
December 12, 2018

Hi @Scott Theus  Thanks for your response 

Here I have not used any particular script I just used the options that available in postfunction "script-runner" 

 By choosing the options in that it is working. the only thing in the Cloned issue only the problem the auto create sub-task is not creating in cloned issue.

Thanks,

Kumar

Suggest an answer

Log in or Sign up to answer