To run:
python fetch_metrics.py --users=richkuz,rkuzsma
It outputs a chart for each user with activity like PRs, Commits, Lines Changed, and Cycle Time. And an overall chart for all the users over time.
I was able to render an OnlyOffice document in React using the OnlyOffice local document server running in Docker with a JWT key and token.
This version also supports saving the document to my server automatically or on-demand.
Issues solved with this example include:
In a Looker table calculation custom expression you can compute the max or min value of a date time object using an expression like this:
max(
(100 * 100 * 100 * 100 * 100 * extract_years(${table.created_at})) +
(100 * 100 * 100 * 100 * extract_months(${table.created_at})) +
(100 * 100 * 100 * extract_days(${table.created_at})) +
(100 * 100 * extract_hours(${table.created_at})) +
(100 * extract_minutes(${table.created_at})) +
(extract_seconds(${table.created_at}))
To delegate effectively to a new team, you have to explain the following:
As the team grows and they learn how to do the work, it become sufficient and appropriate to explain only the first three bullet points. As the team further progresses, you can communicate the first 2 bullet points and the team will figure out what to do and how to do it. Finally, with high performing teams/individuals, you can provide context and the goal, and the team defines the rest.
| # Example Jira GraphQL API to fetch a Cloud ID, query for issues with JQL, and get issues with links, i.e. child issues | |
| # | |
| # Run this in https://developer.atlassian.com/platform/atlassian-graphql-api/graphql/explorer/ | |
| # | |
| # In the GraphQL explorer UI, at the bottom, add these Request Headers: | |
| # { | |
| # "X-ExperimentalApi" : "JiraIssueSearch" | |
| # } | |
| # | |
| query fetchCloudId { |