I'm getting a list of issueType's via the following API call:
https://<base_url>/rest/api/2/issuetype
And receiving a response with a list of these issueType objects:
{
"self": "https://<base_url>/rest/api/2/issuetype/1",
"id": "1",
"description": "A problem which impairs or prevents the functions of the product.",
"iconUrl": "https://<base_url>/secure/viewavatar?size=xsmall&avatarId=10303&avatarType=issuetype",
"name": "Bug",
"subtask": false,
"avatarId": 10303
}
The "iconUrl" is provided via the "/secure/viewavatar" API, and for most of the issueType's in my Jira instance, those icons are SVGs.
Is there a way for me to force the "/secure/viewavatar" endpoint to return PNG files? Maybe with a different query parameter? Or will it just always return the same file type that was provided to it when the issueType's were initially created?