java.lang.Object | |
↳ | com.atlassian.jira.rest.v2.issue.ProjectResource |
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
int | MAX_RECENT_PROJECTS |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Converts temporary avatar into a real avatar
| |||||||||||
Creates a new project.
| |||||||||||
Deletes avatar
| |||||||||||
Deletes a project.
| |||||||||||
Returns all avatars which are visible for the currently logged in user.
| |||||||||||
Returns all projects which are visible for the currently logged in user.
| |||||||||||
Get all issue types with valid status values for a project
| |||||||||||
Contains a full representation of a project in JSON format.
| |||||||||||
Contains a full representation of a the specified project's components.
| |||||||||||
Contains a full representation of a the specified project's versions.
| |||||||||||
Returns all versions for the specified project.
| |||||||||||
Creates temporary avatar
| |||||||||||
Creates temporary avatar using multipart.
| |||||||||||
Updates a project.
| |||||||||||
Updates the type of a project.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Converts temporary avatar into a real avatar
projectIdOrKey | project id or project key |
---|---|
croppingInstructions | cropping instructions |
Creates a new project.
project | new project details |
---|
ProjectIdentity
of newly created project.Deletes avatar
projectIdOrKey | Project id or project key |
---|---|
id | database id for avatar |
Deletes a project.
projectIdOrKey | Project id or project key |
---|
Returns all avatars which are visible for the currently logged in user. The avatars are grouped into system and custom.
projectIdOrKey | project id or project key |
---|
Returns all projects which are visible for the currently logged in user. If no user is logged in, it returns the list of projects that are visible when using anonymous access.
expand | the parameters to expand |
---|---|
recent | if this parameter is set then only projects recently accessed by the current user (if not logged in then based on HTTP session) will be returned (maximum count limited to the specified number but no more than 20). |
Get all issue types with valid status values for a project
projectIdOrKey | Project id or project key |
---|
Contains a full representation of a project in JSON format.
All project keys associated with the project will only be returned if expand=projectKeys
.
projectIdOrKey | the project id or project key |
---|---|
expand | the parameters to expand |
Contains a full representation of a the specified project's components.
projectIdOrKey | the project id or project key |
---|
Contains a full representation of a the specified project's versions.
projectIdOrKey | the project id or project key |
---|---|
expand | the parameters to expand |
Returns all versions for the specified project. Results are paginated.
Results can be ordered by the following fields:
projectIdOrKey | the project id or project key |
---|---|
startAt | the page offset, if not specified then defaults to 0 |
maxResults | how many results on the page should be included. Defaults to 50. |
orderBy | ordering of the results. |
expand | the parameters to expand |
Creates temporary avatar
projectIdOrKey | Project id or project key |
---|---|
filename | name of file being uploaded |
size | size of file |
request | servlet request |
Creates temporary avatar using multipart. The response is sent back as JSON stored in a textarea. This is because the client uses remote iframing to submit avatars using multipart. So we must send them a valid HTML page back from which the client parses the JSON.
projectIdOrKey | Project id or project key |
---|---|
request | servlet request |
Updates a project.
Only non null values sent in JSON will be updated in the project.
Values available for the assigneeType field are: "PROJECT_LEAD" and "UNASSIGNED".
projectIdOrKey | identity of the project to update |
---|---|
expand | the parameters to expand in returned project |
updateData | new values for the project |
Updates the type of a project.
projectIdOrKey | identity of the project to update |
---|---|
newProjectTypeKey | The key of the new project type |