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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
mattholland1985
Regular Visitor

Power BI only pulling in 1st entry from a JIRA issue and all entries needed

Hello, I have never posted on anything like this before so not sure if the below makes sense or not?

 

I am hoping that someone can help me with a query or way of extracting a field from JIRA that has multiple entries. Power BI is only pulling in the 1st entry.

 

mattholland1985_0-1648736424248.png

The field from JIRA that I am looking to extract is the market field (above) which I can do , but Power BI (below) only seems to be retrieving the 1st entry from the JIRA field.

 

mattholland1985_1-1648736591182.png

 

Is there a query or way of extracting both entries from this field? I have looked at extracting a .CSV but the field is split out over up to 8 columns sometimes if there are multiple market entries?

 

If any other information is needed please let me know.

9 REPLIES 9
PiEye
Resolver II
Resolver II

Hi Matt, how are you connecting to JIRA? via API?

 

Pi

Interesting, I've used PowerBI's native JSON functionality and dont have the same issue for the data that I'm looking at. My first step is:-

 

Source = Json.Document(Web.Contents("https://jira.atlassian.com/rest/api/latest/search"))

 

Let me see if I can recreate this

 

Pi

Yes, so unfortunately I can't use FetchPages as I dont have that package at home

I can, however expand using JSON. When there are multiple entries in one field, there's an expansion icon which will give you the option to expand into new rows.

PiEye_0-1649144253044.png

Click to expand it once, then it gives you the options of which sub-fields you wish to bring in

PiEye_1-1649144305145.png

 

The other thing that I am wondering, is if JIRA has more than one field for market, sometimes when people set it up there might be a custom field for market1, market2 ... etc. 

 

Let me know if any of this works! I would also like to bring our JIRA data in and not sure whether to go with the custom content pack from Atlassian, or to go it alone.

https://www.atlassian.com/blog/add-ons/jira-content-pack-for-microsoft-power-bi

 

 

Pi

 

Hi Pi, Thank you for the response again.

 

I have used the code that you sent for JSON and it has pulled in information, I have expanded the field for market to new rows and get the below and it still seems to only pull in 1 item and not all items entered. This column is a custom field (I am not sure if that makes any difference?). 

 

mattholland1985_0-1649159283990.png

 

If I extract the values instead of expand to a new row I get the error message below, again not sure if it is because the field is a custom field.

mattholland1985_1-1649159617753.png

 

 

Hi Matt. 

 

Are you able to enter the record into a browser and look at the raw result JSON? What does it look like around custom field 11001?

 

I'm just trying to figure out how PBI is parsing this.

 

Pi

Hi Pi, Thank you for your continued support. The extract below seems to show that custom field 11001 splits the values out into "custom field option" with unique numbers assigned to them? I have highlighted as best I can below. The red boxes are the markets that should be pulled in. The single box is what is being pulled in. 

 

mattholland1985_0-1649237836442.png

 

Hi Pi,

 

Yes the connection to JIRA is via API. If there is any other information please let me know.

mattholland1985_0-1649061737797.png

 

Please also see below picture to the custom field / market code currently

mattholland1985_0-1649066553146.png

 

v-kkf-msft
Community Support
Community Support

Hi @mattholland1985 ,

 

Not familiar with JIRA, I looked up some documentation, but I still haven't found how to achieve what is presented in the image. Could you please share some relevant documentation?

 

vkkfmsft_0-1649050366619.png


Best Regards,
Winniz

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.