Emails have local LAN IP Address links

Deepak Bhatia August 31, 2011

Hi,

We access JIRA by two IP Addresses

1. Local LAN IP Address which is used by engineers to access JIRA

2. Public IP Address of JIRA Server

But The links sent by the auto-mailers point to Local LAN IP address rather than external. Is it not possible to change the link addresses to external IP?

Please help ?

Thanks

Deepak Bhatia

3 answers

1 accepted

4 votes
Answer accepted
JamieA
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.
August 31, 2011

The links will be that of the base url, defined in Admin -> General Config -> Base URL. You can only set one.

1 vote
Jaan Raamets
Contributor
August 31, 2011

If you need 2 urls really badly, then there is a the possibility change e-mail templates. Like add if-clauses with hardcoded urls to .vm files

#if ($recipient.email.endsWith('yourcompany.com'))

$stringUtils.leftPad($i18n.getText("common.concepts.url"), $padSize): HARDCODED_LOCAL_IP_ADDRESS/browse/${issue.getKey()}

#else

$stringUtils.leftPad($i18n.getText("common.concepts.url"), $padSize): ${baseurl}/browse/${issue.getKey()}

#end

This link is useful if you want to know more about e-mail templates.

0 votes
Archan Bhatt
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!
December 12, 2016

We have similar issue as well. We have base URL setup in JIRA admin but email still shows local IP address. Is there somewhere else I have to change something?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events