The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event: Join us in Stockholm, September 24-27, 2024.
Save €200 with code MSCUST on top of early bird pricing!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
Hi,
So I need to iterate over an api. If I set fixed values at start and max, there is no problem with the online refresh, the thing is when I use column references instead.
I believe the solution comes from using Webcontents + relativepath +query (as in https://blog.crossjoin.co.uk/2016/08/16/using-the-relativepath-and-query-options-with-web-contents-i...). But when I was not able to make it work with these final conditions "startAt" &max results.
The URL to transform:
Json.Document(Web.Contents("https://company-pt-dev.atlassian.net/rest/api/3/search?jql=project in ('projectname') AND issuetype = 'Test Case' or summary ~ 'Comarch' and issuetype = 'Test Case' &startAt=0"&"&maxResults=100"))
Solved! Go to Solution.
Consider the base URL till.net, and everything after that including the Query is relativepath...
Json.Document(Web.Contents("https://company-dev.atlassian.net/",[RelativePath="rest/api/3/search?jql=project in ('projectname') AND issuetype = 'Test Case' or summary ~ 'Comarch' and issuetype = 'Test Case' &startAt=0"&"&maxResults=1000"]))
Consider the base URL till.net, and everything after that including the Query is relativepath...
Json.Document(Web.Contents("https://company-dev.atlassian.net/",[RelativePath="rest/api/3/search?jql=project in ('projectname') AND issuetype = 'Test Case' or summary ~ 'Comarch' and issuetype = 'Test Case' &startAt=0"&"&maxResults=1000"]))
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the August 2024 Power BI update to learn about new features.