/** * Creates a new issue in the given project. * * @param project Key of the project to create in * @param issueType Name of the issue type to create * * @return a fluent create instance * * @throws JiraException when something goes wrong */ public Issue.FluentCreate createIssue(String project, String issueType) throws JiraException { return Issue.create(restclient, project, issueType); }
/** * Creates a new issue in the given project. * * @param project Key of the project to create in * @param issueType Name of the issue type to create * * @return a fluent create instance * * @throws JiraException when something goes wrong */ public Issue.FluentCreate createIssue(String project, String issueType) throws JiraException { return Issue.create(restclient, project, issueType); }
/** * Creates a new sub-task. * * @return a fluent create instance * * @throws JiraException when the client fails to retrieve issue metadata */ public FluentCreate createSubtask() throws JiraException { return Issue.create(restclient, getProject().getKey(), "Sub-task") .field(Field.PARENT, getKey()); }
/** * Creates a new sub-task. * * @return a fluent create instance * * @throws JiraException when the client fails to retrieve issue metadata */ public FluentCreate createSubtask() throws JiraException { return Issue.create(restclient, getProject().getKey(), "Sub-task") .field(Field.PARENT, getKey()); }