Skip to content

Commit d224880

Browse files
Update jira.py (#1571)
Jira cloud has deprecated the `/search?jql` endpoint in favor of `/search/jql?jql=` I think that the condition is wrong
1 parent a32f6d1 commit d224880

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

atlassian/jira.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3701,7 +3701,7 @@ def jql_get_list_of_tickets(
37013701
params["expand"] = expand
37023702
if validate_query is not None:
37033703
params["validateQuery"] = validate_query
3704-
if self.cloud:
3704+
if not self.cloud:
37053705
url = self.resource_url("search")
37063706
else:
37073707
url = self.resource_url("search/jql")

0 commit comments

Comments
 (0)