Forum Discussion

Prasdhara's avatar
Prasdhara
New Member
3 years ago
Solved

Pulling data from JIRA API doesn't give any errors but doesn't show any records either

Hello All,

 

I have 10 issues in my JIRA Project 'TEST'. The code isn't giving any errors but isnot getting anything from the issue list.

 

 

 

See Code below 
let
#“Header” = Binary.ToText(Text.ToBinary(#“User Email” & “:” &#“API Token”)),
#“BaseURL” = “https://pra24.atlassian.net/rest/api/3/search”,
Source = Json.Document(
Web.Contents(
#“BaseURL”,[
Headers=[
#“Authorization” = “Basic” & #“Header”,
#“Content-Type” =“application/json”
]
]
)
)

in
Source

The result is :

 

 

whereas when I type the same as url in the address bar, I get :

 

 

I am not able to understand why am I not getting the records.