You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.rst
+17Lines changed: 17 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -78,6 +78,23 @@ And here's another example of how to get issues from Jira using JQL Query:
78
78
data = jira.jql(JQL)
79
79
print(data)
80
80
81
+
The traditional jql method is deprecated for Jira Cloud users, as Atlassian has transitioned to a nextPageToken-based pagination approach instead of startAt. Use enhanced_jql for improved performance and future compatibility.
82
+
83
+
.. code-block:: python
84
+
85
+
from atlassian import Jira
86
+
87
+
jira = Jira(
88
+
url='https://your-jira-instance.atlassian.net',
89
+
username='your-email@example.com',
90
+
password='your-api-token',
91
+
cloud=True# Ensure this is set to True for Jira Cloud
92
+
)
93
+
JQL='project = DEMO AND status IN ("To Do", "In Progress") ORDER BY issuekey'
94
+
# Fetch issues using the new enhanced_jql method
95
+
data = jira.enhanced_jql(JQL)
96
+
print(data)
97
+
81
98
Also, you can use the Bitbucket module e.g. for getting project list
0 commit comments