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

John Miller April 14, 2017

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 votes
Doug Swartz
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 17, 2017

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. 

0 votes
josh
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 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.

Suggest an answer

Log in or Sign up to answer