Jira Epics/Stories synchronized into DPR with state "Complete"

rafaelsoare
Giga Contributor

Jira integration with DPR is working fine and Epics/Stories are synchronized with in my Product.

However, the synchronization process ignored the status of the Jira tickets and makes every Work Item to be set to the state "Complete".

2026-04-23 15_50_14-Greenshot.png


Similar issue also documented in this official ServiceNow Community video: DevOps Change Velocity: Jira Connect and Configure (check from from 09:30)

Does anyone know how to fix the status/state mapping for the Jira–DPR integration?

1 ACCEPTED SOLUTION

SuryakiranM4342
ServiceNow Employee

HI @rafaelsoare ,

 

The state field you’re viewing is a transformed version. If you need the exact state from Jira, please use the native state column.

You can map the state from your Jira to the new state in ServiceNow by updating the script include "DevOpsJiraIntegrationHandler".

In the "processWorkItems" function, update the state mapping between the native_state from Jira and the desired state.

Additionally if you need to configure any additional custom fields refer this doc:https://www.servicenow.com/docs/r/zurich/it-service-management/devops-change-velocity/add-custom-fie...

 

View solution in original post

1 REPLY 1

SuryakiranM4342
ServiceNow Employee

HI @rafaelsoare ,

 

The state field you’re viewing is a transformed version. If you need the exact state from Jira, please use the native state column.

You can map the state from your Jira to the new state in ServiceNow by updating the script include "DevOpsJiraIntegrationHandler".

In the "processWorkItems" function, update the state mapping between the native_state from Jira and the desired state.

Additionally if you need to configure any additional custom fields refer this doc:https://www.servicenow.com/docs/r/zurich/it-service-management/devops-change-velocity/add-custom-fie...