public class Project extends Resource
apirev, DEFAULT_API_REV, id, restclient, self| Modifier | Constructor and Description |
|---|---|
protected |
Project(RestClient restclient,
net.sf.json.JSONObject json)
Creates a project from a JSON payload.
|
| Modifier and Type | Method and Description |
|---|---|
static Project |
get(RestClient restclient,
String key)
Retrieves the given project record.
|
static List<Project> |
getAll(RestClient restclient)
Retrieves all project records visible to the session user.
|
List<User> |
getAssignableUsers() |
String |
getAssigneeType() |
Map<String,String> |
getAvatarUrls() |
ProjectCategory |
getCategory() |
List<Component> |
getComponents() |
String |
getDescription() |
String |
getEmail() |
List<IssueType> |
getIssueTypes() |
String |
getKey() |
User |
getLead() |
String |
getName() |
Map<String,String> |
getRoles() |
List<Version> |
getVersions() |
String |
toString() |
getApiRev, getAuthUri, getBaseUri, getId, getSelf, getUrl, setApiRevprotected Project(RestClient restclient, net.sf.json.JSONObject json)
restclient - REST client instancejson - JSON payloadpublic static Project get(RestClient restclient, String key) throws JiraException
restclient - REST client instancekey - Project keyJiraException - when the retrieval failspublic static List<Project> getAll(RestClient restclient) throws JiraException
restclient - REST client instanceJiraException - when the retrieval failspublic List<User> getAssignableUsers() throws JiraException
JiraExceptionpublic String getKey()
public String getName()
public String getDescription()
public User getLead()
public String getAssigneeType()
public ProjectCategory getCategory()
public String getEmail()
Copyright © 2022. All rights reserved.