The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

Parent to Subtask Commenting? Subtask to Parent and Siblings commenting?

Darly Senecal-Baptiste
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 Champions.
February 10, 2013

Since the Subktask to Parent commenting action was performed by using groovy script; is there a way to perform a commenting from parent to subtask?

If it is possible, how can we perform in case that we want to comment from a sutask to its parent and siblings?

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Renjith Pillai
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 Champions.
February 10, 2013

Not very sure what the question is. If you have done the commenting using Groovy script, why not do the reverse also the same way? Or are you looking for the code to do it?

Darly Senecal-Baptiste
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 Champions.
February 11, 2013

I performed the commeting broadcast from just from subtask to parent by using groovy script. I just need to know how can I do from parent to subtask. The problem that I have under this action, it will create an infinite loop on commenting on both issue tickets (Imagine doing a comment broacast from a subtask to its parent and sibling). If there is a code avilable for that subject, totally welcome

JamieA
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 Champions.
February 11, 2013

You could use Henning's code, but just modify it to check if a comment with the same text already exists in the collection of comments for an issue.