[2016-09-23] Released Jira Workflow Toolbox 2.2.20

New Features

FUNCTION RETURNED VALUE
rolesUserPlays(string userName) : string list Returns the list of role names of those project roles the user with name userName plays in current project. Parameter userName can also be a comma separated list of user names, group names and project roles names, returning the list of project roles for those users represented by input argument.
rolesUserPlays(string userName, string projectKey) : string list Returns the list of role names of those project roles the user with name userName plays in project with key projectKey. Parameter userName can also be a comma separated list of user names, group names and project roles names, returning the list of project roles for those users represented by input argument.
groupsUserBelongsTo(string userName) : string list Returns the list of group names of those groups the user with name userName belongs to. Parameter userName can also be a comma separated list of user names, group names and project roles names, returning the list of project roles for those users represented by input argument.


Field name Type Value returned when cast to string Examples
Recent attachments Attachments Comma separated list of file names of all files attached to current issue in the last minute (60 seconds). file1.txt, readme.pdf, screenshot.png

NOTE: This is an alternative to Transition's comments, which doesn't work for files attached in a transition triggered from JSD Portal.
Recent attachments with details Text string Comma separated list of file names with its mime types and sizes in Kbytes, for every file attached to current issue in the last minute (60 seconds). file1.txt (text/plain, 5.14 KB), readme.pdf (application/pdf, 179.8 KB), screenshot.png (image/png, 5.449 KB)

NOTE: This is an alternative to Transition's comments with details, which doesn't work for files attached in a transition triggered from JSD Portal.

Bug Fixes