jira_create_issue_link
Create a typed link between two Jira issues, optionally adding a comment with visibility controls, to establish relationships like blocks or duplicates.
Instructions
Create a link between two Jira issues.
Args: ctx: The FastMCP context. link_type: The type of link (e.g., 'Blocks'). inward_issue_key: The key of the source issue. outward_issue_key: The key of the target issue. comment: Optional comment text. comment_visibility: Optional dictionary for comment visibility.
Returns: JSON string indicating success or failure.
Raises: ValueError: If required fields are missing, invalid input, in read-only mode, or Jira client unavailable.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| comment | No | (Optional) Comment to add to the link | |
| link_type | Yes | The type of link to create (e.g., 'Duplicate', 'Blocks', 'Relates to') | |
| inward_issue_key | Yes | The key of the inward issue (e.g., 'PROJ-123') | |
| outward_issue_key | Yes | The key of the outward issue (e.g., 'PROJ-456') | |
| comment_visibility | No | (Optional) Visibility settings for the comment (e.g., {'type': 'group', 'value': 'jira-users'}) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |