- Download the plugin Kepler Custom Fields
- Create a SIL Script Custom Field
- In the custom field configuration set a new script like this:
- number [] comments = getAllCommentIds(key); string txt =""; for(number x in comments) { string[] cmt= getCommentById(x); if(contains(cmt["text"], "important") ){ txt= "Updated " + cmt["updated"] + " by " + cmt["author"] + " : " + cmt["text"]; } //txt = txt + cmt["text"]; } return txt;
- Insert the custom field in the dashboard
- That’s all!