I have a forge app that recovers issue data from the current instance and show some info. I want to show the issue type icon next to the key and for that I am using the issueData.fields.issuetype.iconUrl. This url points out to some https://api.atlassian.com/ url instead of the current instance (that is what I see when I call the /rest/api/3/issue externally). Also, it shows for a moment the egress error before loading the icon.
What is the sanctioned way to retrieve and show the issue type icon of a given issue?