community.general/plugins
Ken Dreyer 041824b98e
jira: log error messages in "errors" key (#311)
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>
2020-07-28 08:59:33 +03:00
..
become Update sesu.py: use defined prompt (#227) 2020-05-28 23:09:11 +01:00
cache Clean up deprecations (#504) 2020-06-16 13:15:19 +02:00
callback modules: fix examples to use FQCN for builtin modules (#648) 2020-07-14 18:28:08 +03:00
connection Point to correct location in kubernetes plugin import (#577) 2020-06-25 08:15:36 +02:00
doc_fragments modules: fix examples to use FQCN for builtin modules (#648) 2020-07-14 18:28:08 +03:00
filter modules: fix examples to use FQCN for builtin modules (#648) 2020-07-14 18:28:08 +03:00
inventory Add cobbler inventory plugin (#627) 2020-07-21 23:37:01 +03:00
lookup modules: fix examples to use FQCN for builtin plugins (#661) 2020-07-16 14:42:12 +03:00
module_utils Fix decoding of response payloads for python 3.5 (#687) 2020-07-24 23:35:33 +02:00
modules jira: log error messages in "errors" key (#311) 2020-07-28 08:59:33 +03:00