PUT /rest/api/2/project/{projectIdOrKey}/avatar
Sets the avatar displayed for a project.
Use Load project avatar to store avatars against the project, before using this operation to set the displayed avatar.
Permissions required: Administer projects project permission.
Servers
- https://your-domain.atlassian.net
Path parameters
Name | Type | Required | Description |
---|---|---|---|
projectIdOrKey |
String | Yes |
The ID or (case-sensitive) key of the project. |
Request headers
Name | Type | Required | Description |
---|---|---|---|
Content-Type |
String | Yes |
The media type of the request body.
Default value: "application/json" |
Request body fields
Name | Type | Required | Description |
---|---|---|---|
id |
String | Yes |
The ID of the avatar. |
isDeletable |
Boolean | No |
Whether the avatar can be deleted. |
isSelected |
Boolean | No |
Whether the avatar is used in Jira. For example, shown as a project's avatar. |
fileName |
String | No |
The file name of the avatar icon. Returned for system avatars. |
owner |
String | No |
The owner of the avatar. For a system avatar the owner is null (and nothing is returned). For non-system avatars this is the appropriate identifier, such as the ID for a project or the account ID for a user. |
isSystemAvatar |
Boolean | No |
Whether the avatar is a system avatar. |
urls |
Object | No |
The list of avatar icon URLs. |
How to start integrating
- Add HTTP Task to your workflow definition.
- Search for the API you want to integrate with and click on the name.
- This loads the API reference documentation and prepares the Http request settings.
- Click Test request to test run your request to the API and see the API's response.