Create Issues with the Same Summary Using Jelly Script Fails due to 'Duplicate Issue' Error
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
Powered by Confluence and Scroll Viewport.