Recent searches


No recent searches

Kahele Koenig's Avatar

Kahele Koenig

Joined Mar 31, 2022

·

Last activity Apr 05, 2022

Following

0

Followers

0

Total activity

6

Votes

0

Subscriptions

2

ACTIVITY OVERVIEW

Latest activity by Kahele Koenig

Kahele Koenig commented,

Community comment Feedback - Apps and integrations (Platform)

Brilliant!  

Thanks Sean, good eye, and great catch.  :- )    Appreciate the clarify and solution. 

K

View comment · Posted Apr 05, 2022 · Kahele Koenig

0

Followers

0

Votes

0

Comments


Kahele Koenig commented,

Community comment Feedback - Apps and integrations (Platform)

Hi Sean,

Thanks for the response.

All of these commands work, but only give me the 1st 1,000 records:

https://mycompany.zendesk.com/api/v2/jira/links
https://mycompany.zendesk.com/api/v2/jira/links?after_cursor
https://mycompany.zendesk.com/api/v2/jira/links?after_cursor=true

If I look at the last record obtained in any of these successful retrievals (which yield exactly one thousand records, the default), it ends with the following statement on the 1,000th record:

"updated_at":"2021-04-27T23:40:28.000Z"}],"total":1984,"meta":{"has_more":true,"after_cursor":"https://mycompany.zendesk.com/api/v2/jira/links?page[after]=22016890"}}

However, If I try to use that referenced URL or any of the following commands, it does not work. 
Notice the caret (^) line underscoring the opening bracket forming the [after], indicating its use in the requested syntax is considered to be an error, everytime. 

curl: (3) bad range in URL position 57:
https://mycompany.zendesk.com/api/v2/jira/links?page[after]=22016890
                                                                                       ^
                                                        
curl: (3) bad range in URL position 57:
https://mycompany.zendesk.com/api/v2/jira/links?page[size]=1000
                                                                                      ^

curl: (3) bad range in URL position 57:
https://mycompany.zendesk.com/api/v2/jira/links?page[size]=2000
                                                                                       ^

If there's something simple I'm missing, appreciate any correction/guidance. 


Thanks again. 

View comment · Posted Apr 01, 2022 · Kahele Koenig

0

Followers

0

Votes

0

Comments


Kahele Koenig commented,

Community comment Developer - Zendesk APIs

 

Hi Eric,

Hope this day finds you well.

The API listed here doesn't work for pagination.

https://developer.zendesk.com/api-reference/ticketing/jira/links/

 

Following the example posted here:

https://developer.zendesk.com/api-reference/ticketing/jira/links

results in an error. 

Trying to use the API with pagination results in an error.

$ curl -u account:password -X GET "https://ourcompany.zendesk.com/api/v2/jira/links?page[after]=1000"

curl: (3) bad range in URL position 57:
With a caret designating an error, pointing directly underneath the opening brace for [after]
                                                                                ^^ error message


Regardless of whether I single quote, double-quote, or unquote the URL.

Whereas, trying to use the API without pagination works perfectly, I get exactly 1000 records.

But I have over 2k records I need to get, with Jira links. 

Thanks for any help.

K

View comment · Edited Mar 31, 2022 · Kahele Koenig

0

Followers

1

Vote

0

Comments


Kahele Koenig created a post,

Post Feedback - Apps and integrations (Platform)

 

Hi all,

The API listed here doesn't work for pagination.

https://developer.zendesk.com/api-reference/ticketing/jira/links/

 

Following the example posted here:

https://support.zendesk.com/hc/en-us/community/posts/4416466641306-Unable-to-get-more-than-1000-records-for-jira-links

results in an error. 

Trying to use the API with pagination results in an error.

$ curl -u account:password -X GET "https://ourcompany.zendesk.com/api/v2/jira/links?page[after]=1000"

curl: (3) bad range in URL position 57:
With a caret designating an error, pointing directly undeneath the opening brace for [after]
                                                                                ^^ error message


Regardless of whether I single quote, double-quote, or unquote the URL.

 

Whereas, trying to use the API without pagination works perfectly, I get exactly 1000 records.

But I have over 2k records I need to get, with Jira links. 

Thanks for any help.

K

Edited Mar 31, 2022 · Kahele Koenig

0

Followers

3

Votes

4

Comments