How the connector works
The connector reads issues from the projects you choose, keeps the ones that match your filters, and adds them to the knowledge base. Comments, worklogs, and attachments become child documents linked to their parent issue.What happens at each stage
What happens at each stage
- The connector authenticates with the Jira auth profile and connects to your Jira Cloud site.
- It reads issues from each project key, and keeps the ones that match the issue type, status, label, date, and JQL filters.
- It indexes each issue with its summary, description, status, priority, project, assignee, and reporter, and adds the child resources you select.
- If you keep Permission-aware ACL on, it applies assignee, reporter, and watcher evidence to search results.
Before you begin
Make sure that you have the following:- A Jira Cloud site, and the keys of the projects to index.
- An Atlassian account that can browse those projects, and permission to create an OAuth app or API token.
- A knowledge base in your project, and permission to add sources to it.
Step 1: Prepare Atlassian access
Give the connector read access to your Jira site. Choose an auth type first. The platform recommends OAuth app because it lets you discover and select the site, and it doesn’t depend on one user’s password.- OAuth app (recommended)
- Basic
- Bearer token
- In the Atlassian Developer Console, create an OAuth 2.0 integration.
- Under Permissions, add the Jira API, and then add the scopes in Required scopes.
- Under Authorization, add the Callback URL from the auth profile form in Step 2.
- Under Settings, copy the Client ID and Secret.
Required scopes
Required scopes
The OAuth app requests read-only scopes. It requests no write scope.
Step 2: Create the auth profile
The auth profile stores the credentials from Step 1 and signs each request that the connector sends. You can create the profile from the connector, so you don’t need to leave the setup flow.1
Open the Jira connector
- Go to Knowledge Bases, and then open your knowledge base.
- On Overview, under Connect a data source, select Jira, and then select Connect.
- On the Connect a Jira Cloud site step, select New auth profile. The new auth profile panel opens.
2
Enter the profile details
3
Configure the credentials
- OAuth 2.0 App (recommended)
- Basic Auth
- Bearer Token
The form fills in the Atlassian endpoints and scopes. Keep these values.
4
Save the profile
Select Create Profile. For an OAuth app, complete the Atlassian authorization. The connector returns to the Connect step.
Step 3: Configure the connector
Tell the connector which site and projects to read, which issues to keep, and which child resources to include.1
Connect
2
Projects and filters
Project keys set the boundary of the source. The optional filters narrow what each sync reads.
Advanced: JQL
Advanced: JQL
3
Objects and child resources
4
Permissions
Optional. Keep Permission-aware ACL on to apply Jira visibility to search results. See Permissions.
Step 4: Validate and activate
Test the configuration on a small sample before the first full sync. Validation catches access and filter errors early, before you index any content.1
Generate a proposal
Select Generate proposal. The server validates the configuration and compiles the connector package.
2
Run a dry run
Select Dry run. The connector reads a bounded sample of issues without indexing them. Fix any access or filter errors before you continue.
3
Approve and sync
Select Approve & sync. The first sync starts and indexes all matching issues.
Sync behavior
After the first sync, the connector processes new and updated issues in the selected projects. You can also start a sync at any time from the source.- A manual sync runs immediately, whatever the schedule.
- Changes to project keys, filters, child resources, or the auth profile apply on the next sync.
- Modified after and Modified before limit every sync, not only the first one.
Permissions
By default, the connector keeps Permission-aware ACL on. It returns an issue only to users that Jira links to the issue as assignee, reporter, or watcher. When the connector can’t prove that a user can see an issue, it hides the issue from that user.Limits and considerations
Keep these limits in mind when you plan the scope of the connector.- The connector reads only the projects in Project keys. JQL can’t widen that boundary.
- Permission-aware ACL uses direct assignee, reporter, and watcher evidence. It doesn’t evaluate Jira permission schemes, project roles, or issue security levels.
- This connector supports Jira Cloud. For Jira Data Center or Server, use the Jira Data Center connector.