Hi,
Here below is the api Json response to search the project where the Kickoff date is today selection
{
"status": "OK",
"data": [
{
"projectName": "iEvalAuto_47119",
"bhuIds": "bhu_04454(FY19)",
"handOver": null,
"createdDate": "2019-03-20 08:43:12.0",
"modifiedDate": "2023-04-14 06:54:23",
"projectDates": {
"Kick-Off_startDate": "2023-03-31",
"Mobilization_startDate": "2023-03-30",
"Mobilization_endDate": "2023-04-22",
"Design_startDate": null,
"Design_endDate": null,
"Development_startDate": null,
"Development_endDate": null,
"IT_startDate": null,
"IT_endDate": null,
"PT_startDate": null,
"PT_endDate": null,
"UAT_startDate": null,
"UAT_endDate": null,
"RT_startDate": null,
"RT_endDate": null,
"Production Cut Over_startDate": null,
"Production Go Live_startDate": null,
"Warranty_startDate": null,
"Warranty_endDate": null,
"Create CR By_startDate": null,
"Have Final Eval By_startDate": null,
"KT_startDate": null,
"KT_endDate": "2023-04-30"
}
}
]
}
So, Required to help on groovy script to compare each field of json response on the above with each field of jira customfield of the project. if both values are different. then update the customfield in jira project. (Note: if values are similar no need to update)
Please help to solve the issue.
Thanks & Regards
Himabindu.P