Hi,
To link a Jira project's Pages feature to a related Confluence space using REST API, follow these steps:
Create a Confluence Space: Use the Confluence API to create a new space. This will be the space you want to link to your Jira project.
Retrieve the Jira Project Key: Ensure you have the Jira project key. You can obtain this via the Jira REST API.
Link the Space to the Project: Use the relevant APIs to link the Confluence space to the Jira project's Pages feature.
By automating these steps, you can efficiently manage new clients or projects. If you need more detailed instructions or sample code, feel free to ask!
just intercept the request with chrome developer tools.
you need a POST to https://vidiemme.atlassian.net/gateway/api/graphql with a payload similar to this
{"query":"\n mutation createConfluenceRelationship($fromAri: ID!, $toAri: ID!) {\n devOps {\n ariGraph {\n createRelationships(\n input: {relationships: {type: \"project-documentation-entity\", from: $fromAri, to: $toAri}}\n ) {\n success\n errors {\n message\n }\n }\n }\n }\n }\n","variables":{"fromAri":"ari:cloud:jira:cbc1f876-8a97-45a5-b760-4c89e306bcd3:project/[projectID]","toAri":"ari:cloud:confluence:cbc1f876-8a97-45a5-b760-4c89e306bcd3:space/[spaceID]"}}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
+1
This request mirrors this one, other than it references Jira Service Management instead of Jira Software. Liking and following both in the hope that they create an API endpoint that will serve the need.
https://community.atlassian.com/t5/Jira-Service-Management/Link-a-confluence-space-to-a-jira-project-using-API/qaq-p/2253983#U2330010
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You need to have the Confluence application on the same instance as well as permission on the Confluence to link to it from the Project pages.
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.