Hi there,
I need to collect all summaries of Epic's issues in one comment and do it by JMWE Event-based actions.
I created Event-based action "comment related issue".
I can find all issues with type Task or Story and Component "BA" in Epic by:
jqlSearch("project = ${issue.get("project")?.key} and component = BA and issueFunction in issuesInEpics('key=${issue.get('customfield_10008')}') and type in (Task, Story)", 20)where
project = ${issue.get("project")?.key} is getting current project of current issue;
customfield_10008 is 'Epic Link' field and
issueFunction in issuesInEpics('key=${issue.get('customfield_10008')}') is query for all issues where Epic Link is the same as in triggered issue.
I get:
Result type:
Collections$UnmodifiableRandomAccessList
Result value:
[DocumentIssueImpl[issueKey=PROJ-362], DocumentIssueImpl[issueKey=PROJ-360], DocumentIssueImpl[issueKey=PROJ-359]]
But how can I collect all summaries from this 3 issues and put it into one comment?