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:
I haven't done it myself but I have used the REST APIs to do a lot of that:
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?
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?
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 )