1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/plugins/modules/web_infrastructure
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
..
sophos_utm modules: fix examples to use FQCN (#644) 2020-07-13 21:50:31 +02:00
apache2_mod_proxy.py modules: fix examples to use FQCN for builtin plugins (#661) 2020-07-16 14:42:12 +03:00
apache2_module.py modules: fix examples to use FQCN (#644) 2020-07-13 21:50:31 +02:00
deploy_helper.py modules: fix examples to use FQCN for builtin modules (#648) 2020-07-14 18:28:08 +03:00
django_manage.py modules: fix examples to use FQCN (#644) 2020-07-13 21:50:31 +02:00
ejabberd_user.py modules: fix examples to use FQCN (#644) 2020-07-13 21:50:31 +02:00
gunicorn.py modules: fix examples to use FQCN (#644) 2020-07-13 21:50:31 +02:00
htpasswd.py modules: fix examples to use FQCN (#644) 2020-07-13 21:50:31 +02:00
jboss.py modules: fix examples to use FQCN (#644) 2020-07-13 21:50:31 +02:00
jenkins_job.py modules: fix examples to use FQCN (#644) 2020-07-13 21:50:31 +02:00
jenkins_job_facts.py Initial commit 2020-03-09 09:11:07 +00:00
jenkins_job_info.py modules: fix examples to use FQCN (#644) 2020-07-13 21:50:31 +02:00
jenkins_plugin.py Shameless recommit of changes in jesstruck/ansible:jenkins_plugins_sha1 (#677) 2020-07-27 11:33:08 +02:00
jenkins_script.py modules: fix examples to use FQCN for builtin plugins (#661) 2020-07-16 14:42:12 +03:00
jira.py jira: log error messages in "errors" key (#311) 2020-07-28 08:59:33 +03:00
nginx_status_facts.py modules: fix examples to use FQCN (#644) 2020-07-13 21:50:31 +02:00
nginx_status_info.py modules: fix examples to use FQCN (#644) 2020-07-13 21:50:31 +02:00
rundeck_acl_policy.py Add check for rundeck_acl_policy name (#612) 2020-07-16 23:17:18 +02:00
rundeck_project.py modules: fix examples to use FQCN (#644) 2020-07-13 21:50:31 +02:00
supervisorctl.py modules: fix examples to use FQCN (#644) 2020-07-13 21:50:31 +02:00
taiga_issue.py modules: fix examples to use FQCN (#644) 2020-07-13 21:50:31 +02:00