Skip to content

Add atlassian-org-license-utilization CodeBundle#683

Open
rw-codebundle-agent[bot] wants to merge 1 commit into
mainfrom
codebundle/atlassian-org-license-utilization
Open

Add atlassian-org-license-utilization CodeBundle#683
rw-codebundle-agent[bot] wants to merge 1 commit into
mainfrom
codebundle/atlassian-org-license-utilization

Conversation

@rw-codebundle-agent

Copy link
Copy Markdown
Contributor

Summary

  • Adds atlassian-org-license-utilization CodeBundle to monitor Atlassian Cloud organization license utilization across entitled products (Jira, Confluence, JSM, Loom, etc.)
  • Implements four read-only tasks: utilization report, tier proximity analysis, utilization threshold evaluation, and active-user trend reporting via Organizations REST API
  • Includes in-repo sli.robot scoring API reachability, tier headroom, and utilization health (0–1 aggregate score)

Closes #119 (design-spec from parent #117).

API validation

  • Managed accounts: GET /v1/orgs/{orgId}/users (access_billable, product_access.last_active)
  • Tier proximity: POST /v2/orgs/{orgId}/workspaces (usage/capacity fields)
  • Directory discovery: GET /v2/orgs/{orgId}/directories
  • Commerce/contracts APIs degrade gracefully when tier data unavailable

Scorer

python -m scorer.score codebundles/atlassian-org-license-utilization104/100 (pass)

Test plan

  • Static bundle structure validation (.test/validate-atlassian-bundle-structure.sh)
  • Scorer rubric pass (>= 70)
  • Manual run against a test Atlassian org with Organization Admin API key
  • Verify SLI triggers runbook when utilization/tier scores drop below threshold
  • Confirm healthy_high_utilization, low_utilization_jira, and tier_proximity_confluence scenarios

Notes

  • Last-active data may lag up to 24 hours (documented in README and issue details)
  • Bundle is read-only; no suspend/revoke/remove endpoints called
  • SLI_MAX_USER_PAGES caps managed-account pagination during SLI for large orgs

Made with Cursor

…ring.

Implements read-only Atlassian Organizations API reporting for license
utilization, tier proximity, threshold alerts, and active-user trends with
an in-repo SLI scoring API reachability, tier headroom, and utilization.

Co-authored-by: Cursor <cursoragent@cursor.com>
@rw-codebundle-agent rw-codebundle-agent Bot requested a review from a team as a code owner June 10, 2026 13:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants