You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* feat: update catalogue (#286)
* Add Translations for Custom Panels and some broken links fix (#288)
* feat: add dev script to package.json and update links in documentation
- Added a new "dev" script to package.json for easier local development.
- Updated links in the device collector and data diagnosis documentation for better navigation.
- Ensured consistent formatting in the device collector documentation.
* Fix absolute links in cn changelog
* create project broken link
* add translations
* translate message converters
* translate topic aliases
* translate other docs
* fix a couple files that did not translate to english
* Add more translations
* Fix/broken links (#289)
* before fixing the markdown references
* fix broken links
---------
Co-authored-by: Woodii <[email protected]>
Copy file name to clipboardExpand all lines: i18n/en/docusaurus-plugin-content-docs/current/collaboration/integration/1-jira-integration.md
+59-48Lines changed: 59 additions & 48 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,61 +3,65 @@ sidebar_position: 1
3
3
---
4
4
5
5
# Jira Integration
6
+
6
7
## Introduction
8
+
7
9
After configuring Jira integration, you can synchronize project tasks to Jira for unified task management on the enterprise ticketing platform. Here are typical use cases:
10
+
8
11
1. When device issues occur, automatically upload data and create tasks in Jira
9
12
2. During data visualization analysis, create tasks at key timestamps and sync them to Jira
10
13
11
14
## Operation Process
15
+
12
16
### Configure Integration
13
17
14
18
> Each project is configured independently, and only project administrators can edit
15
19
16
20
1. Enter the project that needs integration configuration, go to Project Settings - Service Integration - Jira, and click the [Add Config] button.
17
21
18
-

22
+

19
23
20
24
2. Fill in the integration configuration and save. Field descriptions are as follows:
21
25
22
-
```yaml
23
-
enabled: true # Enable configuration
24
-
25
-
endpoint: https://jira.com/ # Jira URL
26
-
httpBasicAuthorization:
27
-
usernameAndPassword:
28
-
username: root # Jira username
29
-
password: admin # Jira password
30
-
31
-
projectKey: TEST # Jira project Key
32
-
issueType: 'Bug'# Jira issue type
33
-
issueTitleTemplate: '{{task.title}}'# Jira issue title, e.g., task name
34
-
issueDescriptionTemplate: | # Issue description
35
-
[Task Name]: {{task.title}}
36
-
[Device ID]: {{device.id}}
37
-
[Record Link]: {{record.link}}
38
-
39
-
customFields: # Issue custom fields
40
-
customfield_1:
41
-
id: '88888'# Field 1 (dropdown style), select option with id 88888
42
-
customfield_2: TEST # Field 2 (text box style), enter content as TEST
43
-
customfield_3: # Field 3, enter P1
44
-
value: P1
45
-
```
26
+
```yaml
27
+
enabled: true # Enable configuration
28
+
29
+
endpoint: https://jira.com/ # Jira URL
30
+
httpBasicAuthorization:
31
+
usernameAndPassword:
32
+
username: root # Jira username
33
+
password: admin # Jira password
34
+
35
+
projectKey: TEST # Jira project Key
36
+
issueType: 'Bug'# Jira issue type
37
+
issueTitleTemplate: '{{task.title}}'# Jira issue title, e.g., task name
38
+
issueDescriptionTemplate: | # Issue description
39
+
[Task Name]: {{task.title}}
40
+
[Device ID]: {{device.id}}
41
+
[Record Link]: {{record.link}}
42
+
43
+
customFields: # Issue custom fields
44
+
customfield_1:
45
+
id: '88888'# Field 1 (dropdown style), select option with id 88888
46
+
customfield_2: TEST # Field 2 (text box style), enter content as TEST
47
+
customfield_3: # Field 3, enter P1
48
+
value: P1
49
+
```
46
50
47
51
- **enabled**
48
-
52
+
49
53
Jira integration status, enable/disable (true/false). Enabled by default, when disabled tasks cannot be synced to Jira
50
54
51
55
- **endpoint**
52
56
53
57
Jira URL, e.g., `https://www.atlassian.com/`
54
58
55
59
- **username**
56
-
60
+
57
61
Jira username, used to create issues and get issue information in Jira projects with this user's identity
58
62
59
63
- **password**
60
-
64
+
61
65
Password corresponding to the Jira username
62
66
63
67
- **projectKey**
@@ -77,18 +81,19 @@ After configuring Jira integration, you can synchronize project tasks to Jira fo
2. After getting all issue type information, use ctrl + f shortcut to quickly find the id corresponding to the issue type you need to configure, e.g., find the id value for `issuetype` `Bug`
84
89
85
-

90
+

86
91
87
92
3. After finding the id corresponding to the issue type, configure it in the `issueType` field.
88
-
89
-
```yaml
90
-
issueType: '10004' # Jira issue type
91
-
```
93
+
94
+
```yaml
95
+
issueType: '10004' # Jira issue type
96
+
```
92
97
93
98
- **issueTitleTemplate**
94
99
@@ -109,52 +114,57 @@ After configuring Jira integration, you can synchronize project tasks to Jira fo
2. After getting all field information, use ctrl + f shortcut to quickly find the custom field name you need to configure, e.g., find the name and value of field `test1-type`
116
122
117
-

123
+

118
124
119
125
3. Enter the corresponding field format according to the [Jira Official Documentation](https://developer.atlassian.com/server/jira/platform/rest/v10000/intro/#field-input-formats), enter the field name and value in the Jira configuration. Taking the multi-select box `test1-type` as an example:
126
+
120
127
- Find "Multi-select Type" in the Jira official documentation, copy the format
121
128
122
129

123
130
124
131
- Under custom fields in the Jira configuration, paste the "Multi-select Type" format, replace the content with the previously found `test1-type` field name and value
Task information in integration supports using variables, see the table below:
133
141
134
-
| Variable Name | Meaning |
135
-
|--------|------|
136
-
| `{{task.title}}` | Task name |
137
-
| `{{record.title}}` | Record name |
142
+
| Variable Name | Meaning |
143
+
|------------------------ | ------------------ |
144
+
| `{{task.title}}` | Task name |
145
+
| `{{record.title}}` | Record name |
138
146
| `{{record.description}}` | Record description |
139
-
| `{{record.labels}}` | Record labels |
140
-
| `{{record.link}}` | Record link |
141
-
| `{{device.id}}` | Device ID |
142
-
| `{{device.title}}` | Device name |
147
+
| `{{record.labels}}` | Record labels |
148
+
| `{{record.link}}` | Record link |
149
+
| `{{device.id}}` | Device ID |
150
+
| `{{device.title}}` | Device name |
143
151
144
152
### Synchronize Tasks to Jira
145
153
146
154
> After Jira integration configuration is complete, general tasks in the project can be synchronized to Jira. Learn about [General Tasks](../project-collaboration/2-general-task.md)
147
155
148
156
1. Enter the project's "General Tasks" page, click the [Sync Task] button corresponding to the task
149
157
150
-

158
+

151
159
152
160
2. After successful synchronization, the created Jira link and status will be displayed. Click the status button to jump to Jira to view issue details.
153
161
154
162
## Managing Jira Integration
163
+
155
164
> Only project administrators can manage Jira integration
156
165
157
166
### Edit Integration
167
+
158
168
1. In the project, go to "Project Settings - Service Integration" page, click [Edit Config] for Jira.
159
169
160
170

@@ -164,10 +174,11 @@ Task information in integration supports using variables, see the table below:
164
174

165
175
166
176
### Delete Integration
177
+
167
178
1. In the project, go to "Project Settings - Service Integration" page, click [Edit Config] for Jira.
168
179
169
180

170
181
171
182
2. Click [Delete], confirm again to delete the integration information. After deletion, tasks cannot be synchronized to Jira.
0 commit comments