Webhook Jira Server
Método: POST
Url: /webhooks/99009/jira
Descripción: Notifica el cambio de un caso en Jira Server
Encabezados
Nombre | Descripción |
---|---|
X-Authorization | Token JWT de autorización. Debe tener el formato: Bearer token |
Body
{
"issue": {
"fields": {
"additionalProp1": {},
"additionalProp2": {},
"additionalProp3": {}
},
"id": "string",
"key": "string"
}
}
Respuesta
200
Códigos de error
Código | Descripción |
---|---|
AIC90005_0001 | Type invalid ‘{0}’ |
AIC90005_0002 | Configuration empty |
AIC90005_0003 | itemType is required |
AIC90005_0004 | The project not exist in Jira, verify projectKey and ItemType |
AIC90005_0005 | Case with reference ‘{0}’ not found |
AIC90005_0006 | CollectionInfo is null, project ‘{0}’ and type ‘{1}’ |
AIC90005_0007 | Buggy schema |
AIC90005_0008 | Cannot determine what type of mapping the additional fields have: {0} |
AIC90005_0009 | ‘{0}’ not found |
AIC90005_0010 | Reference is required in ‘{0}’ |
AIC90005_0011 | Reference duplicate in mapper ‘{0}’ |
AIC90005_0012 | Field ‘{0}’ required |
AIC90005_0013 | Reference ‘{0}’ is already assigned |
AIC90005_0014 | Field definition ‘{0}’ requires data matching, add property ‘{0}’ |
AIC90005_0015 | Field ‘{0}’ required, definition ‘{1}’ |
AIC90005_0016 | Criticality ‘{0}’ not assigned for ‘{1}’ |
AIC90005_0017 | ‘{0}’ not found, with values: ‘{1}’ |
AIC90005_0018 | Field types ‘{0}’ in Jira and ‘{1}’ in ASMS, are not compatible with each other |
AIC90005_0019 | The user has no associated projects |
AIC90005_0020 | Unauthorized |
AIC90005_00201 | IntegrationId is case ‘{0}’ cannot be null |
AIC90005_0021 | Model with id ‘{0}’ has not been registered |
AIC90005_200 | An error occurred while updating information in ASMS |
AIC90005_300 | An error occurred while updating information in JIRA |
AIC90005_999 | Unknown error |
Configuración webhook jira Server
ENDPOINT WEBHOOK
webhooks/99009/jira
Para configurar el webhook en Jira Server, asignar la url de configuración como se muestra en la siguiente imagen: