how to retrieve the hyperlink between issues?

Good afternoon, I'm trying to make a select in the jira's bank, in the customvalue table to bring the textarea data, my doubt is how the jira transforms a text field into a hyperlink to another issue.
And how can I retrieve this hyperlink?duvida.jpg

1 answer

0 votes

If I understand your question, you are looking to find how Jira is creating the hyperlink from this text field that contains an issue key.   The actual hyperlink is not stored in the database of Jira.  Instead Jira is actually using field renderers in order to match any issue keys that match existing issues in the jira instance and then automatically creating a hyperlink for them.

This is explained in the documentation Configuring renderers.

So if this is a text field, and you query the customfieldvalue table, I'm sure you would find a value in there that contains the string 'METRICAS-3566', but this would only be in plain text.  It is the renderer for text fields that is converting this into a hyperlink.  As such I don't think there is a clear way to retrieve the specific link from the database. 

If this is not a text custom field, please let me know what kind of custom field "ID Metricas - Detalhada" is.   It might be possible that other plugins in Jira could create different field types that might be storing data in the database differently.

I hope this helps.

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,006 views 12 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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot