It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Can you prepend a fixed URL to JIRA Custom Fields?

Our JIRA system already has a few custom fields that contain references to ticket numbers that are external to JIRA (and on non-JIRA systems). These are mostly external support systems where the support team takes a call and if a bug ticket is needed, then a JIRA ticket is opened and the support ticket number is entered in the custom field.

The question is: Can JIRA be configured to prepend a fixed URL to these custom fields so that the support ticket number turns into a URL to take the user directly to the support ticket from JIRA?

The Import Id custom field for our instance is already set up like this to create a URL to our old ticket tracking system. This was done by adding a line "jira.importid.prefix=https\://myUrlHere" to our file. Then just the old ticket number was entered into the custom field for Import Id. It would be ideal if I could specify a prefix like this for specific custom fields.

I also see that JIRA 5 added custom linking, so technically a plugin could be constructed to facilitate linking to the external systems. However, this is significantly higher effort than just prepending a custom field with the needed URL.

1 answer

1 accepted

0 votes
Answer accepted

Minimlistic approach would be to write some javascript to modify the dom and create the link, not the best solution but can be quickly implemented.

Thanks for the reply. I did end up using the javascript method to create hyperlinks out of the custom fields. I couldn't find how to make the javascript update after an inline edit change, but it works well on page load/ready and that should be good enough for now.

After looking closer, I'm quite disappointed in the custom linking functionality. Not only would it have been more work to modify our plugin to allow creating the custom link, but I can't find any way to actually query for link data (i.e. show all tickets with a "has support ticket" custom link type). These custom links look nice on the interface, but they leave a lot of functionality to be desired - both in ease of setup and ability to query the data.

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Posted 5 hours ago in Jira

Upcoming Enterprise releases targeting Q3 2019: Jira Software 8.5 & Jira Service Desk 4.5

Since launching the Jira Software 8.0 and Jira Service Desk 4.0 platform releases in February, many of you have been asking when the next Enterprise release will be so you can take advantage of the m...

174 views 0 3
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