How to add all tickets to a Confluence page for every created version/release

Ashok Chotai June 11, 2024

Whenever a new fix version/release is created in Jira, I would like to add tickets tagged with this version on a Confluence page. This page should keep appending sections for every release such as this example:

 

Confluence Automation.png

Can someone share an example on how this can be done?

Thanks

1 answer

0 votes
Rick Westbrock
Contributor
June 17, 2024

The only thing I can think of would be to use an automation rule with the "When: Version created" trigger and a web request action that calls the Confluence Update page API to set the body of the page. I haven't used that Confluence API myself but recall from assisting someone else a couple of years ago that you have to pass the entire page body so you might have to do the following:

1. Fetch the current page body using a web request action capturing the body into a smart value

2. Append the code for the Jira macro of the newly created version to that smart value

3. Call the Confluence update page API to set the page body to the smart value

Ashok Chotai July 2, 2024

Hello Rick - Thanks for the suggestion. But this effort is beyond my expertise as a Scrum Master. 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events