The rest api GET http://{myConfluenceServer}/rest/jira-metadata/1.0/metadata

Ronaldo Huang January 23, 2021

I have 8 jira issues related to confluence page.

When I call the rest api http://{myConfluenceServer}/rest/jira-metadata/1.0/metadata?pageId=72241965, the response is :

{
"count": 8,
"groups": [
{
"type": "VERSIONS",
"items": [],
"links": []
},
{
"type": "SPRINTS",
"items": [],
"links": []
},
{
"type": "EPICS",
"items": [],
"links": []
},
{
"type": "ISSUES",
"items": [
{
"name": "PXXX",
"description": "xxx",
"url": "http://jira.home/browse/PL1254-148",
"status": 
}
.......
}
}
],
"links": [
{
"numItems": 3,
"url": "http://myServer/issues/?jql=issue+in+%28issuesWithRemoteLinksByGlobalId%28%27appId%3D0ad1ed49-9682-3fee-88d9-37d6c3fe4df3%26pageId%3D72241965%27%29%2CissuesWithRemoteLinksByGlobalId%28%27appId%3D37052069-942e-38fe-88e7-7b4826981335%26pageId%3D72241965%27%29%29+and+issuetype%21%3D10000",
"appName": "jira.work JIRA"
}
]
}
],
"unauthorisedAppLinks": [],
"errors": []
}

 

How can I get the 3 more jira issue keys?

1 answer

0 votes
Gonchik Tsymzhitov
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 23, 2021

image.png

 

 

Did you try to get via aggregate method end point?image.png

 

https://jira.atlassian.com/browse/CONFSERVER-32265

Ronaldo Huang January 23, 2021

@Gonchik Tsymzhitov

Thank you for your reply. I have found that I can get more jira issue keys from the jql in the link in the respone of 

GET http://{myConfluenceServer}/rest/jira-metadata/1.0/metadata.

Suggest an answer

Log in or Sign up to answer