Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
badges earned

Your Points Tracker
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Oauth Api returns only 0-50 issues,Is there a way to increase maxresults to 1000

Create connection:

access_token = dbutils.secrets.get(scope = "jira", key = "access_token")
access_token_secret = dbutils.secrets.get(scope = "jira", key = "access_token_secret")
consumer_key = dbutils.secrets.get(scope = "jira", key = "consumer_key")
key_cert = dbutils.secrets.get(scope = "jira", key = "key_cert")
oauth_dict = {
'access_token': access_token,
'access_token_secret': access_token_secret,
'consumer_key': consumer_key,
'key_cert': key_cert}
jira = Jira(


JQL = 'project = IP AND issuetype = Initiative AND status in ("In Progress",  "Warranty Period") ORDER BY cf[16227] ASC, priority DESC, cf[16216] ASC'

data = jira.jql(JQL)


Sample output:

{'expand': 'schema,names', 'startAt': 0, 'maxResults': 50, 'total': 315, 'issues_0_expand': 'operations,versionedRepresentations,editmeta,changelog,renderedFields', 'issues_0_id': '246425', 'issues_0_self': '', 'issues_0_key': 'IP-175', 'issues_1_expand': 'operations,versionedRepresentations,editmeta,changelog,renderedFields', 'issues_1_id': '245700', 'issues_1_self': '', 'issues_1_key': 'IP-171',................................................



I am getting a result from 0 to 50 , Is there a way to get results from 50-100,101-150, etc

like "startAt": 50

Or is there a way to do pagination for Oauth? Please suggest.

Or get maxResults

1 answer

1 accepted

0 votes
Answer accepted

This issue is solved I referred to the Atlassian python API documentation



data = jira.jql(JQL,'*all',50)

Startat=50 (can be iterated like 100,200 etc)


Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Jira Service Management

JSM June Challenge #2: Share how your business teams became ITSM rockstars

For JSM June Challenge #2, share how your non-technical teams like HR, legal, marketing, finance, and beyond started using Jira Service Management! Tell us: Did they ask to start using it or...

241 views 7 7
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you