Create URL of Issue In ServiceNow

Knowledge Heis1
Tera Contributor

Hello

@Ankur Bawiskar 

We are using Jira webhook. Whenever an issue is created or updated, the information flows into ServiceNow through the flow designer. Now we want to create the Issue URL and update that in one of the fields in the ServiceNow Custom table, We have stored the base URL in the system property, Can I create a URL for that Particalur Issue?

 

"corp.atlassian.net/browse/issue key "in flow designer?

1 ACCEPTED SOLUTION

Hemant Kumar Ch
Kilo Sage

Hello Knowledge 

 

Create a Action with input as Payload 

 

Add Script Step 

var allInputs = JSON.parse(inputs.payload);
outputs.key = allInputs.issue.key;

 

Map that output Variable to Key field 

 

Please like if it helped You

Ch Hemant Kumar

 

View solution in original post

21 REPLIES 21

Ankur Bawiskar
Tera Patron
Tera Patron

@Knowledge Heis1 

so only the key is dynamic value right?

then you can form the link in flow

what did you try so far?

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Thanks, Ankur 

I created a Custome table. What type of field should I create whether journal input or URL as this should be hyperlink with Issue ID, created a flow and mapped other fields[', Just need to update this URL field,How do construct Need your Help 

@Knowledge Heis1 

keep it as URL type of field and then append the issue ID and form the URL and then update the record

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Hello Ankur 

 

This is Subflow 

 

KnowledgeHeis1_0-1681794270071.pngKnowledgeHeis1_1-1681794304371.pngKnowledgeHeis1_2-1681794338795.png

225959","key":"CSC-770",

How to update that link to create a URL as we storing base Url in system property 

base url/browse/key-Url Format with Hyperlink as Issue ID