forked from mattermost/mattermost-plugin-jira
-
Notifications
You must be signed in to change notification settings - Fork 0
/
plugin.json
128 lines (128 loc) Β· 6.74 KB
/
plugin.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
{
"id": "jira",
"name": "Jira",
"description": "Atlassian Jira plugin for Mattermost.",
"homepage_url": "https://github.com/mattermost/mattermost-plugin-jira",
"support_url": "https://github.com/mattermost/mattermost-plugin-jira/issues",
"icon_path": "assets/icon.svg",
"min_server_version": "7.8.0",
"server": {
"executables": {
"darwin-amd64": "server/dist/plugin-darwin-amd64",
"darwin-arm64": "server/dist/plugin-darwin-arm64",
"linux-amd64": "server/dist/plugin-linux-amd64",
"linux-arm64": "server/dist/plugin-linux-arm64",
"windows-amd64": "server/dist/plugin-windows-amd64.exe"
},
"executable": ""
},
"webapp": {
"bundle_path": "webapp/dist/main.js"
},
"settings_schema": {
"header": "Please refer to the '/jira' command [**documentation**](https://mattermost.com/pl/integrate/jira-admin-setup) to further configure the Jira plugin.",
"footer": "Please refer to the '/jira' command [**documentation**](https://mattermost.com/pl/integrate/jira-admin-setup) to further configure the Jira plugin. Specifically, ['/jira instance [un-]install'](https://mattermost.com/pl/integrate/jira-admin-setup) and ['/jira webhook'](https://mattermost.com/pl/integrate/configure-webhooks-in-jira).",
"settings": [
{
"key": "EnableJiraUI",
"display_name": "Allow users to attach and create Jira issues in Mattermost:",
"type": "bool",
"help_text": "When **false**, users cannot attach and create Jira issues in Mattermost. Does not affect Jira webhook notifications. Select **false** then disable and re-enable this plugin in **System Console \u003e Plugins \u003e Plugin Management** to reset the plugin state for all users. \n \n When **true**, install this plugin to your Jira instance with '/jira install' to allow users to create and manage issues across Mattermost channels. See [documentation](https://about.mattermost.com/default-jira-plugin-link-application) to learn more.",
"placeholder": "",
"default": true
},
{
"key": "secret",
"display_name": "Webhook Secret:",
"type": "generated",
"help_text": "The secret used to authenticate the webhook to Mattermost.",
"regenerate_help_text": "Regenerates the secret for the webhook URL endpoint. Regenerating the secret invalidates your existing Jira integrations.",
"placeholder": "",
"default": null,
"secret": true
},
{
"key": "RolesAllowedToEditJiraSubscriptions",
"display_name": "Mattermost Roles Allowed to Edit Jira Subscriptions:",
"type": "radio",
"help_text": "Mattermost users who can subscribe channels to Jira tickets.",
"placeholder": "",
"default": "system_admin",
"options": [
{
"display_name": "All users",
"value": "users"
},
{
"display_name": "Users who can manage channel settings",
"value": "channel_admin"
},
{
"display_name": "Users who can manage teams",
"value": "team_admin"
},
{
"display_name": "System Admins",
"value": "system_admin"
}
]
},
{
"key": "GroupsAllowedToEditJiraSubscriptions",
"display_name": "Jira Groups Allowed to Edit Jira Subscriptions:",
"type": "text",
"help_text": "Comma separated list of Group Names. List the Jira user groups who can create subscriptions. If none are specified, any Jira user can create a subscription. Jira groups restrictions are only applicable for a legacy instance installed on Jira 2.4 or earlier.",
"placeholder": "",
"default": ""
},
{
"key": "SecurityLevelEmptyForJiraSubscriptions",
"display_name": "Default Subscription Security Level to Empty:",
"type": "bool",
"help_text": "Subscriptions will only include issues that have a security level assigned if the appropriate security level has been included as a filter",
"placeholder": "",
"default": true
},
{
"key": "JiraAdminAdditionalHelpText",
"display_name": "Additional Help Text to be shown with Jira Help:",
"type": "text",
"help_text": "Additional Help Text to be shown to the user along with the output of '/jira help' command.",
"placeholder": "",
"default": ""
},
{
"key": "HideDecriptionComment",
"display_name": "Hide issue descriptions and comments:",
"type": "bool",
"help_text": "Hide detailed issue descriptions and comments from Subscription and Webhook messages",
"placeholder": "",
"default": false
},
{
"key": "EnableAutocomplete",
"display_name": "Enable slash command autocomplete:",
"type": "bool",
"help_text": "Autocomplete guides users through the available '/jira' slash commands.",
"placeholder": "",
"default": true
},
{
"key": "DisplaySubscriptionNameInNotifications",
"display_name": "Display subscription name in notifications:",
"type": "bool",
"help_text": "Display subscription name in post when a subscription posts to a channel",
"placeholder": "",
"default": false
},
{
"key": "AdminAPIToken",
"display_name": "Admin API Token",
"type": "text",
"help_text": "Set this [API token](https://support.atlassian.com/atlassian-account/docs/manage-api-tokens-for-your-atlassian-account/) to get notified for comment and issue created events even if the user triggering the event is not connected to Jira.\n **Note:** API token should be created using an admin Jira account. Otherwise, the notification will not be delivered for the project the user cannot access.",
"placeholder": "",
"default": ""
}
]
}
}