cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Frequent Visitor

Need help with paginating JIRA Rest call through Power Query

Hi,

 

I am trying to extract all the user details from JIRA REST API in Power BI. However, i managed to extract only 1000 records using the below REST call. I found number of articles on pagination but the record gets duplicated everytime as i did not find a way to iterate through pages. There are approximately 3000 unique JIRA users and i need to get them all. Can anyone please help me out to iterate records through pages as i am relatively new to M. Any help would be appreciated. 

 

let
contents = Json.Document(Web.Contents("https://xxxxxx.atlassian.net/rest/api/3/user/search?username&startAt=0&maxResults=1000")),
#"Converted to Table1" = Table.FromList(contents, Splitter.SplitByNothing(), null, null, ExtraValues.Error),
#"Expanded Column2" = Table.ExpandRecordColumn(#"Converted to Table1", "Column1", {"self", "key", "accountId", "accountType", "name", "emailAddress", "avatarUrls", "displayName", "active", "timeZone", "locale"}, {"self", "key", "accountId", "accountType", "name", "emailAddress", "avatarUrls", "displayName", "active", "timeZone", "locale"})
in
#"Expanded Column2"

 

Thanks,

Arjun

2 REPLIES 2
Community Support
Community Support

Re: Need help with paginating JIRA Rest call through Power Query

Hi @rjnshenoy 

Please follow the articles:

How to Import JIRA data in Power BI

 

Best Regards
Maggie

 

Community Support Team _ Maggie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Highlighted
Frequent Visitor

Re: Need help with paginating JIRA Rest call through Power Query

Hi Maggie,

 

Thanks for sharing the link. However, can you provide me the link or demonstrate how this can be achieved through Power Query?

 

I am not able to get all the records through Zappysys even with pagination.

 

Regards,

Arjun

Helpful resources

Announcements
Meet the 2020 Season 2 Power BI Super Users!

Meet the 2020 Season 2 Power BI Super Users!

Find out who's part of the program this season, and welcome the new Super Users.

August 2020 Community Challenge: Can You Solve These?

August 2020 Community Challenge: Can You Solve These?

We're excited to announce our first cross-community 'Can You Solve These?' challenge!

July 2020 Community Highlights

July 2020 Community Highlights

Learn about the exciting things that happened in July.

Featured Data Story of The Month

Featured Data Story of The Month

All Data Stories Gallery contributions are reviewed for each month. We select a contribution and feature the community member the following month.

Power BI Dev Camp - Developing with .NET Core

Power BI Dev Camp - Developing with .NET Core

Learn how to develop custom web applications for Power BI using .NET Core 3.1 and .NET 5.

Top Solution Authors
Top Kudoed Authors