Announcing the Global SNUG Board of Directors. Learn more here

Help
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Rishi1
ServiceNow Employee
ServiceNow Employee

For the Jira projects imported from Jira Application, we have given the option to import the project-related work items using the "Import Issues"  button.

And also, in order to achieve bidirectional sync, we have actions triggered to sync the work item whenever it is updated on Jira Application Side.

The payload sent from the Jira application is mapped to internal fields on the ServiceNow side.

During the recent changes on the Jira application, the payload object has been modified for the "Sprint" column.

While importing any work item which is part of any sprint from Jira application, the mappings are not matched with the payload sent from the Jira application.

Steps to Reproduce

Import Issues is staying in "Processing" state forever  :

  • Go to Jira project Form and enable import issues option.
  • Click on the "Import Issues" button
  • navigate to Jira Import Requests tab
  • the import request will remain in the "Processing" state forever.

Import Jira issues webhook events are producing an error in the designer :

  • enable import issues for any project (which has issues linked to it on Jira side) from the Jira project form on the Servicenow side.
  • On Jira side, update a story that is already part of any sprint or assign sprint to the story.
  • We can see the below error on the respective flow action.

Error 

Error: Cannot find function indexOf in object [object Object].,Detail: Cannot find function indexOf in object [object Object].

 

Workaround

  • Navigate to Script Include: ImportSprintUtil and function: getSprintRecord
  • update the code to get the sprint id from the payload to handle a new payload object as well.
  • The detailed code has been provided in the below XML file.

FIX

this issue has been fixed as part of release : Atlassian Jira Integration for Agile Development v2.0.2

Version history
Last update:
‎10-05-2020 04:44 AM
Updated by: