Forums

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

Copy a comment to a related task

David Gonzalez Blanco February 22, 2023

I have a condition under which, when choosing a rejecting resolution, a comment becomes mandatory. I want to write a script that will copy this comment into a related task. Link "split to". Listener Scriptrunner.

1 answer

0 votes
Tessa Tuteleers
Community Champion
February 22, 2023

Hi @David Gonzalez Blanco , 

Scriptrunner actually has a "comment linked issues" postfunction available, so n listeners needed. 

The variable to get the comment you added in transition is: 

<% out << transientVars.get("comment") %>

Hope this helps!  

- Tessa

Suggest an answer

Log in or Sign up to answer