public class ProjectPropertiesApi extends Object
| Constructor and Description |
|---|
ProjectPropertiesApi(org.everit.http.restclient.RestClient restClient) |
| Modifier and Type | Method and Description |
|---|---|
io.reactivex.Completable |
deleteProjectProperty(String projectIdOrKey,
String propertyKey,
Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Delete project property
Deletes the [property](https://developer.atlassian.com/cloud/jira/platform/storing-data-without-a-database/#a-id-jira-entity-properties-a-jira-entity-properties) from a project.
|
io.reactivex.Single<EntityProperty> |
getProjectProperty(String projectIdOrKey,
String propertyKey,
Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Get project property
Returns the value of a [project property](https://developer.atlassian.com/cloud/jira/platform/storing-data-without-a-database/#a-id-jira-entity-properties-a-jira-entity-properties).
|
io.reactivex.Single<PropertyKeys> |
getProjectPropertyKeys(String projectIdOrKey,
Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Get project property keys
Returns all [project property](https://developer.atlassian.com/cloud/jira/platform/storing-data-without-a-database/#a-id-jira-entity-properties-a-jira-entity-properties) keys for the project.
|
io.reactivex.Single<Object> |
setProjectProperty(String projectIdOrKey,
String propertyKey,
Object body,
Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Set project property
Sets the value of the [project property](https://developer.atlassian.com/cloud/jira/platform/storing-data-without-a-database/#a-id-jira-entity-properties-a-jira-entity-properties).
|
public ProjectPropertiesApi(org.everit.http.restclient.RestClient restClient)
public io.reactivex.Completable deleteProjectProperty(String projectIdOrKey, String propertyKey, Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
projectIdOrKey - The project ID or project key (case sensitive). (required)propertyKey - The project property key. Use [Get project property keys](#api-rest-api-3-project-projectIdOrKey-properties-get) to get a list of all project property keys. (required)restRequestEnhancer - Adds the possibility to modify the rest request before sending out. This can be useful to add authorizations tokens for example.
public io.reactivex.Single<EntityProperty> getProjectProperty(String projectIdOrKey, String propertyKey, Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
projectIdOrKey - The project ID or project key (case sensitive). (required)propertyKey - The project property key. Use [Get project property keys](#api-rest-api-3-project-projectIdOrKey-properties-get) to get a list of all project property keys. (required)restRequestEnhancer - Adds the possibility to modify the rest request before sending out. This can be useful to add authorizations tokens for example.
public io.reactivex.Single<PropertyKeys> getProjectPropertyKeys(String projectIdOrKey, Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
projectIdOrKey - The project ID or project key (case sensitive). (required)restRequestEnhancer - Adds the possibility to modify the rest request before sending out. This can be useful to add authorizations tokens for example.
public io.reactivex.Single<Object> setProjectProperty(String projectIdOrKey, String propertyKey, Object body, Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
projectIdOrKey - The project ID or project key (case sensitive). (required)propertyKey - The key of the project property. The maximum length is 255 characters. (required)body - (required)restRequestEnhancer - Adds the possibility to modify the rest request before sending out. This can be useful to add authorizations tokens for example.
Copyright © 2011–2021 Everit Kft.. All rights reserved.