Categorygithub.com/mintel/atlassian-automator
modulepackage
0.2.0
Repository: https://github.com/mintel/atlassian-automator.git
Documentation: pkg.go.dev

# README

Atlassian Automator

The Atlassian Automator checks last updated dates/times for pages in Confluence and raises JIRA tickets when they are older than a date set by the user. This may be extended to other use-cases in future (hence the generic name).

$ ./atlassian-automator -h
Usage: atlassian-automator --atlassian-token=STRING --atlassian-username=STRING

Flags:
  -h, --help                         Show context-sensitive help.
      --atlassian-token=STRING       Your Atlassian API token. Either the environment variable or the flag MUST be set
                                     ($ATLASSIAN_TOKEN).
      --atlassian-username=STRING    Your Atlassian user name. Either the environment variable or the flag MUST be set
                                     ($ATLASSIAN_USERNAME).
      --config="config.yaml"         Path to atlassian-automator config file ($CONFIG_FILE).
      --listen-address=":8000"       Address on which HTTP server will listen (for healthchecks and metrics)
                                     ($LISTEN_ADDRESS).

Configuration

  1. Ensure your $ATLASSIAN_USERNAME and $ATLASSIAN_TOKEN environment variables / command line arguments are set
  2. Copy config.example.yaml to config.yaml and edit as appropriate
  3. go build
  4. ./atlassian-automator

Development

To develop and test this you'll need the following:

  • A Jira Cloud development account (sign up here) with:
    • A Jira Project called Atlassian Automator (AA)
    • A Confluence Space called Atlassian Automator (AA)
  • An Atlassian API token (see here)
  • The following environment variables set:
    • ATLASSIAN_USERNAME (your email address)
    • ATLASSIAN_TOKEN (the Atlassian token you created above)

# Packages

No description provided by the author

# Functions

No description provided by the author
No description provided by the author

# Structs

No description provided by the author