@Override public String toString() { return getKey(); }
@Override public String toString() { return getKey(); }
/** * Adds a remote link to this issue. At least set the * {@link FluentRemoteLink#url(String) url} or * {@link FluentRemoteLink#globalId(String) globalId} and * {@link FluentRemoteLink#title(String) title} before * {@link FluentRemoteLink#create() creating} the link. * * @return a fluent remote link instance */ public FluentRemoteLink remoteLink() { return new FluentRemoteLink(restclient, 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()); }
/** * 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()); }