Forums

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

Can we get the Epic structure report using the JWT JQL functions

Divya Avadhanam May 27, 2019

Can we get the report Epic structure with its linked issues and child sub-tasks in an order and some calculated reports using the Jira Workflow Toolbox - JQL functions

2 answers

0 votes
Divya Avadhanam May 28, 2019

Can we use these expressions/ functions when search for issues through JQL Queries?

Fidel Castro
Contributor
May 28, 2019

Here I'm using functions provided by JWT for issue selection. You have more examples here:  Issue Selection Examples

This is an alternative method of issue selection to JQL, but you can also combine both (JQL and JWT Parser) within JWT.

You have a full explanation of JWT Parser here: JWT Parser

0 votes
Fidel Castro
Contributor
May 28, 2019

Hi @Divya Avadhanam

Yes, you can write a report using post-function "Copy a parsed text to a field" to write text including information about epic, linked issues, and subtasks.

Example:

report-example.png

The expression used in the example is:

"Epic: " + toString(epic()) +
"\nLinked Issues: " + toString(linkedIssues()) +
"\nSubtasks: " + toString(subtasks())

This is a very simple example.

Please, tell me which issue is going to execute the post-function (epic, story, other issue linked to the epic, epic's subtask, stories subtask, etc) and which information do you want to include in the report. I can give you an approximate example you can use to begin working on.

Divya Avadhanam May 28, 2019

Epic Page.PNGWF Post Func.PNGWF Transition page.PNG

 

Hi Castro,

Thanks for your response.

I have created a Epic and its has 2 linked issues(of type Task). One of the linked issues Task is having Subtask. I want to retrieve this in order. I used the above But I am not able to find it in Description of Epic Issue type page.

Fidel Castro
Contributor
May 28, 2019

Hi @Divya Avadhanam

You can use the following expression:

"Epic: " + toString(epic()) +
"\nEpic's Subtasks: " + toString(subtasks()) +
"\nLinked Issues: " + toString(linkedIssues()) +
"\nLinked Issues' Subtasks: " + toString(subtasks(linkedIssues()))

I'm assuming that the issue that it's executing the post-function is Epic issue.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events