Installation
Before installing the app, check that your Jira instance can access the knowledge-base-api.secureflag.com and knowledge-base.secureflag.com domains, as these are necessary for the app to work. If you have a firewall, it may interfere. These can be tested by running the following:
This should return HTTP/2 400.
This should return HTTP/2 200.
Installing directly on the Jira instance:
- Log in to your instance of Jira as an admin.
- Select the Settings dropdown menu (gear icon on the top right) and choose Manage apps.
- Select Find new apps from the left-hand menu.
- Once the screen loads, type SecureFlag Knowledge Base in the search bar to find the appropriate app version.
- Select Install and follow the prompts to install the app.
- Click the Get it now button to download the plugin .obr file.
- Within Jira, navigate to the Manage apps or Manage add-ons page. This can be done by clicking on the settings icon at the top right, and clicking either Manage apps or Add-ons, depending on your Jira version. Then, from the sidebar on the left, go to Manage add-ons or Manage apps.
- Click on the Upload app link. Then, click Choose File and navigate to where the knowledgebase-X.X.X.obr file was downloaded. Select it.
- Click Upload to install the plugin.
- A progress bar should be presented. Wait for Jira to finish installing the plugin.
- Done!
Admin Settings
Jira administrators can configure:
- Project Filter: Control the app's availability for specific projects.
- Issue Type & Label Filter: Restrict the app's visibility by targeting specific issue types and labels.
- Proxy Settings: Route app traffic through a proxy, with configurable host and port for environments with restricted outbound network access.
- Match Issue Title Only: Choose whether matching uses only the issue title or the full title and description for broader context.
- AI Enhanced Matching: Enable AI-powered knowledge base matching for more accurate, context-aware results.
Accessing the Configuration
Navigate to Settings (the gear icon on the top right) in the top navigation bar and select Manage apps.
- Select Manage apps from the left navigation pane.
- Locate the app in the list and click on it to open the details view.
Click Configure to access the settings.
Configuration Options
Plugin Visibility Settings
Admins can set the plugin visibility controls based on the following options:
- Project Filter: Enable this toggle to restrict the app to specific projects.
- Issue Types & Labels Filter: Enable this toggle to restrict the app based on issue types or labels.
- Once a filter is enabled, use the corresponding multi-select dropdown to choose the applicable projects, issue types, or labels.
Note: If a filter toggle remains off, the app will be enabled for all options in that category by default.Proxy Settings
In this section admins can optionally configure proxy settings for the app with the following options:
- Proxy Enabled: Toggle this option on if your environment requires routing external requests through a proxy server.
- Host: Specify the hostname or IP address of the proxy server.
- Port: Enter the port number used by the proxy server to handle outgoing connections.
Match Issue Title Only
- Match Title Only: Enable this toggle to limit matching to the issue title alone.
When the toggle is off, matching uses the full issue title and description. This is the default behavior.
AI Enhanced Matching
- Enable AI Enhanced Matching: Enable this toggle to activate AI-enhanced knowledge base matching.
- SecureFlag API Access Token: Enter the API access token generated in the SecureFlag Management Portal.
How to generate SecureFlag API Access Token:
- Log in to SecureFlag as an Organization Admin. In the Management Portal, click the Settings icon in the top-right corner of the navigation bar.
- Scroll to the API Access Tokens section. Select either Read knowledge base or Full Access as the scope, then enter a name for the token and click Generate.
- Copy and save the token displayed in the modal as it will not be shown again.
Saving the Configuration
After configuring your settings, click Save to apply the changes.
Usage
The plugin can be found in the right hand side of the issue view. It will automatically attempt to find a relevant training article from the content of the issue, and display a result accordingly.
By default, it provides a technology-specific article, however by selecting a technology from the dropdown, a custom technology can be selected.