I am quite a beginner with JIRA and have been experimenting with JQL and some plugins. I need to show only comments for a JIRA issue and show it on a Confluence page. What I thought was there could be some JQL way of doing this. If it's possible with JQL, I can insert a JIRA item in the confluence page and provide the JQL which only fetches the comments for a particular JIRA ticket.
JQL is for finding issues, not returning the information on those issues. If you're trying to compare it with SQL, then the best way to think of JQL is that "it is only the where clause". There's no "select what", it's just "where" and your report or display is reponsible for selecting what to display.
To fetch only comments, you're going to need a bit of code - you need to write a macro like the JIRA issues macro that can accept JQL, ping JIRA with it and then render only the comments from the result list.
If you spend enough time as a Jira admin - whether you are managing a single, mid-sized instance, a large enterprise one or juggling multiple instances at once - you will eventually find yourself in ...
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!
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
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot