How can I interate through issue comments in a SIL calculated field?

Tobias Rapp May 21, 2013

I would like to create a calculated field using Kepler Custom Fields plug-in and SIL. The field value should reflect if the issue contains some specific formatted comment message. Unfortunately I cannot find out how to iterate through all comments of an issue and perform string-matching against them.

Is there a way to loop though all issue comments in SIL?

1 answer

1 accepted

1 vote
Answer accepted
Florin Manaila
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.
May 21, 2013

Hi Tobias,

At the moment there is no routine to retrieve all the comments.

You could either write one yourself following this guide: http://confluence.kepler-rominfo.com/display/SIL/Creating+A+New+SIL+Routine

.. or you could request an improvement on http://bugs.kepler-rominfo.com

Tobias Rapp May 22, 2013

Have written two support routines using the SIL guide: getCommentCount(key) and getComment(key, index).

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events