Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Is is possible to display an alias in a URL field.

Tony Pieri July 14, 2017

Hi,

We are using Jira Service Desk Cloud.

We have a custom URL field for our issues. Typically, we enter a very long URL into the field, and after we enter the URL, that very long address is displayed in the field. Is there a way to format the URL we enter so that after we finish making the entry, the field displays a short alias rather than the full URL?

Thanks

 

2 answers

0 votes
Jack Brickey
Community Champion
July 17, 2017

not sure but I wonder if tiny url would work here?

Daniel Vargas Llopis
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.
July 17, 2017

Hi Jack,

Using 'http://tinyurl.com/api-create.php?url=http://URLHERE' should work, it would be a matter of creating the Scripted field that returns the shortened URL

0 votes
Daniel Vargas Llopis
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.
July 17, 2017

Hi Tony,

 

Probably would be possible to do with ScriptRunner via a Scripted field and using an external URL shortener

https://scriptrunner.adaptavist.com/latest/jira/scripted-fields.html


A similar example:
https://community.atlassian.com/t5/Questions/Custom-URL-field-with-title/qaq-p/279342

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events