But what I actually want is the Jira site base URL, for example:
https://my-site.atlassian.net
so that I can create user-facing links (like filter links or issue links).
Is there a recommended way to get the Jira base URL inside a Forge Rovo agent action?
Should I be using context.siteUrl from the payload, or is there another approach?
Yes I am doing this : const res = await api.asUser().requestJira(route`/rest/api/3/search?jql=assignee=currentUser() ORDER BY created DESC&maxResults=20`,
{ headers: { Accept: ‘application/json’ } } but not getting the correct url in self , I am getting : expand: ‘description,owner,jql,viewUrl,searchUrl,favourite,favouritedCount,sharePermissions,editPermissions,isWritable,approximateLastUsed,subscriptions’,
self: ‘https://api.atlassian.com/ex/jira/ec2761e9-b0d4-41a2-968c-b6f2586ab425/rest/api/3/filter/10066’,
id: ‘10066’,
name: ‘test2’
} but my instance is different from this .