Skip to main content

Manage Jira assets.

Project description

Jira Asset Manager

made-with-python GitHub release (release name instead of tag name) GitHub

Manage Jira assets in your code or CLI.

Requirements

  • Python 3.8+

Install

poetry install
jira-amt --help

How-to

First, you need to initialize the project:

jira-amt init

This will get everything from your Jira server and save them to ~/.jira directory.

Configure

You need to add these environment variables to use the CLI:

Variable Description
JIRA_SERVER Jira server address like https://jira.domain.com
JIRA_PAT Your personal access token

After setting these variables, you can configure the CLI:

jira-amt init

This command will get everything from your Jira server and save them to ~/.jira directory for later use. With this data, you don't need to know/use ID of each asset/attribute.

Update assets

You can update asset's attribute using it's name. The script will get the asset id from the name automatically.

jira-amt attr <schema> <object> <asset name> <attr name> <attr value>
jira-amt attr "ITSM" "Servers" "Server-1" "IP" "1.2.3.4"

Add comment

You can add comment to an asset using it's name. The script will get the asset id from the name automatically.

jira-amt comment <schema> <object> <asset name> <comment>
jira-amt comment "ITSM" "Servers" "Server-1" "This is a comment"

Support 💛

Donate with Bitcoin Donate with Ethereum

ko-fi

Contributing 🤝

Don't be shy and reach out to us if you want to contribute 😉

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

jira_amt-1.1.2.tar.gz (6.0 kB view hashes)

Uploaded Source

Built Distribution

jira_amt-1.1.2-py3-none-any.whl (7.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page