Skip to content

Latest commit

 

History

History
54 lines (34 loc) · 1.78 KB

README.md

File metadata and controls

54 lines (34 loc) · 1.78 KB

rofi-confluence-jira

Loads the most recently modified Confluence pages and the most recently updated JIRA issues via their REST APIs, and displays those in a rofi menu to quickly access them.

Dependencies

Installation

Depending on your system you can run, potentially you'd prefer this in a venv - but this would require you to add a wrapper for launching the script.

  • For stable requirements: pip install -r requirements-freeze.txt
  • For newer requirements: pip install -r requirements.txt

Configuration

This script reads the configuration from "${XDG_CONFIG_HOME:-${HOME}/.config}/rofi-confluence-jira.cfg".

; .config/rofi-confluence-jira.cfg
[confluence]
URL = https://confluence.example.com
USER = username
PASS = password

[jira]
URL = https://jira.example.com
USER = username
PASS = password

Usage API Token

To use an API token instead of your regular password.

  1. Retrieve an api token for your instance, if you are using public atlassian the link is: https://id.atlassian.com/manage-profile/security/api-tokens
  2. Set the token as PASS and your username or email address as USER

Different browser

You can set the environment variable BROWSER to define a different browser.

BROWSER=xdg-open ./rofi-confluence-jira.py

Author and License