Skip to content
This repository has been archived by the owner on Dec 29, 2022. It is now read-only.

This tool will synchronize the list of Enabled User-Installed plugins in JIRA, Confluence, and Bitbucket with a Google Sheet for documentation and auditing.

License

Notifications You must be signed in to change notification settings

google/atlassian-addons-audit-sheet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

atlassian-addons-audit-sheet

This tool will synchronize the list of Enabled User-Installed plugins in JIRA, Confluence, and Bitbucket with a Google Sheet for documentation and auditing.

Getting Started

You will need to update config_audit.py for your environment:

  • google_sheet_url - URL of your Google Sheet. A sample that you can copy is here: https://docs.google.com/spreadsheets/d/1iBHfz0TOyPxC3JRQp30v2Qs9lHbKfwOG-eZ53BK_ok0/edit#gid=0
    • Replace YOURGOOGLESHEET with your Google Sheet URL.
  • target_url - Sheet Names and URLs of your Confluence, JIRA, and Stash servers.
    • Replace YOURCONFLUENCESERVER with URL to your Confluence server.
    • Replace YOURJIRASERVER with URL to your Jira server.
    • Replace YOURBITBUCKETSERVER with URL to your Stash/Bitbucket server.
  • jira_credentials - your username and password. (We assume the same credentials will work across all your servers.)

Prerequisites

Usage

Once you've installed the required libraries, you should be able to simply run:

./audit.py hosts (jira, confluence, stash, or all)

example:

./audit.py jira
./audit.py jira confluence
./audit.py all

As it runs, the script will echo out each Plugin it finds, along with description, current version, and pricing; it then updates the sheet with this information.

Extras

sheetscript.gs is an Apps Script that can be added to your Google Sheet to automatically generate an email when licenses are about to expire. Additionally, it adds a pop-up alert to the sheet warning users not to edit any columns that may be overwritten by the audit.py script. You'll need to update sheetscript.gs then specify these values:

  • emailAddress, replace YOUREMAILADDRESS with your email address.
  • (optional) daysprior (default 7-day notice), replace 7 with your preferred day number.

The sample Google Sheet contains conditional formatting that automatically color codes cells accordingly:

  • Tag column (Req = Green, Attn = Red)
  • Version mismatch with Latest version - Yellow
  • License expiring within 7 days - Orange
  • Known Atlassian built-in add-on - Blue

License

addons-audit-sheet is licensed under the Apache License, v2.0.

Disclaimer

This is not an official Google product.

About

This tool will synchronize the list of Enabled User-Installed plugins in JIRA, Confluence, and Bitbucket with a Google Sheet for documentation and auditing.

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published