Unable to get Fixversion from payload in sublow while doing Jira integration
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-10-2022 04:16 AM
We are trying to integrate servicenow with Jira
we are using bi-directional webhooks
we need to get fixversions of a Jira issue in the sublow
we have used the below script on the filed to get fixversion but unable to get it
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-10-2022 04:26 AM
Hi
at Jira the field "fix versions" is an array. Check what kind of data type is returned and handle it accordingly.
Kind regards
Maik
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-10-2022 10:25 PM
Its an array of object unable to bring it
can you provide an solution the way we can modify the code
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-10-2022 10:43 PM
I need the stringified version of that "array of objects".
Kind regards
Maik
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-10-2022 11:05 PM
"fixVersions":[{"self":"https://enterprisesystems-test-jirawa.atlassian.net/rest/api/2/version/10030","id":"10030","description":"","name":"test release 017","archived":false,"released":false,"releaseDate":"2022-01-15"}]