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

This widget could not be displayed.
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.

This widget could not be displayed.

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
Community showcase
Posted Tuesday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

251 views 1 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