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
Community moderators have prevented the ability to post new answers.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.