Hi community! I am trying to update some version fields but it gives me the following error about this code
def result = put("/rest/api/3/version/${releaseID}")
.header('Content-Type', 'application/json')
.body([
fields: [
description: Descripcion,
name: Nombre,
startDate: FechaInicio,
releaseDate: FechaRelease
]
])
.asString()
2023-09-22 12:41:19.243 INFO - PUT /rest/api/3/version/10675 asString Request Duration: 391ms
2023-09-22 12:41:19.244 WARN - PUT request to /rest/api/3/version/10675 returned an error code: status: 400 - Bad Request
body: {"errorMessages":["Invalid request payload. Refer to the REST API documentation and try again."]}
2023-09-22 12:41:19.244 INFO - Serializing object into 'interface java.util.Map'