mirror of
https://github.com/simstudioai/sim.git
synced 2026-02-12 07:24:55 -05:00
feat(atlassian): add many more triggers and tools for jsm, jira, and confluence
This commit is contained in:
@@ -88,7 +88,8 @@ Update a Confluence page using the Confluence API.
|
||||
|
||||
| Parameter | Type | Description |
|
||||
| --------- | ---- | ----------- |
|
||||
| `ts` | string | Timestamp of update |
|
||||
| `ts` | string | ISO 8601 timestamp of the operation |
|
||||
| `success` | boolean | Operation success status |
|
||||
| `pageId` | string | Confluence page ID |
|
||||
| `title` | string | Updated page title |
|
||||
| `status` | string | Page status |
|
||||
@@ -110,7 +111,6 @@ Update a Confluence page using the Confluence API.
|
||||
| ↳ `authorId` | string | Account ID of the version author |
|
||||
| ↳ `createdAt` | string | ISO 8601 timestamp of version creation |
|
||||
| `url` | string | URL to view the page in Confluence |
|
||||
| `success` | boolean | Update operation success status |
|
||||
|
||||
### `confluence_create_page`
|
||||
|
||||
@@ -131,7 +131,7 @@ Create a new page in a Confluence space.
|
||||
|
||||
| Parameter | Type | Description |
|
||||
| --------- | ---- | ----------- |
|
||||
| `ts` | string | Timestamp of creation |
|
||||
| `ts` | string | ISO 8601 timestamp of the operation |
|
||||
| `pageId` | string | Created page ID |
|
||||
| `title` | string | Page title |
|
||||
| `status` | string | Page status |
|
||||
@@ -172,9 +172,9 @@ Delete a Confluence page. By default moves to trash; use purge=true to permanent
|
||||
|
||||
| Parameter | Type | Description |
|
||||
| --------- | ---- | ----------- |
|
||||
| `ts` | string | Timestamp of deletion |
|
||||
| `pageId` | string | Deleted page ID |
|
||||
| `ts` | string | ISO 8601 timestamp of the operation |
|
||||
| `deleted` | boolean | Deletion status |
|
||||
| `pageId` | string | Deleted page ID |
|
||||
|
||||
### `confluence_list_pages_in_space`
|
||||
|
||||
@@ -358,10 +358,10 @@ List all custom properties (metadata) attached to a Confluence page.
|
||||
| `ts` | string | ISO 8601 timestamp of the operation |
|
||||
| `pageId` | string | ID of the page |
|
||||
| `properties` | array | Array of content properties |
|
||||
| ↳ `id` | string | Property ID |
|
||||
| ↳ `key` | string | Property key |
|
||||
| ↳ `id` | string | Unique property identifier |
|
||||
| ↳ `key` | string | Property key/name |
|
||||
| ↳ `value` | json | Property value \(can be any JSON\) |
|
||||
| ↳ `version` | object | Version information |
|
||||
| ↳ `version` | object | Property version information |
|
||||
| ↳ `number` | number | Version number |
|
||||
| ↳ `message` | string | Version message |
|
||||
| ↳ `minorEdit` | boolean | Whether this is a minor edit |
|
||||
@@ -388,16 +388,50 @@ Create a new custom property (metadata) on a Confluence page.
|
||||
| Parameter | Type | Description |
|
||||
| --------- | ---- | ----------- |
|
||||
| `ts` | string | ISO 8601 timestamp of the operation |
|
||||
| `pageId` | string | ID of the page |
|
||||
| `propertyId` | string | ID of the created property |
|
||||
| `key` | string | Property key |
|
||||
| `value` | json | Property value |
|
||||
| `version` | object | Version information |
|
||||
| `id` | string | Unique property identifier |
|
||||
| `key` | string | Property key/name |
|
||||
| `value` | json | Property value \(can be any JSON\) |
|
||||
| `version` | object | Property version information |
|
||||
| ↳ `number` | number | Version number |
|
||||
| ↳ `message` | string | Version message |
|
||||
| ↳ `minorEdit` | boolean | Whether this is a minor edit |
|
||||
| ↳ `authorId` | string | Account ID of the version author |
|
||||
| ↳ `createdAt` | string | ISO 8601 timestamp of version creation |
|
||||
| `pageId` | string | ID of the page |
|
||||
| `propertyId` | string | ID of the created property |
|
||||
|
||||
### `confluence_update_page_property`
|
||||
|
||||
Update an existing content property on a Confluence page.
|
||||
|
||||
#### Input
|
||||
|
||||
| Parameter | Type | Required | Description |
|
||||
| --------- | ---- | -------- | ----------- |
|
||||
| `domain` | string | Yes | Your Confluence domain \(e.g., yourcompany.atlassian.net\) |
|
||||
| `pageId` | string | Yes | The ID of the page containing the property |
|
||||
| `propertyId` | string | Yes | The ID of the property to update |
|
||||
| `key` | string | Yes | The key/name of the property |
|
||||
| `value` | json | Yes | The new value for the property \(can be any JSON value\) |
|
||||
| `versionNumber` | number | Yes | The current version number of the property \(for conflict prevention\) |
|
||||
| `cloudId` | string | No | Confluence Cloud ID for the instance. If not provided, it will be fetched using the domain. |
|
||||
|
||||
#### Output
|
||||
|
||||
| Parameter | Type | Description |
|
||||
| --------- | ---- | ----------- |
|
||||
| `ts` | string | ISO 8601 timestamp of the operation |
|
||||
| `id` | string | Unique property identifier |
|
||||
| `key` | string | Property key/name |
|
||||
| `value` | json | Property value \(can be any JSON\) |
|
||||
| `version` | object | Property version information |
|
||||
| ↳ `number` | number | Version number |
|
||||
| ↳ `message` | string | Version message |
|
||||
| ↳ `minorEdit` | boolean | Whether this is a minor edit |
|
||||
| ↳ `authorId` | string | Account ID of the version author |
|
||||
| ↳ `createdAt` | string | ISO 8601 timestamp of version creation |
|
||||
| `pageId` | string | ID of the page |
|
||||
| `propertyId` | string | ID of the updated property |
|
||||
|
||||
### `confluence_delete_page_property`
|
||||
|
||||
@@ -438,7 +472,7 @@ Search for content across Confluence pages, blog posts, and other content.
|
||||
|
||||
| Parameter | Type | Description |
|
||||
| --------- | ---- | ----------- |
|
||||
| `ts` | string | Timestamp of search |
|
||||
| `ts` | string | ISO 8601 timestamp of the operation |
|
||||
| `results` | array | Array of search results |
|
||||
| ↳ `id` | string | Unique content identifier |
|
||||
| ↳ `title` | string | Content title |
|
||||
@@ -512,19 +546,29 @@ List all blog posts across all accessible Confluence spaces.
|
||||
| --------- | ---- | ----------- |
|
||||
| `ts` | string | ISO 8601 timestamp of the operation |
|
||||
| `blogPosts` | array | Array of blog posts |
|
||||
| ↳ `id` | string | Blog post ID |
|
||||
| ↳ `id` | string | Unique blog post identifier |
|
||||
| ↳ `title` | string | Blog post title |
|
||||
| ↳ `status` | string | Blog post status |
|
||||
| ↳ `spaceId` | string | Space ID |
|
||||
| ↳ `authorId` | string | Author account ID |
|
||||
| ↳ `createdAt` | string | Creation timestamp |
|
||||
| ↳ `version` | object | Version information |
|
||||
| ↳ `status` | string | Blog post status \(e.g., current, draft\) |
|
||||
| ↳ `spaceId` | string | ID of the space containing the blog post |
|
||||
| ↳ `authorId` | string | Account ID of the blog post author |
|
||||
| ↳ `createdAt` | string | ISO 8601 timestamp when the blog post was created |
|
||||
| ↳ `version` | object | Blog post version information |
|
||||
| ↳ `number` | number | Version number |
|
||||
| ↳ `message` | string | Version message |
|
||||
| ↳ `minorEdit` | boolean | Whether this is a minor edit |
|
||||
| ↳ `authorId` | string | Account ID of the version author |
|
||||
| ↳ `createdAt` | string | ISO 8601 timestamp of version creation |
|
||||
| ↳ `webUrl` | string | URL to view the blog post |
|
||||
| ↳ `body` | object | Blog post body content |
|
||||
| ↳ `storage` | object | Body in storage format \(Confluence markup\) |
|
||||
| ↳ `value` | string | The content value in the specified format |
|
||||
| ↳ `representation` | string | Content representation type |
|
||||
| ↳ `view` | object | Body in view format \(rendered HTML\) |
|
||||
| ↳ `value` | string | The content value in the specified format |
|
||||
| ↳ `representation` | string | Content representation type |
|
||||
| ↳ `atlas_doc_format` | object | Body in Atlassian Document Format \(ADF\) |
|
||||
| ↳ `value` | string | The content value in the specified format |
|
||||
| ↳ `representation` | string | Content representation type |
|
||||
| ↳ `webUrl` | string | URL to view the blog post in Confluence |
|
||||
| `nextCursor` | string | Cursor for fetching the next page of results |
|
||||
|
||||
### `confluence_get_blogpost`
|
||||
@@ -545,19 +589,19 @@ Get a specific Confluence blog post by ID, including its content.
|
||||
| Parameter | Type | Description |
|
||||
| --------- | ---- | ----------- |
|
||||
| `ts` | string | ISO 8601 timestamp of the operation |
|
||||
| `id` | string | Blog post ID |
|
||||
| `id` | string | Unique blog post identifier |
|
||||
| `title` | string | Blog post title |
|
||||
| `status` | string | Blog post status |
|
||||
| `spaceId` | string | Space ID |
|
||||
| `authorId` | string | Author account ID |
|
||||
| `createdAt` | string | Creation timestamp |
|
||||
| `version` | object | Version information |
|
||||
| `status` | string | Blog post status \(e.g., current, draft\) |
|
||||
| `spaceId` | string | ID of the space containing the blog post |
|
||||
| `authorId` | string | Account ID of the blog post author |
|
||||
| `createdAt` | string | ISO 8601 timestamp when the blog post was created |
|
||||
| `version` | object | Blog post version information |
|
||||
| ↳ `number` | number | Version number |
|
||||
| ↳ `message` | string | Version message |
|
||||
| ↳ `minorEdit` | boolean | Whether this is a minor edit |
|
||||
| ↳ `authorId` | string | Account ID of the version author |
|
||||
| ↳ `createdAt` | string | ISO 8601 timestamp of version creation |
|
||||
| `body` | object | Blog post body content in requested format\(s\) |
|
||||
| `body` | object | Blog post body content |
|
||||
| ↳ `storage` | object | Body in storage format \(Confluence markup\) |
|
||||
| ↳ `value` | string | The content value in the specified format |
|
||||
| ↳ `representation` | string | Content representation type |
|
||||
@@ -567,7 +611,7 @@ Get a specific Confluence blog post by ID, including its content.
|
||||
| ↳ `atlas_doc_format` | object | Body in Atlassian Document Format \(ADF\) |
|
||||
| ↳ `value` | string | The content value in the specified format |
|
||||
| ↳ `representation` | string | Content representation type |
|
||||
| `webUrl` | string | URL to view the blog post |
|
||||
| `webUrl` | string | URL to view the blog post in Confluence |
|
||||
|
||||
### `confluence_create_blogpost`
|
||||
|
||||
@@ -589,11 +633,18 @@ Create a new blog post in a Confluence space.
|
||||
| Parameter | Type | Description |
|
||||
| --------- | ---- | ----------- |
|
||||
| `ts` | string | ISO 8601 timestamp of the operation |
|
||||
| `id` | string | Created blog post ID |
|
||||
| `id` | string | Unique blog post identifier |
|
||||
| `title` | string | Blog post title |
|
||||
| `status` | string | Blog post status |
|
||||
| `spaceId` | string | Space ID |
|
||||
| `authorId` | string | Author account ID |
|
||||
| `status` | string | Blog post status \(e.g., current, draft\) |
|
||||
| `spaceId` | string | ID of the space containing the blog post |
|
||||
| `authorId` | string | Account ID of the blog post author |
|
||||
| `createdAt` | string | ISO 8601 timestamp when the blog post was created |
|
||||
| `version` | object | Blog post version information |
|
||||
| ↳ `number` | number | Version number |
|
||||
| ↳ `message` | string | Version message |
|
||||
| ↳ `minorEdit` | boolean | Whether this is a minor edit |
|
||||
| ↳ `authorId` | string | Account ID of the version author |
|
||||
| ↳ `createdAt` | string | ISO 8601 timestamp of version creation |
|
||||
| `body` | object | Blog post body content |
|
||||
| ↳ `storage` | object | Body in storage format \(Confluence markup\) |
|
||||
| ↳ `value` | string | The content value in the specified format |
|
||||
@@ -604,13 +655,71 @@ Create a new blog post in a Confluence space.
|
||||
| ↳ `atlas_doc_format` | object | Body in Atlassian Document Format \(ADF\) |
|
||||
| ↳ `value` | string | The content value in the specified format |
|
||||
| ↳ `representation` | string | Content representation type |
|
||||
| `webUrl` | string | URL to view the blog post in Confluence |
|
||||
|
||||
### `confluence_update_blogpost`
|
||||
|
||||
Update an existing Confluence blog post title, content, or status.
|
||||
|
||||
#### Input
|
||||
|
||||
| Parameter | Type | Required | Description |
|
||||
| --------- | ---- | -------- | ----------- |
|
||||
| `domain` | string | Yes | Your Confluence domain \(e.g., yourcompany.atlassian.net\) |
|
||||
| `blogPostId` | string | Yes | The ID of the blog post to update |
|
||||
| `title` | string | No | New title for the blog post |
|
||||
| `content` | string | No | New content for the blog post in Confluence storage format |
|
||||
| `status` | string | No | Blog post status: current or draft |
|
||||
| `cloudId` | string | No | Confluence Cloud ID for the instance. If not provided, it will be fetched using the domain. |
|
||||
|
||||
#### Output
|
||||
|
||||
| Parameter | Type | Description |
|
||||
| --------- | ---- | ----------- |
|
||||
| `ts` | string | ISO 8601 timestamp of the operation |
|
||||
| `id` | string | Unique blog post identifier |
|
||||
| `title` | string | Blog post title |
|
||||
| `status` | string | Blog post status \(e.g., current, draft\) |
|
||||
| `spaceId` | string | ID of the space containing the blog post |
|
||||
| `authorId` | string | Account ID of the blog post author |
|
||||
| `createdAt` | string | ISO 8601 timestamp when the blog post was created |
|
||||
| `version` | object | Blog post version information |
|
||||
| ↳ `number` | number | Version number |
|
||||
| ↳ `message` | string | Version message |
|
||||
| ↳ `minorEdit` | boolean | Whether this is a minor edit |
|
||||
| ↳ `authorId` | string | Account ID of the version author |
|
||||
| ↳ `createdAt` | string | ISO 8601 timestamp of version creation |
|
||||
| `webUrl` | string | URL to view the blog post |
|
||||
| `body` | object | Blog post body content |
|
||||
| ↳ `storage` | object | Body in storage format \(Confluence markup\) |
|
||||
| ↳ `value` | string | The content value in the specified format |
|
||||
| ↳ `representation` | string | Content representation type |
|
||||
| ↳ `view` | object | Body in view format \(rendered HTML\) |
|
||||
| ↳ `value` | string | The content value in the specified format |
|
||||
| ↳ `representation` | string | Content representation type |
|
||||
| ↳ `atlas_doc_format` | object | Body in Atlassian Document Format \(ADF\) |
|
||||
| ↳ `value` | string | The content value in the specified format |
|
||||
| ↳ `representation` | string | Content representation type |
|
||||
| `webUrl` | string | URL to view the blog post in Confluence |
|
||||
|
||||
### `confluence_delete_blogpost`
|
||||
|
||||
Delete a Confluence blog post.
|
||||
|
||||
#### Input
|
||||
|
||||
| Parameter | Type | Required | Description |
|
||||
| --------- | ---- | -------- | ----------- |
|
||||
| `domain` | string | Yes | Your Confluence domain \(e.g., yourcompany.atlassian.net\) |
|
||||
| `blogPostId` | string | Yes | The ID of the blog post to delete |
|
||||
| `cloudId` | string | No | Confluence Cloud ID for the instance. If not provided, it will be fetched using the domain. |
|
||||
|
||||
#### Output
|
||||
|
||||
| Parameter | Type | Description |
|
||||
| --------- | ---- | ----------- |
|
||||
| `ts` | string | ISO 8601 timestamp of the operation |
|
||||
| `deleted` | boolean | Deletion status |
|
||||
| `blogPostId` | string | Deleted blog post ID |
|
||||
|
||||
### `confluence_list_blogposts_in_space`
|
||||
|
||||
@@ -634,13 +743,13 @@ List all blog posts within a specific Confluence space.
|
||||
| --------- | ---- | ----------- |
|
||||
| `ts` | string | ISO 8601 timestamp of the operation |
|
||||
| `blogPosts` | array | Array of blog posts in the space |
|
||||
| ↳ `id` | string | Blog post ID |
|
||||
| ↳ `id` | string | Unique blog post identifier |
|
||||
| ↳ `title` | string | Blog post title |
|
||||
| ↳ `status` | string | Blog post status |
|
||||
| ↳ `spaceId` | string | Space ID |
|
||||
| ↳ `authorId` | string | Author account ID |
|
||||
| ↳ `createdAt` | string | Creation timestamp |
|
||||
| ↳ `version` | object | Version information |
|
||||
| ↳ `status` | string | Blog post status \(e.g., current, draft\) |
|
||||
| ↳ `spaceId` | string | ID of the space containing the blog post |
|
||||
| ↳ `authorId` | string | Account ID of the blog post author |
|
||||
| ↳ `createdAt` | string | ISO 8601 timestamp when the blog post was created |
|
||||
| ↳ `version` | object | Blog post version information |
|
||||
| ↳ `number` | number | Version number |
|
||||
| ↳ `message` | string | Version message |
|
||||
| ↳ `minorEdit` | boolean | Whether this is a minor edit |
|
||||
@@ -656,7 +765,7 @@ List all blog posts within a specific Confluence space.
|
||||
| ↳ `atlas_doc_format` | object | Body in Atlassian Document Format \(ADF\) |
|
||||
| ↳ `value` | string | The content value in the specified format |
|
||||
| ↳ `representation` | string | Content representation type |
|
||||
| ↳ `webUrl` | string | URL to view the blog post |
|
||||
| ↳ `webUrl` | string | URL to view the blog post in Confluence |
|
||||
| `nextCursor` | string | Cursor for fetching the next page of results |
|
||||
|
||||
### `confluence_create_comment`
|
||||
@@ -676,7 +785,7 @@ Add a comment to a Confluence page.
|
||||
|
||||
| Parameter | Type | Description |
|
||||
| --------- | ---- | ----------- |
|
||||
| `ts` | string | Timestamp of creation |
|
||||
| `ts` | string | ISO 8601 timestamp of the operation |
|
||||
| `commentId` | string | Created comment ID |
|
||||
| `pageId` | string | Page ID |
|
||||
|
||||
@@ -737,9 +846,9 @@ Update an existing comment on a Confluence page.
|
||||
|
||||
| Parameter | Type | Description |
|
||||
| --------- | ---- | ----------- |
|
||||
| `ts` | string | Timestamp of update |
|
||||
| `commentId` | string | Updated comment ID |
|
||||
| `ts` | string | ISO 8601 timestamp of the operation |
|
||||
| `updated` | boolean | Update status |
|
||||
| `commentId` | string | Updated comment ID |
|
||||
|
||||
### `confluence_delete_comment`
|
||||
|
||||
@@ -757,9 +866,9 @@ Delete a comment from a Confluence page.
|
||||
|
||||
| Parameter | Type | Description |
|
||||
| --------- | ---- | ----------- |
|
||||
| `ts` | string | Timestamp of deletion |
|
||||
| `commentId` | string | Deleted comment ID |
|
||||
| `ts` | string | ISO 8601 timestamp of the operation |
|
||||
| `deleted` | boolean | Deletion status |
|
||||
| `commentId` | string | Deleted comment ID |
|
||||
|
||||
### `confluence_upload_attachment`
|
||||
|
||||
@@ -780,7 +889,7 @@ Upload a file as an attachment to a Confluence page.
|
||||
|
||||
| Parameter | Type | Description |
|
||||
| --------- | ---- | ----------- |
|
||||
| `ts` | string | Timestamp of upload |
|
||||
| `ts` | string | ISO 8601 timestamp of the operation |
|
||||
| `attachmentId` | string | Uploaded attachment ID |
|
||||
| `title` | string | Attachment file name |
|
||||
| `fileSize` | number | File size in bytes |
|
||||
@@ -842,9 +951,9 @@ Delete an attachment from a Confluence page (moves to trash).
|
||||
|
||||
| Parameter | Type | Description |
|
||||
| --------- | ---- | ----------- |
|
||||
| `ts` | string | Timestamp of deletion |
|
||||
| `attachmentId` | string | Deleted attachment ID |
|
||||
| `ts` | string | ISO 8601 timestamp of the operation |
|
||||
| `deleted` | boolean | Deletion status |
|
||||
| `attachmentId` | string | Deleted attachment ID |
|
||||
|
||||
### `confluence_list_labels`
|
||||
|
||||
@@ -864,7 +973,7 @@ List all labels on a Confluence page.
|
||||
|
||||
| Parameter | Type | Description |
|
||||
| --------- | ---- | ----------- |
|
||||
| `ts` | string | Timestamp of retrieval |
|
||||
| `ts` | string | ISO 8601 timestamp of the operation |
|
||||
| `labels` | array | Array of labels on the page |
|
||||
| ↳ `id` | string | Unique label identifier |
|
||||
| ↳ `name` | string | Label name |
|
||||
|
||||
@@ -30,7 +30,7 @@ With Sim’s Jira Service Management integration, you can create, monitor, and u
|
||||
|
||||
## Usage Instructions
|
||||
|
||||
Integrate with Jira Service Management for IT service management. Create and manage service requests, handle customers and organizations, track SLAs, and manage queues.
|
||||
Integrate with Jira Service Management for IT service management. Create and manage service requests, handle customers and organizations, track SLAs, and manage queues. Can also trigger workflows based on Jira Service Management webhook events.
|
||||
|
||||
|
||||
|
||||
@@ -66,6 +66,31 @@ Get all service desks from Jira Service Management
|
||||
| `total` | number | Total number of service desks |
|
||||
| `isLastPage` | boolean | Whether this is the last page |
|
||||
|
||||
### `jsm_get_service_desk`
|
||||
|
||||
Get a specific service desk by ID in Jira Service Management
|
||||
|
||||
#### Input
|
||||
|
||||
| Parameter | Type | Required | Description |
|
||||
| --------- | ---- | -------- | ----------- |
|
||||
| `domain` | string | Yes | Your Jira domain \(e.g., yourcompany.atlassian.net\) |
|
||||
| `cloudId` | string | No | Jira Cloud ID for the instance |
|
||||
| `serviceDeskId` | string | Yes | Service Desk ID \(e.g., "1", "2"\) |
|
||||
|
||||
#### Output
|
||||
|
||||
| Parameter | Type | Description |
|
||||
| --------- | ---- | ----------- |
|
||||
| `id` | string | Service desk ID |
|
||||
| `projectId` | string | Associated Jira project ID |
|
||||
| `projectName` | string | Associated project name |
|
||||
| `projectKey` | string | Associated project key |
|
||||
| `name` | string | Service desk name |
|
||||
| `description` | string | Service desk description |
|
||||
| `leadDisplayName` | string | Project lead display name |
|
||||
| `ts` | string | Timestamp of the operation |
|
||||
|
||||
### `jsm_get_request_types`
|
||||
|
||||
Get request types for a service desk in Jira Service Management
|
||||
@@ -101,6 +126,39 @@ Get request types for a service desk in Jira Service Management
|
||||
| `total` | number | Total number of request types |
|
||||
| `isLastPage` | boolean | Whether this is the last page |
|
||||
|
||||
### `jsm_get_request_type_fields`
|
||||
|
||||
Get the fields required to create a request of a specific type in Jira Service Management
|
||||
|
||||
#### Input
|
||||
|
||||
| Parameter | Type | Required | Description |
|
||||
| --------- | ---- | -------- | ----------- |
|
||||
| `domain` | string | Yes | Your Jira domain \(e.g., yourcompany.atlassian.net\) |
|
||||
| `cloudId` | string | No | Jira Cloud ID for the instance |
|
||||
| `serviceDeskId` | string | Yes | Service Desk ID \(e.g., "1", "2"\) |
|
||||
| `requestTypeId` | string | Yes | Request Type ID \(e.g., "10", "15"\) |
|
||||
|
||||
#### Output
|
||||
|
||||
| Parameter | Type | Description |
|
||||
| --------- | ---- | ----------- |
|
||||
| `ts` | string | Timestamp of the operation |
|
||||
| `serviceDeskId` | string | Service desk ID |
|
||||
| `requestTypeId` | string | Request type ID |
|
||||
| `canAddRequestParticipants` | boolean | Whether participants can be added to requests of this type |
|
||||
| `canRaiseOnBehalfOf` | boolean | Whether requests can be raised on behalf of another user |
|
||||
| `requestTypeFields` | array | List of fields for this request type |
|
||||
| ↳ `fieldId` | string | Field identifier \(e.g., summary, description, customfield_10010\) |
|
||||
| ↳ `name` | string | Human-readable field name |
|
||||
| ↳ `description` | string | Help text for the field |
|
||||
| ↳ `required` | boolean | Whether the field is required |
|
||||
| ↳ `visible` | boolean | Whether the field is visible |
|
||||
| ↳ `validValues` | json | Allowed values for select fields |
|
||||
| ↳ `presetValues` | json | Pre-populated values |
|
||||
| ↳ `defaultValues` | json | Default values for the field |
|
||||
| ↳ `jiraSchema` | json | Jira field schema with type, system, custom, customId |
|
||||
|
||||
### `jsm_create_request`
|
||||
|
||||
Create a new service request in Jira Service Management
|
||||
@@ -222,6 +280,59 @@ Get multiple service requests from Jira Service Management
|
||||
| `total` | number | Total number of requests in current page |
|
||||
| `isLastPage` | boolean | Whether this is the last page |
|
||||
|
||||
### `jsm_get_request_status`
|
||||
|
||||
Get status history for a service request in Jira Service Management
|
||||
|
||||
#### Input
|
||||
|
||||
| Parameter | Type | Required | Description |
|
||||
| --------- | ---- | -------- | ----------- |
|
||||
| `domain` | string | Yes | Your Jira domain \(e.g., yourcompany.atlassian.net\) |
|
||||
| `cloudId` | string | No | Jira Cloud ID for the instance |
|
||||
| `issueIdOrKey` | string | Yes | Issue ID or key \(e.g., SD-123\) |
|
||||
| `start` | number | No | Start index for pagination \(e.g., 0, 50, 100\) |
|
||||
| `limit` | number | No | Maximum results to return \(e.g., 10, 25, 50\) |
|
||||
|
||||
#### Output
|
||||
|
||||
| Parameter | Type | Description |
|
||||
| --------- | ---- | ----------- |
|
||||
| `ts` | string | Timestamp of the operation |
|
||||
| `issueIdOrKey` | string | Issue ID or key |
|
||||
| `statuses` | array | Status history entries |
|
||||
| ↳ `status` | string | Status name |
|
||||
| ↳ `statusCategory` | string | Status category \(NEW, INDETERMINATE, DONE\) |
|
||||
| ↳ `statusDate` | json | Status change date with iso8601, friendly, epochMillis |
|
||||
| `total` | number | Total number of status entries |
|
||||
| `isLastPage` | boolean | Whether this is the last page |
|
||||
|
||||
### `jsm_get_request_attachments`
|
||||
|
||||
Get attachments for a service request in Jira Service Management
|
||||
|
||||
#### Input
|
||||
|
||||
| Parameter | Type | Required | Description |
|
||||
| --------- | ---- | -------- | ----------- |
|
||||
| `domain` | string | Yes | Your Jira domain \(e.g., yourcompany.atlassian.net\) |
|
||||
| `cloudId` | string | No | Jira Cloud ID for the instance |
|
||||
| `issueIdOrKey` | string | Yes | Issue ID or key \(e.g., SD-123\) |
|
||||
| `includeAttachments` | boolean | No | Download attachment file contents and include them as files in the output |
|
||||
| `start` | number | No | Start index for pagination \(e.g., 0, 50, 100\) |
|
||||
| `limit` | number | No | Maximum results to return \(e.g., 10, 25, 50\) |
|
||||
|
||||
#### Output
|
||||
|
||||
| Parameter | Type | Description |
|
||||
| --------- | ---- | ----------- |
|
||||
| `ts` | string | Timestamp of the operation |
|
||||
| `issueIdOrKey` | string | Issue ID or key |
|
||||
| `attachments` | array | List of attachments |
|
||||
| `total` | number | Total number of attachments |
|
||||
| `isLastPage` | boolean | Whether this is the last page |
|
||||
| `files` | file[] | Downloaded attachment files \(only when includeAttachments is true\) |
|
||||
|
||||
### `jsm_add_comment`
|
||||
|
||||
Add a comment (public or internal) to a service request in Jira Service Management
|
||||
@@ -341,6 +452,53 @@ Add customers to a service desk in Jira Service Management
|
||||
| `serviceDeskId` | string | Service desk ID |
|
||||
| `success` | boolean | Whether customers were added successfully |
|
||||
|
||||
### `jsm_remove_customer`
|
||||
|
||||
Remove customers from a service desk in Jira Service Management
|
||||
|
||||
#### Input
|
||||
|
||||
| Parameter | Type | Required | Description |
|
||||
| --------- | ---- | -------- | ----------- |
|
||||
| `domain` | string | Yes | Your Jira domain \(e.g., yourcompany.atlassian.net\) |
|
||||
| `cloudId` | string | No | Jira Cloud ID for the instance |
|
||||
| `serviceDeskId` | string | Yes | Service Desk ID \(e.g., "1", "2"\) |
|
||||
| `accountIds` | string | No | Comma-separated Atlassian account IDs to remove |
|
||||
| `emails` | string | No | Comma-separated email addresses to remove |
|
||||
|
||||
#### Output
|
||||
|
||||
| Parameter | Type | Description |
|
||||
| --------- | ---- | ----------- |
|
||||
| `ts` | string | Timestamp of the operation |
|
||||
| `serviceDeskId` | string | Service desk ID |
|
||||
| `success` | boolean | Whether customers were removed successfully |
|
||||
|
||||
### `jsm_create_customer`
|
||||
|
||||
Create a new customer in Jira Service Management
|
||||
|
||||
#### Input
|
||||
|
||||
| Parameter | Type | Required | Description |
|
||||
| --------- | ---- | -------- | ----------- |
|
||||
| `domain` | string | Yes | Your Jira domain \(e.g., yourcompany.atlassian.net\) |
|
||||
| `cloudId` | string | No | Jira Cloud ID for the instance |
|
||||
| `email` | string | Yes | Email address for the new customer |
|
||||
| `displayName` | string | Yes | Display name for the new customer |
|
||||
|
||||
#### Output
|
||||
|
||||
| Parameter | Type | Description |
|
||||
| --------- | ---- | ----------- |
|
||||
| `ts` | string | Timestamp of the operation |
|
||||
| `accountId` | string | Account ID of the created customer |
|
||||
| `displayName` | string | Display name of the created customer |
|
||||
| `emailAddress` | string | Email address of the created customer |
|
||||
| `active` | boolean | Whether the customer account is active |
|
||||
| `timeZone` | string | Customer timezone |
|
||||
| `success` | boolean | Whether the customer was created successfully |
|
||||
|
||||
### `jsm_get_organizations`
|
||||
|
||||
Get organizations for a service desk in Jira Service Management
|
||||
@@ -366,6 +524,26 @@ Get organizations for a service desk in Jira Service Management
|
||||
| `total` | number | Total number of organizations |
|
||||
| `isLastPage` | boolean | Whether this is the last page |
|
||||
|
||||
### `jsm_get_organization`
|
||||
|
||||
Get a specific organization by ID in Jira Service Management
|
||||
|
||||
#### Input
|
||||
|
||||
| Parameter | Type | Required | Description |
|
||||
| --------- | ---- | -------- | ----------- |
|
||||
| `domain` | string | Yes | Your Jira domain \(e.g., yourcompany.atlassian.net\) |
|
||||
| `cloudId` | string | No | Jira Cloud ID for the instance |
|
||||
| `organizationId` | string | Yes | Organization ID to retrieve |
|
||||
|
||||
#### Output
|
||||
|
||||
| Parameter | Type | Description |
|
||||
| --------- | ---- | ----------- |
|
||||
| `id` | string | Organization ID |
|
||||
| `name` | string | Organization name |
|
||||
| `ts` | string | Timestamp of the operation |
|
||||
|
||||
### `jsm_create_organization`
|
||||
|
||||
Create a new organization in Jira Service Management
|
||||
@@ -409,6 +587,119 @@ Add an organization to a service desk in Jira Service Management
|
||||
| `organizationId` | string | Organization ID added |
|
||||
| `success` | boolean | Whether the operation succeeded |
|
||||
|
||||
### `jsm_remove_organization`
|
||||
|
||||
Remove an organization from a service desk in Jira Service Management
|
||||
|
||||
#### Input
|
||||
|
||||
| Parameter | Type | Required | Description |
|
||||
| --------- | ---- | -------- | ----------- |
|
||||
| `domain` | string | Yes | Your Jira domain \(e.g., yourcompany.atlassian.net\) |
|
||||
| `cloudId` | string | No | Jira Cloud ID for the instance |
|
||||
| `serviceDeskId` | string | Yes | Service Desk ID \(e.g., "1", "2"\) |
|
||||
| `organizationId` | string | Yes | Organization ID to remove from the service desk |
|
||||
|
||||
#### Output
|
||||
|
||||
| Parameter | Type | Description |
|
||||
| --------- | ---- | ----------- |
|
||||
| `ts` | string | Timestamp of the operation |
|
||||
| `serviceDeskId` | string | Service Desk ID |
|
||||
| `organizationId` | string | Organization ID removed |
|
||||
| `success` | boolean | Whether the operation succeeded |
|
||||
|
||||
### `jsm_delete_organization`
|
||||
|
||||
Delete an organization in Jira Service Management
|
||||
|
||||
#### Input
|
||||
|
||||
| Parameter | Type | Required | Description |
|
||||
| --------- | ---- | -------- | ----------- |
|
||||
| `domain` | string | Yes | Your Jira domain \(e.g., yourcompany.atlassian.net\) |
|
||||
| `cloudId` | string | No | Jira Cloud ID for the instance |
|
||||
| `organizationId` | string | Yes | Organization ID to delete |
|
||||
|
||||
#### Output
|
||||
|
||||
| Parameter | Type | Description |
|
||||
| --------- | ---- | ----------- |
|
||||
| `ts` | string | Timestamp of the operation |
|
||||
| `organizationId` | string | ID of the deleted organization |
|
||||
| `success` | boolean | Whether the organization was deleted |
|
||||
|
||||
### `jsm_get_organization_users`
|
||||
|
||||
Get users in an organization in Jira Service Management
|
||||
|
||||
#### Input
|
||||
|
||||
| Parameter | Type | Required | Description |
|
||||
| --------- | ---- | -------- | ----------- |
|
||||
| `domain` | string | Yes | Your Jira domain \(e.g., yourcompany.atlassian.net\) |
|
||||
| `cloudId` | string | No | Jira Cloud ID for the instance |
|
||||
| `organizationId` | string | Yes | Organization ID to get users from |
|
||||
| `start` | number | No | Start index for pagination \(e.g., 0, 50, 100\) |
|
||||
| `limit` | number | No | Maximum results to return \(e.g., 10, 25, 50\) |
|
||||
|
||||
#### Output
|
||||
|
||||
| Parameter | Type | Description |
|
||||
| --------- | ---- | ----------- |
|
||||
| `ts` | string | Timestamp of the operation |
|
||||
| `organizationId` | string | Organization ID |
|
||||
| `users` | array | List of users in the organization |
|
||||
| ↳ `accountId` | string | Atlassian account ID |
|
||||
| ↳ `displayName` | string | Display name |
|
||||
| ↳ `emailAddress` | string | Email address |
|
||||
| ↳ `active` | boolean | Whether the account is active |
|
||||
| ↳ `timeZone` | string | User timezone |
|
||||
| `total` | number | Total number of users |
|
||||
| `isLastPage` | boolean | Whether this is the last page |
|
||||
|
||||
### `jsm_add_organization_users`
|
||||
|
||||
Add users to an organization in Jira Service Management
|
||||
|
||||
#### Input
|
||||
|
||||
| Parameter | Type | Required | Description |
|
||||
| --------- | ---- | -------- | ----------- |
|
||||
| `domain` | string | Yes | Your Jira domain \(e.g., yourcompany.atlassian.net\) |
|
||||
| `cloudId` | string | No | Jira Cloud ID for the instance |
|
||||
| `organizationId` | string | Yes | Organization ID to add users to |
|
||||
| `accountIds` | string | Yes | Comma-separated account IDs to add to the organization |
|
||||
|
||||
#### Output
|
||||
|
||||
| Parameter | Type | Description |
|
||||
| --------- | ---- | ----------- |
|
||||
| `ts` | string | Timestamp of the operation |
|
||||
| `organizationId` | string | Organization ID |
|
||||
| `success` | boolean | Whether users were added successfully |
|
||||
|
||||
### `jsm_remove_organization_users`
|
||||
|
||||
Remove users from an organization in Jira Service Management
|
||||
|
||||
#### Input
|
||||
|
||||
| Parameter | Type | Required | Description |
|
||||
| --------- | ---- | -------- | ----------- |
|
||||
| `domain` | string | Yes | Your Jira domain \(e.g., yourcompany.atlassian.net\) |
|
||||
| `cloudId` | string | No | Jira Cloud ID for the instance |
|
||||
| `organizationId` | string | Yes | Organization ID to remove users from |
|
||||
| `accountIds` | string | Yes | Comma-separated account IDs to remove from the organization |
|
||||
|
||||
#### Output
|
||||
|
||||
| Parameter | Type | Description |
|
||||
| --------- | ---- | ----------- |
|
||||
| `ts` | string | Timestamp of the operation |
|
||||
| `organizationId` | string | Organization ID |
|
||||
| `success` | boolean | Whether users were removed successfully |
|
||||
|
||||
### `jsm_get_queues`
|
||||
|
||||
Get queues for a service desk in Jira Service Management
|
||||
@@ -438,6 +729,51 @@ Get queues for a service desk in Jira Service Management
|
||||
| `total` | number | Total number of queues |
|
||||
| `isLastPage` | boolean | Whether this is the last page |
|
||||
|
||||
### `jsm_get_queue_issues`
|
||||
|
||||
Get issues in a specific queue for a service desk in Jira Service Management
|
||||
|
||||
#### Input
|
||||
|
||||
| Parameter | Type | Required | Description |
|
||||
| --------- | ---- | -------- | ----------- |
|
||||
| `domain` | string | Yes | Your Jira domain \(e.g., yourcompany.atlassian.net\) |
|
||||
| `cloudId` | string | No | Jira Cloud ID for the instance |
|
||||
| `serviceDeskId` | string | Yes | Service Desk ID \(e.g., "1", "2"\) |
|
||||
| `queueId` | string | Yes | Queue ID to get issues from |
|
||||
| `start` | number | No | Start index for pagination \(e.g., 0, 50, 100\) |
|
||||
| `limit` | number | No | Maximum results to return \(e.g., 10, 25, 50\) |
|
||||
|
||||
#### Output
|
||||
|
||||
| Parameter | Type | Description |
|
||||
| --------- | ---- | ----------- |
|
||||
| `ts` | string | Timestamp of the operation |
|
||||
| `serviceDeskId` | string | Service desk ID |
|
||||
| `queueId` | string | Queue ID |
|
||||
| `issues` | array | List of issues in the queue |
|
||||
| ↳ `issueId` | string | Jira issue ID |
|
||||
| ↳ `issueKey` | string | Issue key \(e.g., SD-123\) |
|
||||
| ↳ `requestTypeId` | string | Request type ID |
|
||||
| ↳ `serviceDeskId` | string | Service desk ID |
|
||||
| ↳ `createdDate` | json | Creation date with iso8601, friendly, epochMillis |
|
||||
| ↳ `currentStatus` | object | Current request status |
|
||||
| ↳ `status` | string | Status name |
|
||||
| ↳ `statusCategory` | string | Status category \(NEW, INDETERMINATE, DONE\) |
|
||||
| ↳ `statusDate` | json | Status change date with iso8601, friendly, epochMillis |
|
||||
| ↳ `reporter` | object | Reporter user details |
|
||||
| ↳ `accountId` | string | Atlassian account ID |
|
||||
| ↳ `displayName` | string | User display name |
|
||||
| ↳ `emailAddress` | string | User email address |
|
||||
| ↳ `active` | boolean | Whether the account is active |
|
||||
| ↳ `requestFieldValues` | array | Request field values |
|
||||
| ↳ `fieldId` | string | Field identifier |
|
||||
| ↳ `label` | string | Human-readable field label |
|
||||
| ↳ `value` | json | Field value |
|
||||
| ↳ `renderedValue` | json | HTML-rendered field value |
|
||||
| `total` | number | Total number of issues in the queue |
|
||||
| `isLastPage` | boolean | Whether this is the last page |
|
||||
|
||||
### `jsm_get_sla`
|
||||
|
||||
Get SLA information for a service request in Jira Service Management
|
||||
@@ -569,6 +905,32 @@ Add participants to a request in Jira Service Management
|
||||
| ↳ `active` | boolean | Whether the account is active |
|
||||
| `success` | boolean | Whether the operation succeeded |
|
||||
|
||||
### `jsm_remove_participants`
|
||||
|
||||
Remove participants from a request in Jira Service Management
|
||||
|
||||
#### Input
|
||||
|
||||
| Parameter | Type | Required | Description |
|
||||
| --------- | ---- | -------- | ----------- |
|
||||
| `domain` | string | Yes | Your Jira domain \(e.g., yourcompany.atlassian.net\) |
|
||||
| `cloudId` | string | No | Jira Cloud ID for the instance |
|
||||
| `issueIdOrKey` | string | Yes | Issue ID or key \(e.g., SD-123\) |
|
||||
| `accountIds` | string | Yes | Comma-separated account IDs to remove as participants |
|
||||
|
||||
#### Output
|
||||
|
||||
| Parameter | Type | Description |
|
||||
| --------- | ---- | ----------- |
|
||||
| `ts` | string | Timestamp of the operation |
|
||||
| `issueIdOrKey` | string | Issue ID or key |
|
||||
| `participants` | array | Remaining participants after removal |
|
||||
| ↳ `accountId` | string | Atlassian account ID |
|
||||
| ↳ `displayName` | string | Display name |
|
||||
| ↳ `emailAddress` | string | Email address |
|
||||
| ↳ `active` | boolean | Whether the account is active |
|
||||
| `success` | boolean | Whether the operation succeeded |
|
||||
|
||||
### `jsm_get_approvals`
|
||||
|
||||
Get approvals for a request in Jira Service Management
|
||||
@@ -644,9 +1006,9 @@ Approve or decline an approval request in Jira Service Management
|
||||
| `approval` | json | The approval object |
|
||||
| `success` | boolean | Whether the operation succeeded |
|
||||
|
||||
### `jsm_get_request_type_fields`
|
||||
### `jsm_get_feedback`
|
||||
|
||||
Get the fields required to create a request of a specific type in Jira Service Management
|
||||
Get CSAT feedback for a service request in Jira Service Management
|
||||
|
||||
#### Input
|
||||
|
||||
@@ -654,27 +1016,152 @@ Get the fields required to create a request of a specific type in Jira Service M
|
||||
| --------- | ---- | -------- | ----------- |
|
||||
| `domain` | string | Yes | Your Jira domain \(e.g., yourcompany.atlassian.net\) |
|
||||
| `cloudId` | string | No | Jira Cloud ID for the instance |
|
||||
| `serviceDeskId` | string | Yes | Service Desk ID \(e.g., "1", "2"\) |
|
||||
| `requestTypeId` | string | Yes | Request Type ID \(e.g., "10", "15"\) |
|
||||
| `issueIdOrKey` | string | Yes | Issue ID or key \(e.g., SD-123\) |
|
||||
|
||||
#### Output
|
||||
|
||||
| Parameter | Type | Description |
|
||||
| --------- | ---- | ----------- |
|
||||
| `ts` | string | Timestamp of the operation |
|
||||
| `serviceDeskId` | string | Service desk ID |
|
||||
| `requestTypeId` | string | Request type ID |
|
||||
| `canAddRequestParticipants` | boolean | Whether participants can be added to requests of this type |
|
||||
| `canRaiseOnBehalfOf` | boolean | Whether requests can be raised on behalf of another user |
|
||||
| `requestTypeFields` | array | List of fields for this request type |
|
||||
| ↳ `fieldId` | string | Field identifier \(e.g., summary, description, customfield_10010\) |
|
||||
| ↳ `name` | string | Human-readable field name |
|
||||
| ↳ `description` | string | Help text for the field |
|
||||
| ↳ `required` | boolean | Whether the field is required |
|
||||
| ↳ `visible` | boolean | Whether the field is visible |
|
||||
| ↳ `validValues` | json | Allowed values for select fields |
|
||||
| ↳ `presetValues` | json | Pre-populated values |
|
||||
| ↳ `defaultValues` | json | Default values for the field |
|
||||
| ↳ `jiraSchema` | json | Jira field schema with type, system, custom, customId |
|
||||
| `issueIdOrKey` | string | Issue ID or key |
|
||||
| `rating` | number | CSAT rating \(1-5\) |
|
||||
| `comment` | string | Feedback comment |
|
||||
| `type` | string | Feedback type \(e.g., csat\) |
|
||||
|
||||
### `jsm_add_feedback`
|
||||
|
||||
Add CSAT feedback to a service request in Jira Service Management
|
||||
|
||||
#### Input
|
||||
|
||||
| Parameter | Type | Required | Description |
|
||||
| --------- | ---- | -------- | ----------- |
|
||||
| `domain` | string | Yes | Your Jira domain \(e.g., yourcompany.atlassian.net\) |
|
||||
| `cloudId` | string | No | Jira Cloud ID for the instance |
|
||||
| `issueIdOrKey` | string | Yes | Issue ID or key \(e.g., SD-123\) |
|
||||
| `rating` | number | Yes | CSAT rating \(1-5\) |
|
||||
| `comment` | string | No | Optional feedback comment |
|
||||
|
||||
#### Output
|
||||
|
||||
| Parameter | Type | Description |
|
||||
| --------- | ---- | ----------- |
|
||||
| `ts` | string | Timestamp of the operation |
|
||||
| `issueIdOrKey` | string | Issue ID or key |
|
||||
| `rating` | number | CSAT rating submitted |
|
||||
| `comment` | string | Feedback comment |
|
||||
| `type` | string | Feedback type |
|
||||
| `success` | boolean | Whether feedback was submitted successfully |
|
||||
|
||||
### `jsm_delete_feedback`
|
||||
|
||||
Delete CSAT feedback from a service request in Jira Service Management
|
||||
|
||||
#### Input
|
||||
|
||||
| Parameter | Type | Required | Description |
|
||||
| --------- | ---- | -------- | ----------- |
|
||||
| `domain` | string | Yes | Your Jira domain \(e.g., yourcompany.atlassian.net\) |
|
||||
| `cloudId` | string | No | Jira Cloud ID for the instance |
|
||||
| `issueIdOrKey` | string | Yes | Issue ID or key \(e.g., SD-123\) |
|
||||
|
||||
#### Output
|
||||
|
||||
| Parameter | Type | Description |
|
||||
| --------- | ---- | ----------- |
|
||||
| `ts` | string | Timestamp of the operation |
|
||||
| `issueIdOrKey` | string | Issue ID or key |
|
||||
| `success` | boolean | Whether feedback was deleted |
|
||||
|
||||
### `jsm_get_notification`
|
||||
|
||||
Get notification subscription status for a request in Jira Service Management
|
||||
|
||||
#### Input
|
||||
|
||||
| Parameter | Type | Required | Description |
|
||||
| --------- | ---- | -------- | ----------- |
|
||||
| `domain` | string | Yes | Your Jira domain \(e.g., yourcompany.atlassian.net\) |
|
||||
| `cloudId` | string | No | Jira Cloud ID for the instance |
|
||||
| `issueIdOrKey` | string | Yes | Issue ID or key \(e.g., SD-123\) |
|
||||
|
||||
#### Output
|
||||
|
||||
| Parameter | Type | Description |
|
||||
| --------- | ---- | ----------- |
|
||||
| `ts` | string | Timestamp of the operation |
|
||||
| `issueIdOrKey` | string | Issue ID or key |
|
||||
| `subscribed` | boolean | Whether currently subscribed to notifications |
|
||||
|
||||
### `jsm_subscribe_notification`
|
||||
|
||||
Subscribe to notifications for a request in Jira Service Management
|
||||
|
||||
#### Input
|
||||
|
||||
| Parameter | Type | Required | Description |
|
||||
| --------- | ---- | -------- | ----------- |
|
||||
| `domain` | string | Yes | Your Jira domain \(e.g., yourcompany.atlassian.net\) |
|
||||
| `cloudId` | string | No | Jira Cloud ID for the instance |
|
||||
| `issueIdOrKey` | string | Yes | Issue ID or key \(e.g., SD-123\) |
|
||||
|
||||
#### Output
|
||||
|
||||
| Parameter | Type | Description |
|
||||
| --------- | ---- | ----------- |
|
||||
| `ts` | string | Timestamp of the operation |
|
||||
| `issueIdOrKey` | string | Issue ID or key |
|
||||
| `success` | boolean | Whether subscription was successful |
|
||||
|
||||
### `jsm_unsubscribe_notification`
|
||||
|
||||
Unsubscribe from notifications for a request in Jira Service Management
|
||||
|
||||
#### Input
|
||||
|
||||
| Parameter | Type | Required | Description |
|
||||
| --------- | ---- | -------- | ----------- |
|
||||
| `domain` | string | Yes | Your Jira domain \(e.g., yourcompany.atlassian.net\) |
|
||||
| `cloudId` | string | No | Jira Cloud ID for the instance |
|
||||
| `issueIdOrKey` | string | Yes | Issue ID or key \(e.g., SD-123\) |
|
||||
|
||||
#### Output
|
||||
|
||||
| Parameter | Type | Description |
|
||||
| --------- | ---- | ----------- |
|
||||
| `ts` | string | Timestamp of the operation |
|
||||
| `issueIdOrKey` | string | Issue ID or key |
|
||||
| `success` | boolean | Whether unsubscription was successful |
|
||||
|
||||
### `jsm_search_knowledge_base`
|
||||
|
||||
Search knowledge base articles in Jira Service Management
|
||||
|
||||
#### Input
|
||||
|
||||
| Parameter | Type | Required | Description |
|
||||
| --------- | ---- | -------- | ----------- |
|
||||
| `domain` | string | Yes | Your Jira domain \(e.g., yourcompany.atlassian.net\) |
|
||||
| `cloudId` | string | No | Jira Cloud ID for the instance |
|
||||
| `serviceDeskId` | string | No | Service Desk ID to search within \(optional, searches globally if omitted\) |
|
||||
| `query` | string | Yes | Search query for knowledge base articles |
|
||||
| `highlight` | boolean | No | Whether to highlight matching text in results |
|
||||
| `start` | number | No | Start index for pagination \(e.g., 0, 50, 100\) |
|
||||
| `limit` | number | No | Maximum results to return \(e.g., 10, 25, 50\) |
|
||||
|
||||
#### Output
|
||||
|
||||
| Parameter | Type | Description |
|
||||
| --------- | ---- | ----------- |
|
||||
| `ts` | string | Timestamp of the operation |
|
||||
| `articles` | array | List of knowledge base articles |
|
||||
| ↳ `title` | string | Article title |
|
||||
| ↳ `excerpt` | string | Article excerpt/summary |
|
||||
| ↳ `sourceType` | string | Source type \(e.g., confluence\) |
|
||||
| ↳ `sourcePageId` | string | Source page ID |
|
||||
| ↳ `sourceSpaceKey` | string | Source space key |
|
||||
| ↳ `contentUrl` | string | URL to rendered content |
|
||||
| `total` | number | Total number of articles found |
|
||||
| `isLastPage` | boolean | Whether this is the last page |
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user