Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 19:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.
×Using Python, I want to either create a new Confluence page, or clone an existing "template" page. Then, I want to get a Jira issue, take some information from it, and then pass that information into the Confluence page. Any tips?
Hey @Alexis Evans
Not sure if this may be suitable but you could also do it from Jira via an Automation rule. I remember saving a post on it:
Automating the creation of a Confluence page linked to Jira
I haven't done it myself but I have used the REST APIs to do a lot of that:
Thanks for the links! I was wondering about the APIs, but also whether the Automation rules would cover the functionality I need. That would minimize the code needed, and probably be a more straightforward path.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello @Alexis Evans
Have you reviewed the functionality available through the APIs for each product?
Are you trying to work with the REST API for each product, or with the atlassian-python-api PyPI package?
Do you want the Jira information on the Confluence page to be static, or do you want a live link to the Jira issue?
Are you using Cloud product or on-prem/self-hosted products?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I have looked a little bit into the atlassian-python-api, not so much into the product-specific ones, but good to know they exist! I think having the Jira information on the Confluence page update live as the issue is updated might be nice. Do you know whether the APIs would have any functionality that just using Jira Automation rules wouldn't provide?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I have not worked through trying to automatically create a Confuence page through Jira Automation or the APIs.
I did just find this article that talks about creating a page through Jira Automation and adding content to it to display a single Jira issue. Perhaps that will be useful to you.
(credit to @Esther Strom )
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.