@atlassian-dc-mcp/jira 0.12.0 → 0.12.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +19 -0
- package/README.md +30 -2
- package/build/jira-service.js +3 -3
- package/build/jira-service.js.map +1 -1
- package/package.json +3 -3
- package/src/jira-service.ts +3 -3
- package/tsconfig.tsbuildinfo +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,25 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [0.12.2](https://github.com/b1ff/atlassian-dc-mcp/compare/v0.12.1...v0.12.2) (2026-03-21)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **jira:** address [#16](https://github.com/b1ff/atlassian-dc-mcp/issues/16) exposing labels and other hints through the customFields in the description of the tool. Update docs as well to reflect it. ([979a5fa](https://github.com/b1ff/atlassian-dc-mcp/commit/979a5fab8290f300c57a812be1cff4faa885a0ab))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
## [0.12.1](https://github.com/b1ff/atlassian-dc-mcp/compare/v0.12.0...v0.12.1) (2026-03-21)
|
|
18
|
+
|
|
19
|
+
**Note:** Version bump only for package @atlassian-dc-mcp/jira
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
6
25
|
# [0.12.0](https://github.com/b1ff/atlassian-dc-mcp/compare/v0.11.2...v0.12.0) (2026-03-18)
|
|
7
26
|
|
|
8
27
|
**Note:** Version bump only for package @atlassian-dc-mcp/jira
|
package/README.md
CHANGED
|
@@ -112,15 +112,43 @@ Parameters:
|
|
|
112
112
|
Create a new issue in the JIRA Data Center edition instance.
|
|
113
113
|
|
|
114
114
|
Parameters:
|
|
115
|
-
- `projectId` (string, required):
|
|
115
|
+
- `projectId` (string, required): Project key (despite the parameter name, e.g., "PROJ")
|
|
116
116
|
- `summary` (string, required): Issue summary
|
|
117
117
|
- `description` (string, required): Issue description in format suitable for JIRA Data Center edition (JIRA Wiki Markup)
|
|
118
118
|
- `issueTypeId` (string, required): ID of the issue type
|
|
119
|
+
- `customFields` (object, optional): Additional JIRA fields merged into the issue payload. Can be used for custom fields and standard fields such as `labels`. Example: `{"labels":["urgent","bug"],"customfield_10001":"Custom Value"}`
|
|
119
120
|
|
|
120
|
-
#### 5.
|
|
121
|
+
#### 5. jira_updateIssue
|
|
122
|
+
|
|
123
|
+
Update an existing issue in the JIRA Data Center edition instance.
|
|
124
|
+
|
|
125
|
+
Parameters:
|
|
126
|
+
- `issueKey` (string, required): The issue key (e.g., "PROJECT-123")
|
|
127
|
+
- `summary` (string, optional): New issue summary
|
|
128
|
+
- `description` (string, optional): New issue description in format suitable for JIRA Data Center edition (JIRA Wiki Markup)
|
|
129
|
+
- `issueTypeId` (string, optional): New issue type ID
|
|
130
|
+
- `customFields` (object, optional): Additional JIRA fields merged into the update payload. Can be used for custom fields and standard fields such as `labels`. Example: `{"labels":["urgent","bug"],"customfield_10001":"Custom Value"}`
|
|
131
|
+
|
|
132
|
+
#### 6. jira_postIssueComment
|
|
121
133
|
|
|
122
134
|
Add a comment to a JIRA issue in the JIRA Data Center edition instance.
|
|
123
135
|
|
|
124
136
|
Parameters:
|
|
125
137
|
- `issueKey` (string, required): The issue key (e.g., "PROJECT-123")
|
|
126
138
|
- `comment` (string, required): Comment text in format suitable for JIRA Data Center edition (JIRA Wiki Markup)
|
|
139
|
+
|
|
140
|
+
#### 7. jira_getTransitions
|
|
141
|
+
|
|
142
|
+
Get the available workflow transitions for a JIRA issue in the JIRA Data Center edition instance.
|
|
143
|
+
|
|
144
|
+
Parameters:
|
|
145
|
+
- `issueKey` (string, required): The issue key (e.g., "PROJECT-123")
|
|
146
|
+
|
|
147
|
+
#### 8. jira_transitionIssue
|
|
148
|
+
|
|
149
|
+
Transition a JIRA issue to a new status in the JIRA Data Center edition instance.
|
|
150
|
+
|
|
151
|
+
Parameters:
|
|
152
|
+
- `issueKey` (string, required): The issue key (e.g., "PROJECT-123")
|
|
153
|
+
- `transitionId` (string, required): Transition ID returned by `jira_getTransitions`
|
|
154
|
+
- `fields` (object, optional): Additional fields required by the transition screen
|
package/build/jira-service.js
CHANGED
|
@@ -101,18 +101,18 @@ export const jiraToolSchemas = {
|
|
|
101
101
|
comment: z.string().describe("Comment text in the format suitable for JIRA DATA CENTER edition (JIRA Wiki Markup).")
|
|
102
102
|
},
|
|
103
103
|
createIssue: {
|
|
104
|
-
projectId: z.string().describe("Project
|
|
104
|
+
projectId: z.string().describe("Project key (despite the parameter name, e.g. TEST)"),
|
|
105
105
|
summary: z.string().describe("Issue summary"),
|
|
106
106
|
description: z.string().describe("Issue description in the format suitable for JIRA DATA CENTER edition (JIRA Wiki Markup)."),
|
|
107
107
|
issueTypeId: z.string().describe("Issue type id (e.g. id of Task, Bug, Story). Should be found first a correct number for specific JIRA installation."),
|
|
108
|
-
customFields: z.record(z.any()).optional().describe("Optional custom fields as
|
|
108
|
+
customFields: z.record(z.any()).optional().describe("Optional fields merged into the JIRA create payload. Can be used for custom fields and standard fields such as labels. Examples: {'customfield_10001': 'Custom Value', 'priority': {'id': '1'}, 'assignee': {'name': 'john.doe'}, 'labels': ['urgent', 'bug']}")
|
|
109
109
|
},
|
|
110
110
|
updateIssue: {
|
|
111
111
|
issueKey: z.string().describe("JIRA issue key (e.g., PROJ-123)"),
|
|
112
112
|
summary: z.string().optional().describe("New summary (optional)"),
|
|
113
113
|
description: z.string().optional().describe("New description in JIRA Wiki Markup (optional)"),
|
|
114
114
|
issueTypeId: z.string().optional().describe("New issue type id (optional)"),
|
|
115
|
-
customFields: z.record(z.any()).optional().describe("Optional custom fields
|
|
115
|
+
customFields: z.record(z.any()).optional().describe("Optional fields merged into the JIRA update payload. Can be used for custom fields and standard fields such as labels. Examples: {'customfield_10001': 'Custom Value', 'priority': {'id': '1'}, 'assignee': {'name': 'john.doe'}, 'labels': ['urgent', 'bug']}")
|
|
116
116
|
},
|
|
117
117
|
getTransitions: {
|
|
118
118
|
issueKey: z.string().describe("JIRA issue key (e.g., PROJ-123)")
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"jira-service.js","sourceRoot":"","sources":["../src/jira-service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAC9D,OAAO,EAAE,YAAY,EAAE,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAE9E,MAAM,OAAO,WAAW;IACtB,YAAY,IAAY,EAAE,KAAa,EAAE,WAAoB;QAC3D,OAAO,CAAC,IAAI,GAAG,WAAW,IAAI,WAAW,IAAI,OAAO,CAAC;QACrD,OAAO,CAAC,KAAK,GAAG,KAAK,CAAC;QACtB,OAAO,CAAC,OAAO,GAAG,GAAG,CAAC;IACxB,CAAC;IAED,KAAK,CAAC,YAAY,CAAC,GAAW,EAAE,OAAgB,EAAE,MAAiB,EAAE,aAAqB,EAAE;QAC1F,OAAO,kBAAkB,CAAC,GAAG,EAAE;YAC7B,OAAO,aAAa,CAAC,wBAAwB,CAAC;gBAC5C,GAAG;gBACH,UAAU;gBACV,MAAM;gBACN,OAAO;aACR,CAAC,CAAC;QACL,CAAC,EAAE,wBAAwB,CAAC,CAAC;IAC/B,CAAC;IAED,KAAK,CAAC,QAAQ,CAAC,QAAgB,EAAE,MAAe;QAC9C,OAAO,kBAAkB,CAAC,GAAG,EAAE,CAAC,YAAY,CAAC,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC,EAAE,qBAAqB,CAAC,CAAC;IAClG,CAAC;IAED,KAAK,CAAC,gBAAgB,CAAC,QAAgB,EAAE,MAAe;QACtD,OAAO,kBAAkB,CAAC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CAAC,GAAG,EAAE,CAAC,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,mIAAmI,CAAC;KACnL;CACF,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlassian-dc-mcp/jira",
|
|
3
|
-
"version": "0.12.
|
|
3
|
+
"version": "0.12.2",
|
|
4
4
|
"main": "build/index.js",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": "./bin/run.js",
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"test": "jest"
|
|
16
16
|
},
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@atlassian-dc-mcp/common": "^0.12.
|
|
18
|
+
"@atlassian-dc-mcp/common": "^0.12.2",
|
|
19
19
|
"@modelcontextprotocol/sdk": "^1.27.1",
|
|
20
20
|
"dotenv": "^16.4.7",
|
|
21
21
|
"zod": "^3.24.2"
|
|
@@ -29,5 +29,5 @@
|
|
|
29
29
|
"publishConfig": {
|
|
30
30
|
"access": "public"
|
|
31
31
|
},
|
|
32
|
-
"gitHead": "
|
|
32
|
+
"gitHead": "6488590c1832714d510cc4a4f5f3d9e8e38f3b09"
|
|
33
33
|
}
|
package/src/jira-service.ts
CHANGED
|
@@ -136,18 +136,18 @@ export const jiraToolSchemas = {
|
|
|
136
136
|
comment: z.string().describe("Comment text in the format suitable for JIRA DATA CENTER edition (JIRA Wiki Markup).")
|
|
137
137
|
},
|
|
138
138
|
createIssue: {
|
|
139
|
-
projectId: z.string().describe("Project
|
|
139
|
+
projectId: z.string().describe("Project key (despite the parameter name, e.g. TEST)"),
|
|
140
140
|
summary: z.string().describe("Issue summary"),
|
|
141
141
|
description: z.string().describe("Issue description in the format suitable for JIRA DATA CENTER edition (JIRA Wiki Markup)."),
|
|
142
142
|
issueTypeId: z.string().describe("Issue type id (e.g. id of Task, Bug, Story). Should be found first a correct number for specific JIRA installation."),
|
|
143
|
-
customFields: z.record(z.any()).optional().describe("Optional custom fields as
|
|
143
|
+
customFields: z.record(z.any()).optional().describe("Optional fields merged into the JIRA create payload. Can be used for custom fields and standard fields such as labels. Examples: {'customfield_10001': 'Custom Value', 'priority': {'id': '1'}, 'assignee': {'name': 'john.doe'}, 'labels': ['urgent', 'bug']}")
|
|
144
144
|
},
|
|
145
145
|
updateIssue: {
|
|
146
146
|
issueKey: z.string().describe("JIRA issue key (e.g., PROJ-123)"),
|
|
147
147
|
summary: z.string().optional().describe("New summary (optional)"),
|
|
148
148
|
description: z.string().optional().describe("New description in JIRA Wiki Markup (optional)"),
|
|
149
149
|
issueTypeId: z.string().optional().describe("New issue type id (optional)"),
|
|
150
|
-
customFields: z.record(z.any()).optional().describe("Optional custom fields
|
|
150
|
+
customFields: z.record(z.any()).optional().describe("Optional fields merged into the JIRA update payload. Can be used for custom fields and standard fields such as labels. Examples: {'customfield_10001': 'Custom Value', 'priority': {'id': '1'}, 'assignee': {'name': 'john.doe'}, 'labels': ['urgent', 'bug']}")
|
|
151
151
|
},
|
|
152
152
|
getTransitions: {
|
|
153
153
|
issueKey: z.string().describe("JIRA issue key (e.g., PROJ-123)")
|