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.
This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.Read more
Hi Community! My name is Amir and I’m on the Jira Service Desk product marketing team at Atlassian. Our team would love to understand how you’re leveraging our ecosystem for Jira Service Desk. Wha...
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