skills/jira-collaborate/SKILL.md
Collaborate on issues: add/edit comments, share attachments, notify users, track activity. For team communication and coordination on JIRA issues.
npx skillsauth add grandcamel/jira-assistant-skills jira-collaborationInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Collaboration features for JIRA issues - comments, attachments, watchers, and notifications.
| Operation | Risk | Notes |
|-----------|------|-------|
| List comments/attachments | - | Read-only |
| List watchers | - | Read-only |
| View activity history | - | Read-only |
| Add comment | - | Easily reversible (can delete) |
| Upload attachment | - | Easily reversible (can delete) |
| Add watcher | - | Can remove watcher |
| Send notification | - | Cannot unsend but harmless |
| Update comment | ! | Previous text lost |
| Update custom fields | ! | Can be undone via edit |
| Remove watcher | ! | Can re-add |
| Delete comment | !! | Comment text lost |
| Delete attachment | !! | File lost, must re-upload |
Risk Legend: - Safe, read-only | ! Caution, modifiable | !! Warning, destructive but recoverable | !!! Danger, irreversible
Use this skill when you need to:
IMPORTANT: Always use the jira-as CLI. Never run Python scripts directly.
| Command | Description |
|---------|-------------|
| jira-as collaborate comment add | Add comment with visibility controls |
| jira-as collaborate comment update | Update existing comment |
| jira-as collaborate comment delete | Delete comment (with confirmation) |
| jira-as collaborate comment list | List and search comments |
| Command | Description |
|---------|-------------|
| jira-as collaborate attachment list | List attachments on issue |
| jira-as collaborate attachment upload | Upload file to issue |
| jira-as collaborate attachment download | Download attachments |
| Command | Description |
|---------|-------------|
| jira-as collaborate notify | Send notifications to users/groups |
| jira-as collaborate activity | View issue changelog |
| Command | Description |
|---------|-------------|
| jira-as collaborate watchers | Add/remove/list watchers |
| jira-as collaborate update-fields | Update custom fields |
All commands support --help for full documentation.
# Add a comment
jira-as collaborate comment add PROJ-123 --body "Starting work on this now"
# Rich text comment (--format supports: markdown, wiki, adf)
jira-as collaborate comment add PROJ-123 --body "**Bold** text" --format markdown
# Internal comment (role-restricted)
jira-as collaborate comment add PROJ-123 --body "Internal note" --visibility-role Administrators
# Internal comment (group-restricted)
jira-as collaborate comment add PROJ-123 --body "Team only" --visibility-group jira-developers
# List comments (supports --order asc or desc)
jira-as collaborate comment list PROJ-123
jira-as collaborate comment list PROJ-123 -l 10 --order desc
# Get specific comment by ID
jira-as collaborate comment list PROJ-123 --id 10001
# List comments with pagination
jira-as collaborate comment list PROJ-123 -l 10 --offset 20
# Update a comment (requires comment ID)
jira-as collaborate comment update PROJ-123 --id 10001 --body "Updated text"
# Delete a comment (preview first)
jira-as collaborate comment delete PROJ-123 --id 10001 --dry-run
# Delete a comment (confirmed)
jira-as collaborate comment delete PROJ-123 --id 10001 --yes
# Upload attachment (-f is short for --file)
jira-as collaborate attachment upload PROJ-123 -f screenshot.png
jira-as collaborate attachment upload PROJ-123 --file screenshot.png
# Upload attachment with custom name (-n is short for --name)
jira-as collaborate attachment upload PROJ-123 -f screenshot.png -n evidence-2024.png
# List attachments on issue
jira-as collaborate attachment list PROJ-123
# Download attachment by ID (-o is short for --output-dir)
jira-as collaborate attachment download PROJ-123 --id 12345 -o ./downloads/
# Download attachment by filename
jira-as collaborate attachment download PROJ-123 --name error.log -o ./downloads/
# Download all attachments from issue
jira-as collaborate attachment download PROJ-123 --all -o ./backups/
# List watchers (-l is short for --list)
jira-as collaborate watchers PROJ-123 -l
jira-as collaborate watchers PROJ-123 --list
# Add watcher (-a is short for --add)
jira-as collaborate watchers PROJ-123 -a [email protected]
# Remove watcher (-r is short for --remove)
jira-as collaborate watchers PROJ-123 -r [email protected]
# Send notification to watchers
jira-as collaborate notify PROJ-123 --watchers --subject "Update" --body "Issue resolved"
# Send notification to voters
jira-as collaborate notify PROJ-123 --voters --subject "Vote counted"
# Send notification to a group
jira-as collaborate notify PROJ-123 --group developers --subject "Team update"
# Send notification to specific users (requires account ID)
jira-as collaborate notify PROJ-123 --user 5b10ac8d82e05b22cc7d4ef5 --subject "Review needed"
# Send notification to assignee and reporter
jira-as collaborate notify PROJ-123 --assignee --reporter --subject "Please review"
# Preview notification without sending
jira-as collaborate notify PROJ-123 --watchers --dry-run
# View activity history
jira-as collaborate activity PROJ-123
# View activity with filters
jira-as collaborate activity PROJ-123 --field status --field assignee --output table
jira-as collaborate activity PROJ-123 --field-type custom --limit 10
# View activity with pagination
jira-as collaborate activity PROJ-123 --limit 10 --offset 20
# Update custom fields (JSON format)
jira-as collaborate update-fields PROJ-123 --fields '{"customfield_10014": "value"}'
# Update multiple fields
jira-as collaborate update-fields PROJ-123 --fields '{"customfield_10014": "Epic Name", "customfield_10016": 5}'
# Update with array values
jira-as collaborate update-fields PROJ-123 --fields '{"labels": ["urgent", "customer"]}'
All commands support:
| Option | Description |
|--------|-------------|
| --help, -h | Show detailed help |
| Command | Supported Formats |
|---------|-------------------|
| comment add | text, json |
| comment list | text, json, table |
| comment update | text, json |
| comment delete | text, json |
| attachment list | text, json, table |
| attachment upload | text, json |
| attachment download | text (status only) |
| watchers | text, json, table |
| notify | text, json |
| activity | text, json, table |
| update-fields | text, json |
For command-specific options, use --help on any command:
jira-as collaborate comment add --help
jira-as collaborate notify --help
See references/SCRIPT_OPTIONS.md for full option matrix.
| Code | Description | |------|-------------| | 0 | Success | | 1 | General error (validation, API error, network issue) |
| Error | Solution |
|-------|----------|
| "Comment not found" | Verify comment ID with jira-as collaborate comment list ISSUE-KEY |
| "Attachment not found" | Use --list to see available attachments |
| "Permission denied" | Check visibility role/group permissions |
| "User not found" | Use account ID (not email) for watchers |
| "Notification not received" | Use --dry-run to verify recipients |
For debug mode: export JIRA_DEBUG=1
Getting Started: docs/GETTING_STARTED.md - First 5 minutes
Common Scenarios: docs/scenarios/ - Workflow examples
Reference: docs/QUICK_REFERENCE.md - Commands and JQL
Templates: docs/TEMPLATES.md - Copy-paste ready
Advanced Topics: docs/DEEP_DIVES/ - Deep dive guides
Format Reference: references/adf_guide.md - Markdown to ADF
data-ai
Time tracking, worklogs, and time reports. TRIGGERS: 'log time', 'time spent on', 'log hours', 'log work', 'worklog', 'time tracking', 'timesheet', 'how much time', 'time logged', 'time report', 'export timesheet', 'set estimate', 'remaining estimate', 'original estimate'. Use for time-related queries and operations on issues. NOT FOR: SLA tracking (use jira-jsm), date-based issue searches (use jira-search), issue field updates unrelated to time (use jira-issue).
tools
Find issues by criteria (status, assignee, priority, etc.) using JQL. Create filters, export results to CSV/JSON, bulk update. Ideal for reporting and automation.
testing
Issue linking, blockers, and dependency analysis. TRIGGERS: 'what's blocking', 'what is blocking', 'is blocked by', 'link issues', 'link to', 'blockers for', 'depends on', 'clone issue', 'clone with', 'blocking chain', 'dependency graph', 'show dependencies', 'get blockers', 'relates to', 'duplicates'. Use for issue dependencies, relationships, and cloning. NOT FOR: epic linking (use jira-agile), field updates (use jira-issue), bulk cloning (use jira-bulk).
development
JIRA cache and performance operations. TRIGGERS: 'warm the cache', 'warm cache', 'cache status', 'clear cache', 'cache warm', 'cache for project', 'discover project', 'project discovery', 'cache hit rate', 'optimize performance', 'rate limit'. Use for JIRA API performance optimization and project context discovery. NOT FOR: project configuration/settings (use jira-admin), issue operations (use jira-issue), bulk issue modifications (use jira-bulk).