Atlassian Agent
This page provides detailed configuration instructions for the Atlassian AI Agent, which enables integration with Jira and Confluence for automated issue management, content extraction, advanced searc

Overview
Search and retrieve Jira issues and Confluence pages through Blockbrain
Create, update, and manage Jira tasks, issues, and projects
Extract and summarize content from Confluence spaces and pages for reporting or AI analysis
Access project, issue, and page metadata for enhanced workflow automation
Automate processes and reporting across Jira and Confluence using Atlassian data

Prerequisites
Complete the general setup steps from the main AI Agents page
Ensure users have active Atlassian Cloud accounts with access to Jira and/or Confluence
Verify appropriate Atlassian product licensing for Jira and Confluence
Atlassian App Registration Configuration
Required API Permissions
Add the following Atlassian API permissions (OAuth 2.0 scopes) to your app registration:
offline_access
Delegated
Maintain access to data you have given it access to
read:confluence-space.summary
Delegated
View summary information about Confluence spaces
read:confluence-props
Delegated
View Confluence content properties
read:confluence-content.all
Delegated
View all Confluence content (pages, blogs, etc.)
read:confluence-content.summary
Delegated
View summary information about Confluence content
read:confluence-content.permission
Delegated
View permissions for Confluence content
read:confluence-user
Delegated
View Confluence users
read:confluence-groups
Delegated
View Confluence groups
readonly:content.attachment:confluence
Delegated
View attachments in Confluence content
search:confluence
Delegated
Search Confluence content
As alternative, you can use the
.defaultscope (uses all scopes set in the app)
Redirect URL
Add https://nango.theblockbrain.ai/oauth/callback as allowed redirect URL to your app registration
Permission Configuration Steps
In your Atlassian developer console, go to your app’s OAuth 2.0 (3LO) configuration
Click "Add scopes"
Search for and select each required permission scope (see table above)
Click "Add" to include the selected scopes in your app
Save your changes
(Recommended) Have an Atlassian admin grant consent for all required scopes for organization-wide deployment
Agent Configuration in Blockbrain


Access Agent Settings:
Navigate to your Blockbrain admin panel
Go to Agents > Atlassian Agent
Click "Configure"
Enter Azure Credentials:
Client ID: Enter the Application ID from your Azure app registration
Client Secret: Paste the client secret you generated
Tenant: Enter your Azure tenant ID
Configure OAuth Scopes:
Add each required scope individually using the "Add" button as mentioned here
Each scope will appear as a removable tag
Use the "X" button to remove incorrect scopes
Additional Configuration (Optional):
Add custom key-value pairs if needed for specific requirements
Configure any organization-specific settings
Save Configuration:
Click "Save" to apply the settings
Wait for the confirmation message
Alternative: Admin Consent Configuration
For simplified scope management with admin pre-approval:
In the Atlassian Developer Console, have an admin grant consent for all required permission scopes.
In Blockbrain configuration, use the
.defaultscope instead of individual scopes.This eliminates the need for users to consent to individual permissions.
Testing the Atlassian Agent
Verification Steps
Connection Test:
Use the built-in connection test in Blockbrain.
Verify successful authentication with the Atlassian API.
User Testing:
Have a test user connect their Atlassian account.
Attempt to access a known Jira issue or Confluence page.
Verify issue/page retrieval and search functionality.
Permission Validation:
Check that the agent can access the appropriate Jira projects and Confluence spaces.
Confirm read/write permissions are working correctly.
Common Atlassian Integration Use Cases
Issue Search: Find Jira issues across multiple projects.
Content Extraction: Access and summarize Confluence pages for AI analysis.
Project Navigation: Browse Jira project structures and Confluence spaces.
Metadata Retrieval: Retrieve issue properties, page metadata, and comments.
Troubleshooting
Authentication Issues
Problem: "Access denied" or authentication failures
Solution: Verify admin consent is granted for all required Atlassian API permissions scopes
Check: Ensure the redirect URL is exactly
https://nango.theblockbrain.ai/oauth/callback
Permission Errors
Problem: "Insufficient privileges" when accessing Jira or Confluence
Solution: Confirm the app registration has all necessary Jira and Confluence API scopes.
Check: Verify the user has access to the relevant projects and spaces in your Atlassian organization.
Scope Configuration Issues
Problem: Scopes not saving correctly
Solution: Add each scope individually using the "Add" button
Check: Remove any duplicate or incorrect scopes using the "X" button
Security Considerations
Data Access: The agent inherits the user's Atlassian permissions.
Project/Space Scope: Access is limited to projects and spaces the authenticated user can access.
Data Privacy: Data is processed according to Blockbrain's data handling policies.
Audit Trail: Atlassian access is logged in both Atlassian Cloud and Blockbrain audit logs.
Next Steps
After successful Atlassian Agent configuration:
Train users on Atlassian integration features
Last updated

