The Logseq-JIRA plugin allows users to integrate their JIRA issue data into Logseq for personal notes and tracking. This document provides detailed information on setting up and configuring the plugin.
Check out the discussion on Logseq Forums by clicking here
- Download the Logseq-JIRA plugin from the official repository.
- Install the plugin in Logseq by navigating to
Plugins
>Install Plugin
. - Upload the plugin file and follow the installation prompts.
Configure the primary JIRA account with the following settings:
Setting Key | Title | Description | Type | Default |
---|---|---|---|---|
jiraBaseURL | JIRA Base URL | Enter your JIRA instance's base URL (e.g., xyz.atlassian.net). Do not include 'https://' or a trailing '/'. | String | orgname.atlassian.net |
jiraUsername | JIRA Username | Enter your JIRA username (usually your email address). | String | "" |
jiraAPIToken | JIRA API Token | Enter your JIRA API token. You can generate one here. | String | "" |
jiraAuthType | JIRA Authentication Method | Choose your authentication method: Basic Auth or Personal Access Tokens. | Enum | Basic Auth |
jiraAPIVersion | JIRA API Version | Select the API version your organization uses. Change this only if you use an older on-premise version. | Enum | 3 |
Customize how JIRA issue details are shown in your notes:
Setting Key | Title | Description | Type | Default |
---|---|---|---|---|
updateInlineText | Hyperlink JIRA Issue Keys | Automatically hyperlink JIRA issue keys with their summaries. | Boolean | true |
autoRefresh | Auto Refresh Jira Links | Experimental: Automatically refresh all links at start of Logseq. | Enum | No |
enableOrgMode | Support for Org-Mode vaults | If you use org mode for your content, enable this flag. Turned off by default | Boolean | false |
addToBlockProperties | Add JIRA Fields as Block Properties | Include additional JIRA fields as properties in your text blocks. | Boolean | false |
showSummary | Show Summary | Display the issue summary. | Boolean | false |
showAssignee | Show Assignee | Display the issue assignee. | Boolean | false |
showPriority | Show Priority | Display the issue priority. | Boolean | false |
showFixVersion | Show Fix Version | Display the fix version. | Boolean | false |
showStatus | Show Status | Display the issue status. | Boolean | false |
showReporter | Show Reporter | Display the issue reporter. | Boolean | false |
showResolution | Show Resolution | Display the issue resolution. | Boolean | false |
Configure a second JIRA account if needed:
Setting Key | Title | Description | Type | Default |
---|---|---|---|---|
enableSecond | Enable Second JIRA Account | Enable or disable settings for a second JIRA account. Reload the plugin or restart Logseq after changing this setting. | Boolean | false |
jiraBaseURL2 | JIRA Base URL for Second Account | Enter the base URL for your second JIRA instance (e.g., xyz.atlassian.net). Do not include 'https://' or a trailing '/'. | String | orgname.atlassian.net |
jiraUsername2 | JIRA Username for Second Account | Enter the username for your second JIRA account (usually an email address). | String | "" |
jiraAPIToken2 | JIRA API Token for Second Account | Enter the API token for your second JIRA account. You can generate one here. | String | "" |
jiraAuthType2 | JIRA Authentication Method for Second Account | Choose the authentication method for your second account: Basic Auth or Personal Access Tokens. | Enum | Basic Auth |
jiraAPIVersion2 | JIRA API Version for Second Account | Select the API version used by your second JIRA instance. Change this only if you use an older on-premise version. | Enum | 3 |
Once the plugin is configured, you can start pulling JIRA issue data into Logseq. The plugin will automatically update JIRA issue keys with their summaries and display additional JIRA fields as specified in the settings.
- For updating Jira queries, enter the JIRA URL or Issue Key like 'PROJ-123' and the type /Jira, select 'Jira: Update Issue' to use the first organization's credentials, or 'Jira: Update Issue for 2nd Org.' for 2nd organization's credentials.
- For pulling results from a JQL, type /Jira and select "Jira: Pull JQL results".
To insert a JIRA issue into your Logseq notes, simply type the issue key (e.g., PROJ-123
), then type /Jira and select Update JIRA Issue to fetch and display the issue details based on your configuration.
If you enable the block properties settings, the plugin will add additional JIRA fields as properties to your text blocks, allowing you to see detailed information about each issue at a glance.
- Find and replace all JIRA URLs in the current block.
- Support for inline updates or appending block properties (Unique to Logseq)
- Supports both Jira Cloud and Jira On-Premise and API versions V3 and V2. (On Premise version is untested by developer, but community supported.)
- Refresh summary on rerun on existing links.
- Add more fields to help with context of the tickets
- Added support for two Jira instances/organizations.
- Experimental: Support for JIRA On-premise
- Experimental: Support for JQL queries in children blocks (maxes out at 50 right now)
- Experimental: Auto refresh/update all links when page is loaded.
- Support for Org Mode vaults.
- Auto refresh all Jira links across vault (need to verify performance impact on doing this).
- Create your own Link description format with Jira variables ( '{issueKey} - {status} - {summary}' )
- Git clone the repository to your local system. Or download and extract to a known path.
pnpm install && pnpm build
in terminal to install dependencies and generate distribution folder.- Enable Developer mode in Logseq by going to Settings -> Advanced -> Turn on Developer Mode.
Load unpacked plugin
in Logseq Desktop client and select the folder for the plugin on your disk.- For updates, git pull the main branch and 'Reload Package' under Plugins > Logseq Jira.
- Update version in package.json
- Add all updates to master branch
- Tag the latest commit with new version.
If you encounter any issues, please check the following:
- Ensure your JIRA base URL, username, and API token are correct.
- Verify your JIRA instance's API version.
- Make sure you have enabled the necessary settings for displaying JIRA data.
For further assistance, please refer to the plugin's documentation or contact support.
Contributions to the Logseq-JIRA plugin are welcome. If you would like to contribute, please fork the repository and submit a pull request with your changes.
The Logseq-JIRA plugin is open-source software licensed under the MIT License.