Skip to content

Feature/jsm customer request tools#1241

Open
deniszagitov wants to merge 5 commits into
sooperset:mainfrom
deniszagitov:feature/jsm-customer-request-tools
Open

Feature/jsm customer request tools#1241
deniszagitov wants to merge 5 commits into
sooperset:mainfrom
deniszagitov:feature/jsm-customer-request-tools

Conversation

@deniszagitov
Copy link
Copy Markdown

@deniszagitov deniszagitov commented Apr 6, 2026

Description

This PR adds Jira Service Management customer request tools to the Jira MCP server, allowing clients to list available request types, inspect request type fields, and create customer requests through MCP.

It also hardens customer request creation by validating visible required fields, normalizing select-like and multi-value payloads, and retrying without raiseOnBehalfOf when on-behalf request creation is rejected by the API.

Fixes: N/A

Changes

  • Added jira_get_request_types, jira_get_request_type_fields, and jira_create_customer_request to the Jira MCP server.
  • Added Jira Service Management request models and fetcher logic for request type parsing, field discovery, required-field validation, select option normalization, portal URL building, and trace-friendly error handling.
  • Added unit and server regression coverage for successful request creation, invalid select values, missing required fields, strict on-behalf mode, and fallback retry behavior.

Testing

  • Unit tests added/updated
  • Integration tests passed
  • Manual checks performed

Checklist

  • Code follows project style guidelines (linting passes).
  • Tests added/updated for changes.
  • All tests pass locally.
  • Documentation updated (if needed).

--global and others added 4 commits March 31, 2026 00:51
Add MCP support for Jira Service Management customer request flow.

- add request type, request field, and customer request models
- add customer request mixin to JiraFetcher
- expose JSM request type and customer request tools in Jira server
- add unit and server tests for the new JSM flow
Normalize select-like request fields from request type metadata.

Add preflight validation and trace-friendly JSM error reporting.

Extend regression coverage and refresh Jira tool count expectation.
@github-actions
Copy link
Copy Markdown

This pull request has been automatically marked as stale because it has not had recent activity for 14 days. It will be closed if no further activity occurs. Please leave a comment or remove the 'stale' label if you believe this PR is still relevant. Thank you for your contributions!

@github-actions github-actions Bot added the stale label Apr 29, 2026
@deniszagitov
Copy link
Copy Markdown
Author

Hi @sooperset, this tiny PR is still relevant and actively used.
All CI checks are passing, and I’d appreciate a review when you have a chance.
Since it was marked stale automatically, I’m leaving a note to confirm it is still needed and maintained.
Happy to make any follow-up changes required for merge.

Add attach_temporary_files and attachment handling to CustomerRequestsMixin so files can be uploaded via the ServiceDesk temporary attachment store and attached to a created request. Expose an attachments parameter on the jira_create_customer_request tool accepting a JSON array of {filename, mime_type, base64} objects. Attachment failures are recorded as warnings without breaking request creation.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant