jira-auth_skill

This skill authenticates with Jira Cloud REST API using API tokens, aiding connection setup, credential validation, and rate limit handling.
  • JavaScript

3

GitHub Stars

1

Bundled Files

2 months ago

Catalog Refreshed

4 months ago

First Indexed

Readme & install

Copy the install command, review bundled files from the catalogue, and read any extended description pulled from the listing source.

Installation

Preview and clipboard use veilstrat where the catalogue uses aiagentskills.

npx veilstrat add skill 01000001-01001110/agent-jira-skills --skill jira-auth

  • SKILL.md7.2 KB

Overview

This skill authenticates with Jira Cloud REST API using API tokens or OAuth 2.0 and provides helper patterns for connection setup, credential validation, and basic rate limit handling. It includes cross-platform examples (Node.js and Python), environment variable patterns, and small client utilities to standardize requests. Use it to quickly validate credentials and bootstrap Jira API requests in scripts or CLI tools.

How this skill works

The skill reads required configuration from a .env file or environment variables (JIRA_EMAIL, JIRA_API_TOKEN, JIRA_BASE_URL) and builds a Basic auth header by base64-encoding email:token. It provides ready-to-use code snippets for Node.js, Python, and TypeScript to construct headers, instantiate a small Jira client, and call the /myself endpoint to validate connectivity. The client inspects HTTP responses, surfaces API errors, and detects 429 rate-limit responses so callers can retry or back off.

When to use it

  • Setting up a new Jira Cloud integration or CI job that needs API access
  • Validating that an API token, email, and base URL are correct
  • Bootstrapping scripts or CLIs that call Jira REST endpoints
  • Testing connectivity before performing batch operations
  • Implementing basic rate-limit handling in integrations

Best practices

  • Store JIRA_EMAIL, JIRA_API_TOKEN, and JIRA_BASE_URL in environment variables or a .env file, never in source control
  • Always base64-encode the 'email:apiToken' pair and include the 'Basic ' prefix with a single space
  • Normalize baseUrl to avoid trailing slash issues when building request URLs
  • Check for 429 responses and use the X-RateLimit-Reset header to schedule retries
  • Prefer API tokens over account passwords and restrict token scope when possible

Example use cases

  • A CLI tool that validates a developer's Jira credentials before running migrations
  • A build step that checks Jira connectivity before publishing release notes
  • A small automation that creates issues after validating the project key and auth
  • A monitoring probe that periodically calls /myself to verify integration health

FAQ

Generate a token from your Atlassian account security settings (id.atlassian.com/manage-profile/security/api-tokens) and use it with your account email.

What should I do when I receive a 429 rate limit error?

Read X-RateLimit-Reset from the response headers, back off until the reset time, and retry. Implement exponential backoff and limit retries to avoid throttling.

Built by
VeilStrat
AI signals for GTM teams
© 2026 VeilStrat. All rights reserved.All systems operational