Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Collect all Summaries from JQL request by Groovy

Harry
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
December 29, 2022

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?

1 answer

2 votes
Jaime S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 10, 2015

Hi, Luis.

If you mean the system language, you can do that as described here:

https://confluence.atlassian.com/cloud/set-the-default-language-744721610.html

You can also set your language in your profile:

https://confluence.atlassian.com/display/JIRACLOUD/Managing+your+User+Profile

However, not all languages are available in Cloud. Check here for information:

https://confluence.atlassian.com/cloud/languages-744721667.html

I hope it was helpful.

Kind regards,
Jaime Kirch da Silveira
Atlassian Cloud Support

Suggest an answer

Log in or Sign up to answer