ai_project_template / atlassian
Cursor rule1 starsChanged 13 months agoMITView on GitHub
Complete integration with Atlassian products (Jira, Confluence, Bitbucket, Trello) for project management, documentation, and code repository operations. Use these rules when user requests involve: - Jira issue operations (create, update, query) - Confluence page management - Bitbucket repository/PR operations - Trello board/card management - Atlassian workflow automation - Cross-product integrations Jira: Issue tracking, project management, agile workflows Confluence: Documentation, knowledge base, collaboration (MCP: fstrent_mcp_confluence) Bitbucket: Code repositories, pull requests, code review Trello: Board management, task tracking Store credentials in .env.atlassian:
- Reads credentials
Where files are headingNew Cursor rule files have more rules about planning and tracking tasks, and fewer about code style.
Of the Cursor rule files we read, the 1,533 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository40 other files it gives its agents.
- agents.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- .cursor/rules/always.mdcCursor rule
- .cursor/rules/computer_use/computer_use_agent.mdcCursor rule
- .cursor/rules/documentation.mdcCursor rule
- .cursor/rules/fstrent_spec_tasks/claude_code_cli.mdcCursor rule
- .cursor/rules/github/github_integration.mdcCursor rule
- .cursor/rules/powershell.mdcCursor rule
- .cursor/rules/silicon_valley_personality.mdcCursor rule
- .cursor/rules/virtual_environments_python.mdCursor rule
- .cursor/rules/web_tools/web_tools.mdcCursor rule
- artifacts-builderSkill
- atlassian-integrationSkill
- claude-code-cli-integrationSkill
- computer-use-agentSkill
- deep-researchSkill
- fstrent-code-reviewerSkill
- fstrent-planningSkill
- fstrent-qaSkill
- fstrent-task-managementSkill
- github-integrationSkill
- hanx-database-toolsSkill
- hanx-knowledge-baseSkill
- hanx-mediawikiSkill
- hanx-youtube-researcherSkill
- internal-commsSkill
- mcp-builderSkill
- oracle-apex-developmentSkill
- patent-filing-aiSkill
- Project SetupSkill
- research-methodologySkill
- skill-creatorSkill
- startup-business-formationSkill
- startup-product-developmentSkill
- startup-resource-accessSkill
- startup-vc-fundraisingSkill
- template-skillSkill
- web-toolsSkill
- youtube-rag-storageSkill
- youtube-video-analysisSkill
The file
We split this atlassian_integration.mdc into the rules it gives an agent
6 rules. About 0 are common, 5 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈5
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 9
Use these rules when user requests involve:
- Distinctive: line 129
401 Unauthorized: Check API token validity
- Distinctive: line 130
403 Forbidden: Verify user permissions
- Distinctive: line 132
404 Not Found: Verify resource ID/key
- Very specific: line 154
If fstrent_mcp_confluence is configured in .mcp.json, prefer MCP tools:
- Distinctive: line 169
Remember: Ensure proper authorization and follow organizational policies for Atlassian API access.
≈ “Common” is an estimate: at least 1 in 5 of the 3,030 Cursor rule files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
# Atlassian Integration - Cursor Rules
## Overview
Complete integration with Atlassian products (Jira, Confluence, Bitbucket, Trello) for project management, documentation, and code repository operations.
## When to Apply
Use these rules when user requests involve:
- Jira issue operations (create, update, query)
- Confluence page management
- Bitbucket repository/PR operations
- Trello board/card management
- Atlassian workflow automation
- Cross-product integrations
## Available Integrations
**Jira:** Issue tracking, project management, agile workflows
**Confluence:** Documentation, knowledge base, collaboration (MCP: `fstrent_mcp_confluence`)
**Bitbucket:** Code repositories, pull requests, code review
**Trello:** Board management, task tracking
## Core Workflows
### Jira Issue Management
```
Create issue:
1. Gather: project key, type, summary, description
2. Validate project exists
3. Create via API
4. Return issue key and URL
Query issues (JQL):
1. Build JQL query from criteria
2. Execute search
3. Format results
4. Return structured data
Transition issue:
1. Get issue key and target status
2. Verify transition is valid
3. Execute transition
4. Return confirmation
```
### Confluence Pages
```
Create page:
1. Gather: space key, title, content
2. Convert to Confluence format
3. Create via MCP or API
4. Return page ID and URL
Update page:
1. Get page ID
2. Increment version
3. Update content
4. Return updated page URL
Search:
1. Build CQL query
2. Execute search
3. Return matching pages
```
### Bitbucket Operations
```
Create PR:
1. Get source and target branches
2. Generate title/description from commits
3. Add reviewers
4. Create PR
5. Return PR URL
Review PR:
1. Get PR changes
2. Review code
3. Add comments
4. Approve or request changes
```
### Trello Management
```
Create card:
1. Get board and list IDs
2. Set card details
3. Create via API
4. Return card URL
Move card:
1. Get card and target list
2. Move card
3. Return confirmation
```
## Query Languages
### JQL (Jira)
```jql
# Open bugs in current sprint
project = PROJ AND type = Bug AND sprint in openSprints() AND status != Done
# My high priority issues
assignee = currentUser() AND priority = High
```
### CQL (Confluence)
```cql
# Search by title
title ~ "API Documentation"
# Recent pages in space
space = TEAM AND lastModified >= now("-7d")
```
## Authentication
Store credentials in `.env.atlassian`:
```bash
JIRA_URL=https://company.atlassian.net
JIRA_API_TOKEN=your_token
CONFLUENCE_URL=https://company.atlassian.net/wiki
CONFLUENCE_API_TOKEN=your_token
```
## Error Handling
**401 Unauthorized:** Check API token validity
**403 Forbidden:** Verify user permissions
**429 Rate Limited:** Implement exponential backoff
**404 Not Found:** Verify resource ID/key
## Best Practices
**Security:**
- ✅ Store tokens in environment variables
- ✅ Use minimum required permissions
- ❌ Never commit tokens to repository
**Operations:**
- ✅ Validate inputs before API calls
- ✅ Use bulk operations for efficiency
- ✅ Handle rate limiting
- ✅ Cache responses appropriately
**User Experience:**
- ✅ Explain operations before executing
- ✅ Provide progress updates
- ✅ Return URLs for created resources
## MCP Server (Confluence)
If `fstrent_mcp_confluence` is configured in `.mcp.json`, prefer MCP tools:
- `confluence_create_page`
- `confluence_update_page`
- `confluence_get_page`
- `confluence_search`
## Reference
For detailed information, see Claude Code Skill:
- `.claude/skills/atlassian-integration/SKILL.md`
- `.claude/skills/atlassian-integration/rules.md`
- `.claude/skills/atlassian-integration/examples/workflow_examples.md`
---
**Remember:** Ensure proper authorization and follow organizational policies for Atlassian API access.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

