Hello Community,
I'm currently building an automation workflow that creates a questionnaire in Confluence whenever a new issue is created in Jira. The specific questionnaire is determined based on the Jira issue properties.
Now, I'm facing the challenge of linking the created Confluence page to the corresponding Jira issue. I couldn't find a straightforward solution in the standard Jira automation library to achieve this.
I came across this API endpoint:
https://[site].atlassian.net/rest/confluenceIssueLink/1/confluence?issueId={{issue.id}}&pageUrl={{createdPage.url}}
However, authentication is required, and I'm unsure whether an access token can be used for this request.
What is the recommended approach to automate this linking process? Is there a best practice for handling authentication in this case?
Thanks in advance for your insights!