Hi Team,
I am fetching issues list from the startAt=0 and maxResults=100 by the API in python below mentioned complete URL.
"https://<host>/rest/api/2/search?jql=project=<project_number> Order by key&startAt=0&maxResults=100"
but getting duplicates issues on different pages(startAt=1 etc.) Also I have tried different combination in order by like "updated" or "created" etc. but getting same result.
Here "key" is Ticket No.
Please help me on it.
Thanks in advance.
Regards,
Bhoopesh Sisoudiya
Welcome to the Atlassian Community!
My guess is that your "Ticket No" is a custom field, and people have created issues with duplicate values.
The "key" in your query means "the unique key of an issue". Jira will not give you more than one of any issue in the results.
Hi Nic Brough Thanks for the reply.
Yes, "key" means in my query "unique key of an issue". Also I have tried "created" or "updated" key/column but getting same problem.
Any other suggestions?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Could you show us a sample of your output?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Nic Brough Thanks for the reply.
I have figured out it was a bug in our code.
Thanks for the cooperation.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.