public class IssueTypePropertyResource extends Object
Constructor and Description |
---|
IssueTypePropertyResource(IssueTypePropertyService issueTypePropertyService,
JiraAuthenticationContext authenticationContext,
JiraBaseUrls jiraBaseUrls,
I18nHelper i18n) |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
deleteProperty(String issueTypeId,
String propertyKey)
Removes the property from the issue type identified by the id.
|
javax.ws.rs.core.Response |
getProperty(String issueTypeId,
String propertyKey)
Returns the value of the property with a given key from the issue type identified by the id.
|
javax.ws.rs.core.Response |
getPropertyKeys(String issueTypeId)
Returns the keys of all properties for the issue type identified by the id.
|
javax.ws.rs.core.Response |
setProperty(String issueTypeId,
String propertyKey,
javax.servlet.http.HttpServletRequest request)
Sets the value of the specified issue type's property.
|
public IssueTypePropertyResource(IssueTypePropertyService issueTypePropertyService, JiraAuthenticationContext authenticationContext, JiraBaseUrls jiraBaseUrls, I18nHelper i18n)
@ExperimentalApi public javax.ws.rs.core.Response getPropertyKeys(String issueTypeId)
issueTypeId
- the issue type from which the keys will be returned@ExperimentalApi public javax.ws.rs.core.Response setProperty(String issueTypeId, String propertyKey, @Context javax.servlet.http.HttpServletRequest request)
You can use this resource to store a custom data against an issue type identified by the id. The user who stores the data is required to have permissions to edit an issue type.
issueTypeId
- the issue type on which the property will be setpropertyKey
- the key of the issue type's property. The maximum length of the key is 255 bytesrequest
- the request containing value of the issue type's property. The value has to a valid, non-empty JSON conforming
to http://tools.ietf.org/html/rfc4627. The maximum length of the property value is 32768 bytes.@ExperimentalApi public javax.ws.rs.core.Response getProperty(String issueTypeId, String propertyKey)
issueTypeId
- the issue type from which the property will be returnedpropertyKey
- the key of the property to returnEntityPropertyBean
@ExperimentalApi public javax.ws.rs.core.Response deleteProperty(String issueTypeId, String propertyKey)
issueTypeId
- the issue type from which the property will be removedpropertyKey
- the key of the property to removeCopyright © 2002-2022 Atlassian. All Rights Reserved.