- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-17-2023 08:46 AM
Hello
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?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-19-2023 03:32 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-18-2023 03:00 AM
Hi Ankur
I am storing that key in a field called "u_key" I am just not able to access that in-line script,Is any better way to achieve this without creating any field?
Please let me know how to access that field value in the inline script and put in the URL as it s subflow
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-18-2023 04:25 AM
It's very difficult to understand without having the flow screenshot, instance details.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-18-2023 04:41 AM
Sample Payload
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-18-2023 04:46 AM
are you sure the input.payload.issue.key is giving correct key?
should you not parse the json body to extract the value?
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-18-2023 04:49 AM
Yes Ankur that is not giving any value ,That reason need you insight how to parse and get key
Could you please update the script what needs to be done can we create that as hyperlink with Issue Number