Related to these:
https://support.atlassian.com/jira-service-management-cloud/docs/add-links-to-external-resources-in-your-portal/
A bit of background- I am creating a themed and toned down version of service desk for my organization. In-part of doing so, I must replicate the links and resources available through the Jira service desk UI onto my themed version of service desk.
There is a section in the service desk called "Related Resources" which contains links to external resources on the web. The resources are populated in the Jira Service Desk UI by the internal endpoint:
https://{company-subdomain}.atlassian.net/gateway/api/jira/help-sandook/cloudid/{cloudid}/api/v1/external-links/project/{projectId}
I cannot find a documented method for accessing this same data. I wouldn't mind using the above endpoint but it seems to require a cookie based jwt token (tenant.session.token) which I am not sure how to acquire- I am using basic auth for all the external facing servicedesk endpoints.
How can I retrieve the external links for my service desk via rest api?
Unfortunately, it’s not possible to refresh this token directly within the code, so the best option for now is to use the internal API in the browser.
Hi Shlomo,
Thanks for your question on community.
We don’t have any public APIs available for external resources. You’ll need to use the existing internal endpoint that you’ve linked. That said, you can obtain the tenant.session.token
from the Network tab under the Application section. Is that what you were looking for?
Regards,
Anusha A
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Anusha,
Not exactly, I need a way to programmatically acquire the tenant.session.token since this token expires. The token must live within my application and im guessing it will need to be refreshed periodically.
Is there a way I can programmatically acquire the tenant.session.token?
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.