mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-26 21:52:48 +00:00
jira - add cloud option to support Jira Cloud search endpoint (#11701)
* jira - add cloud option to support Jira Cloud search endpoint Jira Cloud has removed the legacy GET /rest/api/2/search endpoint (see https://developer.atlassian.com/changelog/#CHANGE-2046). Add a new boolean `cloud` option (default false). When set to true, the search operation uses the replacement /rest/api/2/search/jql endpoint. The default remains false to preserve backward compatibility for Jira Data Center / Server users. Fixes: https://github.com/ansible-collections/community.general/issues/10786 Assisted-by AI: Claude 4.6 Opus (Anthropic) via Cursor IDE Signed-off-by: Vladimir Vasilev <vvasilev@redhat.com> * Adding PR link to changelogs/fragments/10786-jira-cloud-search.yml Signed-off-by: Vladimir Vasilev <vvasilev@redhat.com> * Adding note about future usage of cloud parameter Co-authored-by: Felix Fontein <felix@fontein.de> --------- Signed-off-by: Vladimir Vasilev <vvasilev@redhat.com> Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
parent
f4e5fc09d7
commit
d956fb8197
2 changed files with 47 additions and 2 deletions
6
changelogs/fragments/10786-jira-cloud-search.yml
Normal file
6
changelogs/fragments/10786-jira-cloud-search.yml
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
minor_changes:
|
||||
- jira - add ``cloud`` option to support Jira Cloud's
|
||||
new search endpoint ``/rest/api/2/search/jql``, since
|
||||
the legacy ``/rest/api/2/search`` endpoint has been
|
||||
removed on Jira Cloud
|
||||
(https://github.com/ansible-collections/community.general/issues/10786, https://github.com/ansible-collections/community.general/pull/11701).
|
||||
Loading…
Add table
Add a link
Reference in a new issue