Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Modify users comment by SIL script in post-function

Dmitriy Stinskiy March 6, 2015

Hi,

Does anybody know how to get access to Comment inpup field from SIL script? I'm able to access issue fields like 'summary', 'description', but could not get value of comment which user when make an action on issue.

 

Dmitriy

 

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

1 vote
Answer accepted
Jonathan Muse
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.
March 11, 2015

You can create a listener for the Issue Commented event. In the SIL script for the listener you can do something like this:

string [] commentParams = getLastComment(key);
string [] caller = commentParams[2];
string comment = commentParams[1];
string commID = commentParams[0];

The key gets passed to the listener automatically.

This script gives you the comment id, the person who made the comment and the comment text itself.

See this article for more info:

https://confluence.kepler-rominfo.com/display/SIL/getLastComment

TAGS
AUG Leaders

Atlassian Community Events