Unable to Link newly created confluence Page with Jira Issue (REST API)

Deepak Rai
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 10, 2025

 

 

I am trying to create an automation that involves both Jira and Confluence. I was able to successfully create a SPACE, a Page, and JWM projects. However, I encountered an issue when attempting to map the newly created Confluence page. Despite creating the space and page and calling them via a Postman request, I was unable to view the automatically created space and page. Could you kindly suggest a solution? what is the correct way of mapping the newly created page with Jira issue and what could be reason of newly created space and pages are not visible in rest api GET call.

 

Some snaps are:Space creation.JPGPage.JPG

 

1 answer

1 vote
Sahir Maharaj
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 10, 2025

Hello @Deepak Rai

Here’s what I would do to troubleshoot and resolve this:

Make sure the user or API token you’re using to authenticate has the necessary permissions to view the Confluence spaces and pages. Sometimes newly created resources aren’t visible because the API credentials don’t have the proper access.

There might be a delay in the indexing of newly created spaces and pages in Confluence. To test this, try introducing a short delay (e.g., 5-10 seconds) between creating the page and making the GET API call to retrieve it.

Hope this helps!

Deepak Rai
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 10, 2025

@Sahir Maharaj 

Thank you for your response. Currently, I am the admin of my instance, and as you can see in the screenshot, I have already added some delays.

The Spaces and Pages I created in the last 24 hours are not appearing in the API calls.

Like # people like this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
TAGS
AUG Leaders

Atlassian Community Events