Watcher: Fix JIRA tests (elastic/x-pack-elasticsearch#4271)
The response JSON has changed.
Original commit: elastic/x-pack-elasticsearch@fa9e3381d4ae81bc5ac7e562491774ba9a326d98
- is_false: hits.hits.0._source.result.actions.0.jira.fields.issuetype.name
- match: { hits.hits.0._source.result.actions.0.jira.fields.project.key: "XWT" }
- match: { hits.hits.0._source.result.actions.0.jira.fields.labels.0: "integration-tests" }
- - match: { hits.hits.0._source.result.actions.0.jira.reason: "Bad Request - ThrottlerField [issuetype] has error [issue type is required]\n" }
+ - match: { hits.hits.0._source.result.actions.0.jira.reason: "Bad Request - Field [issuetype] has error [issue type is required]\n" }
- match: { hits.hits.0._source.result.actions.0.jira.request.method: "post" }
- match: { hits.hits.0._source.result.actions.0.jira.request.path: "/rest/api/2/issue" }
- is_true: hits.hits.0._source.result.actions.0.jira.request.auth.basic.username
