-
Notifications
You must be signed in to change notification settings - Fork 378
Open
Description
I get available issue types using:
jiraClient.getProject("JRA").getIssueTypes()
I get an issue type names "Anomalie" (french for "Bug").
Then I create an Issue with this issue type:
jiraClient.createIssue("JRA", "Anomalie")
But I get the error:
net.rcarz.jiraclient.JiraException: Project 'JRA' or issue type 'Anomalie' missing from create metadata. Do you have enough permissions?
at net.rcarz.jiraclient.Issue.getCreateMetadata(Issue.java:475)
at net.rcarz.jiraclient.Issue.create(Issue.java:670)
at net.rcarz.jiraclient.JiraClient.createIssue(JiraClient.java:77)
When I replace "Anomalie" by "Bug" like the following, it works:
jiraClient.createIssue("JRA", "Bug")
I think getCreateMetadata should use IssueType.id instead of IssueType.name
Metadata
Metadata
Assignees
Labels
No labels