jira-client
jira-client copied to clipboard
How can I create an issue with customized IssueType?
Hi Guys,
Is there anybody know that how I can create an issue with customized IssueType?
Thanks, max
Our back end administrator has created the "TestIssueType" for me? but when I create an issue with this type? it will return this error:
My code: Issue newIssue = jira.createIssue(JIRA_PROJECT, "TestIssueType") .field(Field.SUMMARY, "Software Review: template test") .execute();
ERROR com.sas.jdt.batch.util.JiraAPIs - Fail to create issue in Jira -> [net.rcarz.jiraclient.JiraException: Failed to create issue]
Hello maxlpy,
There is no API using which we can create issueType for specific project. There is one resource using which we can create issueType but it will create issueType for "Default Issue Type Scheme" which is by default assigned to "Global (all unconfigured projects)".
So I think as of now there is no way that we community can provide you any solution for this.
If anybody has some another findings then please let us know.
Thanks.