Generate and display a URL based on a custom field value.

We use JIRA Service Desk to support our products. Each issue in our Service Desk has a customer "Serial Number" field. We use an external tracking tool to aggregate the product's information and it displays products by Serial Number, a specific link looks like this, for example:

http://products.com/product/view/12-34-5678

Our Serial Number custom field displays this:

12-34-5678

We want to generate a clickable link directly to the external tool for a given serial number for each issue. How can this be done?

2 answers

0 vote
Josh Steckler Community Champion Apr 14, 2017

You could do this with the search page and JQL - it wouldn't link directly to the issue but it at least be visible in the search results.

Would it be possible to Issue Key as the serial number rather than using a separate field? Similar to how this article suggests using the issue key as an asset tag in an asset tracking project.

I don't believe this is possible without a plugin. Do you have any plugins available in your system?

This would be possible with the Scriptrunner for Jira plugin. In that plugin, the simplest approach would be to create a scripted field which uses the value of your serial number field to generate the link. 

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Tuesday in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

256 views 1 18
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