mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
041824b98e
Jira's API can return a empty "errorMessages" list, and the real error is in the "errors" object. This happens, for example, if a user tries to file a ticket in a project that does not exist (tested with Jira v7.13.8) Check both "errorMessages" and "errors", and report both values with fail_json(). Co-authored-by: Andrew Klychkov <aaklychkov@mail.ru> Co-authored-by: Andrew Klychkov <aaklychkov@mail.ru>
2 lines
119 B
YAML
2 lines
119 B
YAML
bugfixes:
|
|
- jira - improve error message handling (https://github.com/ansible-collections/community.general/pull/311).
|