How to upload custom priority icons in Atlassian Cloud?

Rob Moore February 4, 2016

This question is in reference to Atlassian Documentation: Customize your site

We are transitioning our JIRA over from a standalone instance to Cloud. We have custom priority icons that I'm trying replciate in our Cloud instance. I don't see any way to upload icons for priorities like I can in other areas of the site. I tried using the webdav folder as a source for the icons but now it requires everyone to have webdav access to use JIRA (that is, it prompts them for their webdav password every time they login). Is there another way to skin this cat?

 

Thanks,

 

Rob

4 answers

1 accepted

3 votes
Answer accepted
Steven F Behnke
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 4, 2016
  • Upload them as an Issue attachment and don't delete it
  • Upload them to a Confluence page and don't delete it
  • Convert your image to a data URI and paste that in the location area

https://jira.atlassian.com/browse/JRA-21246

Steven F Behnke
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 4, 2016

I get the same HTTP 500 but it seems to work anyway. I lifted all these suggestions from that issue I linked.

I think that Atlassian is slowly improving all UI aspects, but this is not a priority (heh) for them right now. JIRA team has said this year they are focused on configuration simplification, bug fix/data center improvements, as well as other needed functional items like Issue Linking events etc.

Unfortunately custom icons will just have to get rolled out when someone takes it on as a personal project or when internal UI improvements become an active epic.

Rob Moore February 4, 2016

Well, I spoke too soon. It works in the priorities config page but fails when you go to other pages that reference it. The URL ends up looking like this:

https://example.atlassian.netdata:image/png;base64,iVBOR...

Kevin Fox July 4, 2022

Brilliant.  this works like a charm

19 votes
Joshua McManus December 18, 2018

A solution!!

 

  1. Use the issuetype icon editing/uploading function
    1. go to Issue Types in Jira Settings > Issues > Issue Types
    2. Edit an issue type (either existing or create a new one)
  2. Change the icon for that issue and upload your own png
  3. Save that change
  4. Right-click the icon on that page and copy the image url
  5. Go to Jira Settings > Issues > Priorities and edit the priority you want to update
  6. Paste the url into the image field
  7. Save
  8. Profit!
KJ.Anderson February 12, 2019

That's issue type, not Priority.

BrianW May 20, 2019

That is brilliant Joshua!  Thanks! 

KJ, try reading it all before you say it's wrong.

Like # people like this
marcus.hirt@datadoghq.com August 20, 2019

@Shwetha Suvarna - it seems Josh way is the only way to get this to work, if you want to get the icons from Jira Cloud with the rest of the content. Is there a less clunky solution?

marcus.hirt@datadoghq.com August 21, 2019

Found the less clunky solution (see below). That said, those icons don't seem to get cached in the browser.

Pablo Martinez January 9, 2020

Thanks Joshua! It worked like a charm.

the url will be something like:

```

/secure/viewavatar?size=xsmall&avatarId=111111&avatarType=issuetype

```  

But it works

Like Edwina Cooper likes this
Edwina Cooper February 4, 2021

Thanks so much for posting - really helpful!

1 vote
marcus.hirt@datadoghq.com August 20, 2019

It seems like it is possibly to do this by uploading the icons to an issue. The important part is to then go to "Manage Attachments" in that issue (which I could not find in the new layout, so switched back to the old layout), and then copy the url directly from the link at the file name. Do not follow the link and let that URL resolve. Use the link as it is under "Manage Attachments".

Like Bency Ebenezer likes this
Mark Mermelstein February 5, 2020

Better to use SVG icons rather than PNG if able. 

aarti rajput June 5, 2020

This solution works , but what if any user do not have access of issuetypes then i think he wont be able to access the image url in priority.

Tobias November 25, 2020

@Mark Mermelstein this task is a bit older but i have problems with the display size of my custom priority icon. Do you have any idea how i can scale this a bit bigger. I use SVG, normally this should scale itself.

0 votes
Lindsay McMahon May 19, 2022

Awesome hack! thanks @joshuamcmahus

Suggest an answer

Log in or Sign up to answer