Jira cloud azure devops integration

pradeepr1
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 13, 2025

unable to sync data in between Jira & Azure DevOps instances using an add on called JIRA - Azure DevOps Integration. getting the below error. 


Status:

 

Invalid response status code received (expected: 200 but got 400). Response: {"$id":"1","customProperties":{"FieldReferenceName":null,"FieldStatusFlags":"none","ErrorMessage":"TF401320: Rule Error for field Requirement by. Error code: Required, InvalidEmpty. 5 additional errors occurred during validation of the work item. Please correct all errors and try again.","FieldStatusCode":0,"RuleValidationErrors":[{"fieldReferenceName":"Custom.Requirementby","fieldStatusFlags":"required, invalidEmpty","errorMessage":"TF401320: Rule Error for field Requirement by. Error code: Req

3 answers

2 votes
Jacek Wizmur _getint_io_
Atlassian Partner
January 15, 2025

Hi @pradeepr1 ,

What is the exact app you're using? Are you integrating Jira Cloud or Data Center?

There is an app that will be able to address Jira DevOps integration - https://marketplace.atlassian.com/apps/1223931/azure-devops-integration-for-jira-azure-devops-connector?hosting=cloud&tab=overview 

I'd be happy to assist you with your use case,

Jacek

0 votes
Dhiren Notani_Exalate_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 23, 2025

Hi @pradeepr1 ,

I am Dhiren from the Exalate team.

The error message indicates that you're encountering a 400 Bad Request response because of invalid or missing data in a required field during the creation or update of a work item. Specifically, the field Requirement by (with the reference name Custom.Requirementby) is flagged as required but contains invalid or empty data.

If you are unable to resolve this issue, I would recommend you to try out Exalate.

Exalate is a completely decentralized and fully bidirectional integration solution which can help you sync issues between Jira and Azure DevOps.

It provides a powerful Groovy based scripting engine for limitless customizations.

Thanks, Dhiren

Hi @pradeepr1

Here, for the error, you may look into the following things:

  • Make sure the ADO-required fields are mapped between Jira and ADO.
  • For the ADO-required fields, set the default value in the mapping to avoid failures, even if field values are not coming from Jira.

If you're looking to sync Jira and ADO bidirectionally with robust error handling and detailed logging for easy troubleshooting, you may consider the enterprise sync tool. Where you can easily select which fields need to be synced along with advanced mapping features that help you prevent issues down the line, like warning you if you haven't mapped a mandatory field. You can also easily select which fields to sync and set default values when a target field is mandatory. Plus, sync comments, attachments, relationships, images, rich text, and user/entity mentions. It will help you scale when a team grows and in complex environments.

You can explore OpsHub [An Atlassian Silver Solutions Partner and Microsoft Partner] for Jira and ADO bidirectional sync. You can also have a look at Jira-ADO sync

Thanks

 

0 votes
Diana_Architect_ZigiWave
Atlassian Partner
January 16, 2025

@pradeepr1 hi.  Perhaps, the error message indicates that the integration process between Jira and Azure DevOps is failing due to issues with specific field validation in Azure DevOps. The root cause seems to be that Azure DevOps is enforcing certain rules on a required field (Requirement by) that are not being satisfied by the incoming data from Jira. 

You've mentioned the add-on, but can you link to it? maybe you should contact their support team or ADO's team. An alternative to the solution you use is ZigiOps (you can check it out in the Atlassian marketplace). It can integrate/sync any data without saving any of your data. Feel free to check it out and even try it via the free trial option.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events