Integration with Jira Cloud via spoke and webhook
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-12-2022 02:01 PM
We are configuring an integration with Jira Cloud using the Jira Spoke and webhooks. We have it working bi-directionaly as it's bringing over the description from Jira when it's updated. We are trying to figure out how to update the state of the record in ServiceNow based on the current status in Jira. The status from Jira comes over as a string, if in the subflow I try to use an If statement (i.e. if issue.status is In Progress then set the record in SN to WIP). It does not work. I can put the issue.status in the work notes and it does show as In Progress there. Is there anyway to map the fields using the spoke and webhooks? I know there is mapping if you use Rest API.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-12-2022 02:16 PM
Hey there. You might need to take the string and convert it to an Object, then it will read issue.status. Can you share a screenshot? I have Jira configured to test, but I don't have the webhook. Also what Subflow are you editing?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-12-2022 02:24 PM
I made a copy of the Process Jira Webhooks subflow, that is the one I am editing. I will see if I can convert the string to an object and see if that works.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-12-2022 02:43 PM
I'm looking at the Process Jira Webhooks Subflow and there are a variety of inputs, most of them are objects. Which input data pill are you using in your Update Record action? Do you have a screenshot of the flow execution?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-13-2022 06:30 AM
The input for status comes in as a string and I have put it in the work notes previously so I know it's coming across correctly as In Progress. I also did try the Status Category field with no luck. I have also tried changing the input for status to be choice and object with no luck. I've tried is and contains in the if statement.