How can I retrieve a list of versions from a project in JIRA to display in confluence?

I want to produce a Confluence page that has a list of Versions for a particular project.  When a new version is added, it should reflect immediately in Confluence.  Further, I'd like to link this output in Confluence to a JIRA report page for each Version that shows a summary, the release date and list of issues in this version.

Is this possible?  Can the page creation be automated?

2 answers

Thanks Ed – From my experience so far, the JQL result set is always a list of issues.  What I want to return is a list of the Versions themselves, not a list of issues in each version.  

pseudo-query:

select Name, Description, StartDate, ReleaseDate from versions_table where project = "myProject"

 

I know that the API can now return this data, but I'm wondering if there is a way to access this data (assuming the Application link has been established) – directly from Confluence without needing to write a macro/plugin.

Christopher -

 

Not sure on the page automation - perhaps doable with command line and scripting plugins.  But if you have JIRA and Confluence linked via the Applications links, you can use JQL on the Confluence side to query JIRA for the information you want (i.e. the Versions) and have it displayed on the confluence page.

You can also use JQL to filter the JIRA information for the report you want.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Friday in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

247 views 11 9
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