/jira-assistant-skills:jira-assistant-setupfrom jira-assistant-skills
Guides users through setting up JIRA Assistant Skills, including installing the jira-as library, creating an Atlassian API token, collecting credentials, configuring environment variables, and validating the connection.
Ships in jira-assistant-skills. Installing the plugin adds it to Claude Code.
You are helping the user set up JIRA Assistant Skills. Guide them through the process conversationally.
First, verify the environment:
python3 --version
Check if the jira-as package is installed:
pip show jira-as 2>/dev/null && echo "Library installed" || echo "Library missing"
If the library is missing, install it from public PyPI:
pip install "jira-as>=2,<3"
Tell the user they need an API token from Atlassian. Offer to open the browser:
"To connect to JIRA, you'll need an API token from Atlassian. I can open the page where you can create one.
Would you like me to open https://id.atlassian.com/manage-profile/security/api-tokens ?"
If they agree, use:
python3 -c "import webbrowser; webbrowser.open('https://id.atlassian.com/manage-profile/security/api-tokens')"
Guide them:
Ask the user for their JIRA credentials:
JIRA Site URL: Ask "What is your JIRA site URL? It should look like https://yourcompany.atlassian.net"
Email: Ask "What email address do you use to log into JIRA?"
API Token: Ask "Please paste your API token (I'll store it securely)"
Profile Name: Ask "What would you like to name this profile? (default: production)"
Guide the user to set environment variables:
For bash/zsh (add to ~/.bashrc or ~/.zshrc):
export JIRA_SITE_URL="https://company.atlassian.net"
export JIRA_EMAIL="[email protected]"
export JIRA_API_TOKEN="their-token-here"
For PowerShell (add to profile):
$env:JIRA_SITE_URL="https://company.atlassian.net"
$env:JIRA_EMAIL="[email protected]"
$env:JIRA_API_TOKEN="their-token-here"
After setting, reload the shell:
source ~/.bashrc # or source ~/.zshrc
Test the connection using the CLI:
jira-as issue get {any_issue_key}
Or test with a Python script:
python3 -c "
from jira_as import get_jira_client
client = get_jira_client()
me = client.get('/rest/api/3/myself')
print(f'Connected as: {me.get(\"displayName\", \"Unknown\")}')
"
If validation succeeds, tell the user:
"Your JIRA Assistant Skills are now set up! Here's what you can do:
Test with a known issue:
jira-as issue get PROJ-123
Or just ask me naturally:
I'm ready to help you with JIRA!"
If authentication fails:
If the CLI is not found:
pip install "jira-as>=2,<3"pip show jira-as and which jira-as (the pip scripts directory must be on PATH)If import errors occur:
pip install "jira-as>=2,<3"Files this command reads when invoked
What the command file sets; muted values are Claude Code's defaults
7-day visitors to each command page
npx claudepluginhub grandcamel/jira-assistant-skills --plugin jira-assistant-skills2 commands in this plugin
Other plugins' commands for the same job