Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
FlowViz
Helper III
Helper III

Dynamic data source (Jira) refresh

Hi there,

 

I am trying to configure a report to automatically refresh that use Jira as it's source and getting the following message:

Screenshot 2022-04-04 at 18.05.22.png

 

 

 

 

The report I have created requires parameters of the Jira URL and Project Key:

Screenshot 2022-04-04 at 18.04.17.png

 

 

I have tried reading about RelativePath but struggling for what the solution is....can anyone advise?

1 ACCEPTED SOLUTION
FlowViz
Helper III
Helper III

The solution was:

 

= Json.Document(Web.Contents(#"Jira URL",[RelativePath = "/rest/api/2/search?jql=project%20%3D%20" & #"Project Key" & "%20AND%20resolved%20%3E%3D%20-52w%20AND%20issuetype%20not%20in%20(Epic)%20order%20by%20created%20DESC"]))

View solution in original post

5 REPLIES 5
FlowViz
Helper III
Helper III

The solution was:

 

= Json.Document(Web.Contents(#"Jira URL",[RelativePath = "/rest/api/2/search?jql=project%20%3D%20" & #"Project Key" & "%20AND%20resolved%20%3E%3D%20-52w%20AND%20issuetype%20not%20in%20(Epic)%20order%20by%20created%20DESC"]))
FlowViz
Helper III
Helper III

Can you provide an answer that considers my parameters and their names? Otherwise this isn't a helpful response 😞

FlowViz
Helper III
Helper III

Sorry I'm not sure what that should be given the names of my parameters and the text given what I currently have:

= Json.Document (Web.Contents(#"Jira URL" & "/rest/api/2/search?jql=project%20%3D%20" & #"Project Key" & "%20AND%20resolved%20%3E%3D%20-52w%20AND%20issuetype%20not%20in%20(Epic)%20order%20by%20created%20DESC"))

 

Could you elaborate?

Try something like this:

 

let
Source = Json.Document(Web.Contents("https://companyname.atlassian.net/rest/api/3/search?jql=project in ('TEST')", [Headers=[Authorization="Basic " & Credentials]])),

nitishsh91
Solution Supplier
Solution Supplier

Hi @FlowViz 

 

Try below it should work:

 

let
Source = Json.Document(Web.Contents("API URL", [Headers=[#"Authorization"="Token <<TOKEN>>"]])),
....
....

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Top Solution Authors