Forum Discussion
How to connect Jira REST API as data source? Power BI Service friendly and with pagination??
- Anonymous2 years ago
Hi Alina12 ,
Hope all is going well.
Please follow these steps:
1. The error you are encountering in the function is due to attempting to concatenate a binary () with a string. Since is used with , it is treated as a binary.
You should modify your approach to use and options within for pagination as well.GetJiraIDCountBaseUrlBaseUrlWeb.ContentsRelativePathQueryWeb.Contents
2. Modify the GetPage function:
GetPage = (Index) => let Skip = Text.From(Index * JiraIDPerPage), Top = Text.From(JiraIDPerPage), PageData = Web.Contents( https://XXX.XXX.net/jira/rest/api, [ RelativePath="2/search", Query= [ jql="filter=525545", startAt=Skip, maxResults=Top, fields="issuetype,key,summary,customfield_10401,labels,customfield_10000,status,resolution,customfield_11200" ], Headers=[Authorization="Bearer XXX"] ] ), Json = Json.Document(PageData), Value = Json[#"issues"] in Value,If you have other questions, please contact me at any time.
Best Regards,
Yang
Community Support TeamIf there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!
Hi Alina12,
Integrating Jira and Power BI can be challenging, but fortunately, you can use two main methods to achieve this. One option is the Jira REST API, which requires technical skills and can be complex. The second option is Power BI Connector for Jira.
It is a user-friendly app that enables you to export Jira data to Power BI without the need for coding skills. Learn more about the second method here:
https://marketplace.atlassian.com/apps/1221150/power-bi-connector-for-jira?hosting=cloud&tab=overvie... it's available for Jira Cloud / Server / Data Center.
Daria