Hi,
I want to display the avatar of a project (standard avatar provided by Atlassian).
avatar={project.avatarUrls['48x48']}
...
<Image src={avatar} alt={projectKey} size='xsmall' />
I get an error:
"Egress permissions for
https://api.atlassian.com/ex/jira/4e209d6d-5fcd-4150-bbe8-bd27a2bc24e5/rest/api/3/universal_avatar/view/type/project/avatar/10407
missing in the manifest."
I tried to add this to the manifest:
permissions:
scopes:
- read:project.avatar:jira
But it did not work.
Finally this works:
permissions:
external:
images:
- 'api.atlassian.com'
But I find it really strange to explicitely have to add an Atlassian domain for something standard like avatars.
What is the right way to authorize project avatars?
Thanks for your help!