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 vote

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 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
Posted 7 hours ago in Jira

We want to know what Jira Service Desk apps you're using!

Hi Community! My name is Amir and I’m on the Jira Service Desk product marketing team at Atlassian. Our team would love to understand how you’re leveraging our ecosystem for Jira Service Desk. Wha...

25 views 0 5
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