Issue type icon does not load (not displayed on screen)

Marcelo Montaño Sánchez
Contributor
February 16, 2022

Hi all!

I am using the Jira Cloud REST API to get issue types per project, specifically this REST API:

apirestissuetype.png

From the API result, I store the URL of the icon to display in a form created with Forge Custom UI.

The icons of the "normal" issue types load successfully, but the icon of a "special" issue type does not load:

iconsnotload.png

The strange thing is that the default issue type (Task) URL and the special issue type (Document) URL have the same format:

URL Task: 

https://api.atlassian.com/ex/jira/4c02c84a-f03d-4c1d-9c7d-5576dad73da5/rest/api/2/universal_avatar/view/type/issuetype/avatar/10318?size=medium

URL Document:

https://api.atlassian.com/ex/jira/4c02c84a-f03d-4c1d-9c7d-5576dad73da5/rest/api/2/universal_avatar/view/type/issuetype/avatar/10557?size=medium

And as you can see in the image, the icon of the Task is loaded, but the icon of the Document is not loaded.

I did a GET to the URLs from the browser and the icon of the Task is loaded, but the GET of the Document shows me this error:

iconerror.png

I don't know if the problem is due to the type of project, or what permissions are necessary for that type of issue (Document).

Maybe you can help me?

Thank you.

1 answer

0 votes
Rizwan Rizvi
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 24, 2024

Did you find a solution to this? I am encountering the exact same thing.

Suggest an answer

Log in or Sign up to answer