Show user avatar using relative path

Hi there

It seems the avatars are displayed using absolute paths, created using the baseURL.

Now, some of us access JIRA through a proxy. Here the configured baseURL cannot be resolved and the user avatars / pictures aren't displayed.

Now for the questions:

  1. Is there a way (an addon maybe) to recreate those links using relative paths?
  2. Can I somehow auto-hide the baseURL message that tells me that I access JIRA over the "wrong" URL, so the users don't have to click that away every time?

Thanks

sandro

7 answers

1 accepted

The activity stream creates its links using the baseURL.
This is a known issue, vote for it here: https://jira.atlassian.com/browse/JRA-27836

Thanks to Florin for the help.

No ideas here?

What version of Jira are you using? I have a 5.2.2 here at hand and it looks like it uses relative URLs for avatars.

I've also seen that most avatars (also project avatars) are shown properly.
I think only activity streams are affected. In there, all links point to the internal domain (also issue, profile and "see more" links). Maybe the indexing creates those urls there?

Yes, the activity stream is indeed "special". Note that all the links in there should have the baseURL (including issue links), so you probably can't use those either. I don't think you can fix this in JIRA though, but I might be wrong. You'll probably need to fiddle with the proxy setting. This might help: https://confluence.atlassian.com/display/JIRA/Integrating+JIRA+with+Apache

That would be entirely up to the developer of the gadget and I believe Atlassian is well aware of this issue. You can vote for it here: https://jira.atlassian.com/browse/JRA-27836

Thanks Florin

All activity stream links are created using the baseurl. I did a quick test on our backup instance, changed the baseurl to something.abc and every activity stream immediatly created its links using somehting.abc

Since it's "only" the activity stream we can live with that, but wouldn't it be possible to create those links in the same manner all the others are?

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Tuesday in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

523 views 1 18
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you