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.
I have multiple projects that use variations of the same base workflow. The variations depend on the requirements of the project or issue type. The variations mostly come in the form of new statuses ...
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