Atlassian login
Log into Atlassian via Google sign-in — clicks the Google option, picks the account (optional email arg), clears any consent screen, and lands in an Atlassian product. Best run on your own paired browser rather than a freshly launched one, since it relies on an existing Google session in that browser.
Input
email optionalGoogle account to pick in the chooser. Omit to use the first/only account.
Output
url requiredloggedIn requiredaccount optionalFAQ
List Atlassian invoices
List Atlassian (admin.atlassian.com) billing invoices across every transaction account in your org, covering Atlassian and Marketplace apps plus Loom billed through Atlassian. Returns total plus invoices (id, number, date, amount, status, transaction_account, sourceSystem, downloadUrl) — metadata only. Feed a row's downloadUrl to admin.atlassian.com/download_invoice to fetch the PDF. Only an org billing admin sees the billing portal, and admin.atlassian.com must resolve to a single org (no org picker).
Atlassian whoami (signed-in account)
Report which Atlassian account this browser is signed in as: the account id, email and name. When the browser is signed out, it fails with a sign-in error that says to sign in and retry.
Download an Atlassian invoice PDF
Download one Atlassian (admin.atlassian.com) billing invoice, given the downloadUrl, or the id plus transaction_account, that admin.atlassian.com/list_invoices returns. Returns the filename plus the PDF as base64, for you to decode and save. Only an organization billing admin can download invoices.
