How can we make a field wich will be automatically transformed into a link.

 How can we make a field wich will be automatically transformed into a link after filling?

For example I have a link mask like 'http://ggg.com/xdf1111' where four last numbers is the value of the field.

I need to have a field, where I input these numbers 1111 or 2222 e.t.c. I want to see on issue screen this value. But the field must be clickable and lead to  http://ggg.com/xdf1111 or http://ggg.com/xdf2222 depending on it's value (1111 or 2222).

Is it possible?

Target: to integrate JIRA with the tasks in another system.

2 answers

This widget could not be displayed.

if this field will be filled only with URL's you can use "URL field". Did you try?

"Select Administration -> Issues -> Fields -> Custom Fields -> Add Custom Field , select the URL field type and click Next"

No, not just URL. User should input a value like 1111 and get a clicckable "1111" on the screen, which lead to a url http://ggg.com/xdf?entityid=1111. I mean that a user don't input a url, it must be like a concatenation between url mask and user's input.

Well I understood. I think you must to create your own template. But there's an workaround, E.g. There is a workflow transition screen with a field that user will input only a value like "1111" and in a postfunction you concatenate your url "http://ggg.com/xdf"; + USER_INPUT and copy this value to a URL field. Hope it help. BR.

This widget could not be displayed.

Hey check that:

 

http://www.jontetzlaff.com/blog/2012/08/23/converting-string-urls-to-clickable-links-with-javascript/

 

You can implement by using scripted postfunction.

 

BR.

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Aug 06, 2018 in Jira Service Desk

A is for Activate: Share your top Jira Service Desk onboarding tips for new users!

Hi, everyone! Molly here from the Jira Service Desk Product Marketing Team :).  In the spirit of this month's  august-challenge, we're sourcing stories of Jira Service Desk activation fro...

553 views 25 15
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