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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Sunday in Agility

You asked for it, so we delivered: images on issues have arrived

A picture tells a thousand words. And agility boards have just released their latest feature: cover images on issues – so now your board can tell a story at first glance. Upload attachmen...

686 views 3 11
Read article

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