Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,556,149
Community Members
 
Community Events
184
Community Groups

Problem with JIRA API while connecting to Power BI which was working previously

Venkatesh Perumal
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 25, 2023

I used to get data from JIRA through API and built reports in Power BI. However I am getting "Expression.Error: Access to the resource is forbidden." error while trying to connect. I have created data source credentials and entered it again but still getting the same issue. Can anyone please help me on this?

Sample code below in the Advanced Editor:

let
Source =Json.Document(Web.Contents("https://enterprise-jira.companyname.net/rest/api/2/search?jql=Project='Project name'&maxResults=1000"))
in
Source

1 answer

0 votes
Graham Twine
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 29, 2023 • edited

@Venkatesh Perumal,

 

There are any number of reasons why this has started failing.

Some things you may consider checking in the first insantce are:

1. Can the account using the API still access Jira from something like Postman or Insomnia or Curl

2. Do you see failed authentications from this account in the Jira security log

3. Is the JQL returning anything in the UI

4. Can you see anything in Power BI ( I have no knowledge of Power GI at all)

5. Has rate limiting been enabled in Jira

Venkatesh Perumal
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 31, 2023

@Graham Twine Thanks for your response. I have checked the API in Postman and found like basic authentication has been disabled on the API instance. So I have changed my authentication to Bearer token and the API call works now in Power BI.

Like Graham Twine likes this

Suggest an answer

Log in or Sign up to answer