• 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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Thursday in Jira

Mission-critical battery manufacturer fulfills FAA software requirements with Commit Policy Plugin

EaglePicher Technologies is a leading manufacturer of battery systems for diverse industries like defense, aviation, space or medical. As they operate in highly regulated industries, keeping a clear ...

184 views 0 2
Read article

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