In ConnectAll, Sync will not work for Jira Multi-Project automation set up, if mapped project not present in any source or destination Jira application
search cancel

In ConnectAll, Sync will not work for Jira Multi-Project automation set up, if mapped project not present in any source or destination Jira application

book

Article ID: 281697

calendar_today

Updated On:

Products

ConnectALL

Issue/Introduction

For Jira Multi-Project automation set up, if mapped project value is not present in any of the source /destination Jira applications, then sync will not work and in logs it will throw below error/exception

JiraRestConnector: Response : {"errorMessages":["The value '<PROJECT NAME>' does not exist for the field 'project'."],"errors":{}}

 

Steps to Reproduce: 

  • Create a multi-project automation between Jira adapters
  • In Field mapping screen mapped the do the value mapping for required projects in "Project" field
  • Save the Automation
  • Delete any mapped project from any source or destination Jira applications 
  • Run the automation to sync the records
  •  

Expected Results: 

Sync should work

 

Actual Results:

Sync will not work and nothing Activity monitor will be blank without any sync failed records

Environment

2.11.x and 3.x

Cause

When sync runs it will try to fetch all the project values mapped under project under field mapping screen. Due to any reason if any of the mapped projects got deleted or not present in Jira application then it will throw that error exception, as it not able to retrieve that project. 

Resolution

Modify the automation and from Field mapping screen, delete the missing jira project from value mapping from "Project" field and run the automation. Sync should work this time