Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

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-
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.
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-
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.
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
TAGS
AUG Leaders

Atlassian Community Events