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!
Hey @Fabian_Fischer3
Welcome to the community!
You are on the right track to do this. You will need to use an API call to link the created page to the Jira issue that triggered the automation.
This article will walk you through it:
It also includes a link within the article regarding how to authenticate, which includes the usage of an API token
Hello @Laura Humphries
thanks for your answer. I was abel to get it running with you information.
Thank you very much!
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.