• 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 Sign up to answer
Community showcase
Posted Sep 18, 2018 in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

23,861 views 2 7
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