Auto Link Custom Field

VSHN Corp IT Atlassian Admin August 28, 2017

I'd like to automatically create a link in a custom field with the value entered in the custom field by the user. F.e. if the user adds the value 1234 into the field it should be a clickable link to https://example.com/?id=1234. How can I do that?

1 answer

0 votes
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
August 28, 2017

That probably needs a little bit of code - a scripted field could take the content of a standard custom field and present it as a full link.

VSHN Corp IT Atlassian Admin August 29, 2017

Do you have an example? And how would I do it so that the form only shows the input field and the task view only shows the scripted field?

Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
August 29, 2017

There's some examples in https://scriptrunner.adaptavist.com/5.0.4/jira/scripted-fields.html

To get the fields set up, I would simply put the input field on the create and edit screens, but not on the issue view.  Then the scripted field goes on view.

Suggest an answer

Log in or Sign up to answer