Create Issues with the Same Summary Using Jelly Script Fails due to 'Duplicate Issue' Error

Still need help?

The Atlassian Community is here for you.

Ask the community

Symptoms

Creating multiple issues with the same summary causes the following error:


*Error*: <JiraJelly xmlns:jira="jelly:com.atlassian.jira.jelly.JiraTagLib"><Error action="CreateIssueDetails">
<TagContents>(CreateIssue(issueKeyVar=issuekey1)(summary=Issue summary 111)(issuetype=10)
(reporter=terry.ooi)(project-key=TST)(assignee=terry.ooi)(priority=3)(pid=10060))
</TagContents><ExecutedAs>user=terry.ooi</ExecutedAs>
<ErrorMessage>Duplicate Issue : Another issue for this project with the same values for "summary"</ErrorMessage></Error>

Cause

The Jelly tag jira:CreateIssue will throw an error if not configured to ignore issues with duplicate summaries.

Resolution

Add the attribute duplicateSummary=ignore to the jira:CreateIssue tag.


Last modified on Mar 30, 2016

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.