Hi
I have a requirement as following
The user will enter a number in the custom field which is validated to enter number only while creating a ticket. Once ticket gets created I need that number to get added to the URL so that user clicks that link and it takes to the appropriate page.
Eg: In a different enterprise system, there is a numeric id for a ticket, and that numeric id is entered in Jira, I need JIRA custom field which enables users to input that number and that field data should convert into URL like http://abcdef.com/nbvj/1234 in ticket view so that user gets direct to that page when clicked.
Am new to JIRA scripting and am not sure where to add the script and what to code. I'm a beginner so any help is appreciated
This is in JIRA-Cloud
Hi @9103296 ,
This can be solved with the inbuilt automation functions.
First you will need to create a custom field with the type "short text" and add that to the create and view screens for your issue type. Then you can use Automation to add the link part using smart values.
Create an automation with the following functions:
In my example I've named the field for the ticket key "External ticket key" and used your example link http://abcdef.com/nbvj/. Automation combines the two into the resulting link.
Please be aware of the following:
If you only need this to happen for specific issue types (or if this is in Jira Service Management, for specific request types) you can add that to the automation as conditions before the action.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.