rdbrck / jira-template-injector

MIT License
54 stars 31 forks source link

Jira Template Injector

Chrome Web Store Link. If you find it useful please leave a review!

About:

This extension automatically inserts a template of your choosing into the JIRA Create Issue Description field. The template injected is relative to the selected "Project" and “Issue Type” within the Create Issue modal on JIRA.

By default the extension works for cloud hosted JIRA instances (*.atlassian.net domains). If you are using a self hosted JIRA instance or a custom domain, you may add your own custom domains for the extension to check against. When adding custom domains, you do not need to specify the port. Just specifying the domain (XXXX.net or XXXX.com) should cover you for both http and https as well as any port. You may also add any custom input IDs for which you would like your templates to be injected into.

On initial install a default list of templates are pre populated for you. These can easily be removed/restored at any time.

You can add templates individually, or bulk add them through a local or remote json file. See templates.json for an example JSON file.

The JSON format is:

{
    "templates": [
        {
            "name":"NAME_OF_TEMPLATE",
            "issuetype-field":"issue_type_field",
            "projects-field":"comma_separated_project_keys",
            "text":"text_to_be_injected"
        },
        ...
    ],
    "options": {
        "limit": ["clear","delete","save"],
        "domains": ["mydomain.com"],
        "inputIDs": ["custominputID"]
    }
}

Help:

Current Features:

Future Features:

Images

Default Templates Loaded Template Editor Add Template Create Issue Window with auto Select