configuration - Can Jira be configured to strip absolute URLs pointing to tickets inside the same instance? -
so we're using jira in company , on years url of jira instance has changed. example base url changed http://domain1.tld/ http://domain2.tld/
users, however, keep pasting urls link issues inside instance. prior base url change people paste http://domain1.tld/browse/abc-123 , link broken. while old domain name kept online, result would end on old url , not logged it.
is there way strip absolute urls right during/after comment or ticket created not have issue in first place?
you looking @ jira issue listener through either custom jira plugin (java) or script runner plugin , create script listener. (groovy)
what can if jira fronted webserver (ex. apache) point dns entry domain1.tld new jira instance , setup virtual host redirect user domain1.tld correct location on domain2.tld.
the apache rewrite rule like:
rewriterule ^(.*)$ http://domain2.tld/$1 [r=301,l]
Comments
Post a Comment