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,551,706
Community Members
 
Community Events
184
Community Groups

Bitbucket Reporting - Get commits pushed by Jira users by period of time (e.g. Daily)

Hi Everyone,

I am writing a Google Apps Script for Google Sheets to generate report from Bitbucket to get all commits pushed by selected Jira users by selected period of time.

There are 2 ways that I can think of :

1. Get commits from all repositories of a workspace, then filter if selected users and period match. This will return execution timeout error if there are a lot of repositories and commits.
2. I guess, to avoid timeout, get the selected Jira users first, then use each token/app password to get all repositories that the authenticated user has write access to, get the commits and filter by selected period.
I am not sure this is the best way to do it.

I am also aware there is Reports API but I haven't understand how it works yet.

Anyone have similar use cases or recommendation how can I improve what I'm trying to do?

Thank you guys.

0 comments

Comment

Log in or Sign up to comment
TAGS
AUG Leaders

Atlassian Community Events