Deduplicate Issue Intake
A 3-step recipe with Jira. We can help you get access.
Recipe · 3 steps
Deduplicate Issue Intake
with Jira
Works with AI assistants
Upsert an issue — comment on the existing duplicate, or create a new issue.
- Run the JQL query via POST, returning at most one match. POST is used because JQL queries routinely exceed what is comfortable in a query string.
- Append a recurrence comment to the matched issue instead of opening a duplicate ticket, preserving the existing triage context.
- Create a new issue when the JQL search matched nothing, using an Atlassian Document Format description as required by REST API v3.
What you'll need to have ready
- projectKey: The key of the project to search and create within (e.g. PROJ).
- jql: The JQL query that identifies an existing duplicate, e.g. project = PROJ AND resolution = Unresolved AND summary ~ "checkout 500s".
- summary: The summary to use when a new issue must be created.
- descriptionText: The plain text body of the new issue description.
- issueTypeName: The name of the issue type to create (e.g. Bug).
- recurrenceText: The plain text comment appended to an existing issue when a duplicate is found.
For your developer
Arazzo workflow jira:deduplicate-issue-intake, 3 operations: postRestApi3Search → postRestApi3IssueByIssueIdOrKeyComment → postRestApi3Issue. Specs on APIs.io.