• Community
  • Products
  • Jira
  • Questions
  • Is there a way to perform a Jira Query that would output the Epic Name, Owner, and latest comments entry for all the Epics in a jira board.

Is there a way to perform a Jira Query that would output the Epic Name, Owner, and latest comments entry for all the Epics in a jira board.

I wanted to find out if there is a way to perform a JIRA query such that these results are displayed for all the Epics in a project and have it displayed in Confluence.

Epic Name     Assignee    LastUpdated Comment Entry   Due Date

 

Thanks

J

2 answers

Most of this is simple enough, and info on how to make queries is readily available in the documentation.

https://confluence.atlassian.com/display/JIRA063/Searching+for+Issues

 

The only complicated part of this query is the latest comment. All other fields are easy. 

To display the latest comment, I know a method where you will need to script a SIL custom field, using the Kepler Custom Fields plugin.

 

Here's the doc:

https://confluence.kepler-rominfo.com/display/KCF/SIL+Script+Custom+Field

 

The script I use is this:

string[] lastCommentDetails = getLastComment(key);

if(!isNull(lastCommentDetails)){
    return lastCommentDetails["text"];
}
return "";

As for displaying that in Confluence, use the JIRA Query macro to display the filter you've saved.

 

Thanks for your comment.  I will speak with the company JIRA admins to see if the plugin can be installed. 

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,221 views 14 19
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot