How to create Confluence pages from Jira issues in one click

System administration

Appfire products

Software development and DevOps

how-to-create-confluence-pages-from-jira-issues
Dan Tombs

Dan Tombs

Feb 21, 2022

Greetings, Fellow Atlassian Enthusiasts! I think I have something that provided a lot of value to us, and I’d like to share it with the community so that other people can create documentation from inside of Jira a Snap.

Over the past year, I got into Groovy scripting with Jira Misc Workflow Extensions (JMWE). This app has genuinely cranked our Jira workflow automation to the max. I keep finding more and more use cases for it in our company.

I am most proud of this particular use case of JMWE:

We are giving our users the ability to build Confluence pages for customer issues automatically, right from Jira.

It is often hard to get users to leave Jira to create a Confluence page on an issue. To simplify the process and ensure accuracy, we wanted to add a button right in Jira that would give users a way to automatically generate a new Confluence page with all necessary issue data, and of course, link it back to that issue itself.

Here, I share the execution steps and the Groovy script we use. While the code might seem a bit complicated, I hope that people with some understanding of programming can make use of it.

Try JMWE free
Dan Tombs

Dan Tombs

Dan Tombs is a Solution Architect at Appfire with hands-on experience across the Atlassian ecosystem since 2016. He’s worked with end customers, solution partners, and now helps teams thrive by shaping tools and processes around how they actually work and not the other way around. Dan champions automation as a path to scaling productivity, reducing context switching, and unlocking what teams do best.