fetch raw JSON object from JIRA to confluence using basic authentication

Javaad Akhtar June 20, 2018

So i am able to see a raw JSON object using rest api in JIRA. Like let say if i have an issue and it's url is "jira.atlassian.com/browse/project-issue-name", we  can get the raw json object by using this url "jira.atlassian.com/rest/api/latest/issue/project-issue-name". Now the issue is i want that raw JSON object in confluence but i am not able too. And i need basic authentication to access that raw object. But i have tried so many ways (tried using Javascript, Jquery, PHP, native confluence groovy) and i am not been able to fetch the raw data. I even tried making my own macro but i end up with same issue, unable to fetch the raw JSON object from that url.  how can i get that raw JSON object from JIRA to confleunce?

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events