A Chrome extension to help you quickly navigate to Jira tickets. This tool is designed to make your workflow more efficient and help you stay organized. Feel free to customize it to suit your needs.
- Quickly navigate to Jira tickets by entering the ticket number.
- Maintain a history of recently accessed tickets.
- Customize the base URL for Jira.
- Add and manage ticket prefixes.
- Reset settings to default values.
- Clone the repository:
git clone https://github.com/DennisLiuCk/task-helper-chrome-ext.git
- Open Chrome and navigate to
chrome://extensions/
. - Enable "Developer mode" by toggling the switch in the top right corner.
- Click on "Load unpacked" and select the cloned repository folder.
- Click on the extension icon in the Chrome toolbar.
- Enter the ticket number in the input field.
- Click the "Submit" button or press "Enter" to open the ticket in a new tab.
- Use the "Settings" button to configure the base URL, ticket prefixes, and other settings.
The extension can be configured via the settings page:
- Jira Base URL: The base URL for your Jira instance.
- Ticket Prefixes: Add or remove prefixes for ticket numbers.
- Default Prefix: Set the default prefix for ticket numbers.
- Max History Items: Set the maximum number of recent tickets to display.
The application supports local configuration overrides using config.local.js
. This allows developers to maintain their own configuration without affecting the default settings or other developers' environments.
- Create a new file named
config.local.js
in the root directory - Copy the structure from
config.js
that you want to override - Modify the values as needed
Example config.local.js
:
// config.local.js
window.LOCAL_CONFIG = {
baseUrl: 'https://your-private-jira-url.com/browse/',
swaggerLinks: [
{
name: 'user API',
url: 'https://user-api.com/swagger-ui.html'
},
{
name: 'store API',
url: 'https://store-api.com/swagger-ui.html'
}
]
};
The configuration system follows this precedence order (highest to lowest):
config.local.js
(LOCAL_CONFIG)- User settings from storage
config.js
(DEFAULT_CONFIG)
config.local.js
is ignored by git to prevent accidental commits- Only include the settings you want to override
- The configuration is deep merged, so you only need to specify the values you want