You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .agents/skills/atlassian-readonly-skills/REFERENCE.md
+25-9Lines changed: 25 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,6 +4,22 @@ Detailed usage examples and API documentation for read-only Jira, Confluence, an
4
4
5
5
> **Note**: This is a read-only variant. For write operations (create, update, delete), use `atlassian-skills`.
6
6
7
+
## Jira CLI Quick Reference
8
+
9
+
Run from the repository root. The CLI uses `.agents/skills/atlassian-readonly-skills/.env` or `JIRA_*` environment variables and accepts either an issue key or a Jira browse URL.
Avoid long PowerShell blocks and `python -c` for normal Jira issue work. The plain `issue` command returns a readable common field set; use `--all-fields` only when you need every Jira field. Use the writable skill only when the user explicitly requests comments, edits, transitions, or uploads.
Copy file name to clipboardExpand all lines: .agents/skills/atlassian-readonly-skills/SKILL.md
+42-18Lines changed: 42 additions & 18 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,27 +22,34 @@ Read-only Python utilities for Jira, Confluence, and Bitbucket integration, supp
22
22
- References to `jira.sil.org` URLs
23
23
- Requests to "look up" or "check" a JIRA ticket
24
24
25
-
### ⚠️ Critical: Always Use Python Scripts
25
+
### Critical: Use the Small Python CLI First
26
26
27
27
**NEVER** attempt to:
28
28
- Browse to `jira.sil.org` URLs directly (requires authentication)
29
29
- Use `fetch_webpage` or similar tools on JIRA URLs
30
30
- Use GitHub issue tools for LT-* tickets
31
+
- Build large inline PowerShell commands or quote-heavy `python -c` snippets for normal Jira work
31
32
32
-
**ALWAYS** use these Python modules. The scripts are Python modules (not CLI tools), so use them via inline Python or import:
33
+
Run commands from the repository root. For normal read-only Jira issue work, use `scripts/jira.py`; it accepts either `LT-22324`or `https://jira.sil.org/browse/LT-22324`.
Use the Python modules directly only when a task genuinely needs custom composition beyond the CLI. For write operations such as adding comments or uploading screenshots, switch to `atlassian-skills` and get explicit user intent before modifying Jira.
51
+
52
+
By default, `issue` returns the fields agents usually need: summary, description, status, type, priority, assignee, reporter, timestamps, labels, and components. Use `--fields` for a custom field list, or `--all-fields` only when you really need every Jira field.
46
53
47
54
## Configuration
48
55
@@ -58,7 +65,9 @@ Set environment variables based on your deployment type. This mode is used when
58
65
# SIL JIRA instance for LT-* tickets
59
66
JIRA_URL=https://jira.sil.org
60
67
# Personal Access Token - generate at: https://jira.sil.org/secure/ViewProfile.jspa → Personal Access Tokens
61
-
JIRA_PAT_TOKEN=your_jira_pat_token_here
68
+
JIRA_PAT_TOKEN=
69
+
JIRA_API_VERSION=2
70
+
JIRA_SSL_VERIFY=true
62
71
```
63
72
64
73
#### Cloud (API Token)
@@ -82,22 +91,26 @@ Generate API tokens at: https://id.atlassian.com/manage-profile/security/api-tok
0 commit comments