Dear Atlassian Community,
I’ve been trying to enable UI Support for my Content Property, so that I could provide suggested results for the Users when they use my custom filters in the Page Property Report Macro. With the Documentation I managed to enable UI Support with hardcoded suggested values (static response).
When trying to make a request to retrieve the values I actually want to show I encounter authentication errors, since the request is from the users browser, there is no authentication data (no jwt).
fetch("https://d5ed73e1d747.ngrok.io/searchResult/getResults?query=&searchContext=%7B%22spaceKey%22%3A%22FIRST%22%2C%22contentId%22%3A%22196609%22%7D&_=1627995752975", {
"headers": {
"accept": "application/json, text/javascript, */*; q=0.01",
"accept-language": "en,de-DE;q=0.9,de;q=0.8,en-US;q=0.7",
"sec-ch-ua": "\"Chromium\";v=\"92\", \" Not A;Brand\";v=\"99\", \"Google Chrome\";v=\"92\"",
"sec-ch-ua-mobile": "?0",
"sec-fetch-dest": "empty",
"sec-fetch-mode": "cors",
"sec-fetch-site": "cross-site"
},
"referrer": "https://cloud-dev-ald.atlassian.net/",
"referrerPolicy": "origin",
"body": null,
"method": "GET",
"mode": "cors",
"credentials": "omit"
});
How should I proceed to access the Confluence Page Content if I have no authentication data?
I’d like to use atlassian-connect-express for this matter.
Thank you very much for your time.
Aldin