Hey everyone,
I’m working on a project where I need to pull absence data from Jira’s Big Picture tool using their API. So far, I’ve hit a wall trying to fetch this info. I’ve tried a bunch of different URLs, but no luck.
We’re using Big Picture version 8.47.0 on an on-premises Jira setup. I’m hoping to grab absence data for my whole team in one go, but I’d settle for individual calls if that’s the only option.
Does anyone have experience with this? I’d really appreciate some pointers on the right API endpoints to use or maybe a code snippet to get me started. I’m specifically after the absence calendar data that shows up in Big Picture.
Thanks in advance for any help!
As someone who’s worked extensively with Jira’s Big Picture, I can say that retrieving absence data can be quite tricky. In my experience, the most reliable method has been to use a combination of endpoints.
First, I’d suggest using /rest/api/2/group/member to get your team members. Then, for each user, query /rest/bigpicture/1.0/absence with the username parameter.
One thing to watch out for is that Big Picture sometimes stores absence data in custom fields. You might need to dig into your Jira configuration to find the exact field IDs.
Also, don’t forget to handle authentication properly. Jira’s API can be picky about tokens and permissions.
If all else fails, you might consider using Jira’s Scripted Fields to aggregate the data you need and expose it through a more accessible endpoint. It’s a bit of a workaround, but it’s saved me more than once when dealing with complex data retrieval in Jira.
I’ve encountered similar challenges with Jira’s Big Picture API. In my experience, the /rest/bigpicture/1.0/absence endpoint isn’t always reliable for team-wide data. Instead, I’ve had success using the /rest/api/2/user/search endpoint to first retrieve team members, then querying individual absence data with /rest/bigpicture/1.0/absence?username={user}. This approach, while more time-consuming, tends to yield more consistent results. Remember to handle rate limiting and pagination for larger teams. If you’re still struggling, consider reaching out to Atlassian support for specific guidance on your Jira instance.
hey there! i’ve dealt with this before. jira’s api can be tricky. have you tried the /rest/bigpicture/1.0/absence endpoint? it might work for team absences. if not, you could loop through individual user endpoints. good luck with your project!