|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.jira.rest.v2.issue.IssuePropertyResource
public class IssuePropertyResource
| Constructor Summary | |
|---|---|
IssuePropertyResource(IssuePropertyService issuePropertyService,
JiraAuthenticationContext authContext,
JiraBaseUrls jiraBaseUrls,
I18nHelper i18n)
|
|
| Method Summary | |
|---|---|
javax.ws.rs.core.Response |
deleteProperty(String issueIdOrKey,
String propertyKey)
Removes the property from the issue identified by the key or by the id. |
javax.ws.rs.core.Response |
getPropertiesKeys(String issueIdOrKey)
Returns the keys of all properties for the issue identified by the key or by the id. |
javax.ws.rs.core.Response |
getProperty(String issueIdOrKey,
String issuePropertyKey)
Returns the value of the property with a given key from the issue identified by the key or by the id. |
javax.ws.rs.core.Response |
setProperty(String issueIdOrKey,
String issuePropertyKey,
javax.servlet.http.HttpServletRequest request)
Sets the value of the specified issue's property. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IssuePropertyResource(IssuePropertyService issuePropertyService,
JiraAuthenticationContext authContext,
JiraBaseUrls jiraBaseUrls,
I18nHelper i18n)
| Method Detail |
|---|
@ExperimentalApi public javax.ws.rs.core.Response getPropertiesKeys(String issueIdOrKey)
issueIdOrKey - the issue from which keys will be returned.
@ExperimentalApi
public javax.ws.rs.core.Response setProperty(String issueIdOrKey,
String issuePropertyKey,
@Context
javax.servlet.http.HttpServletRequest request)
You can use this resource to store a custom data against the issue identified by the key or by the id. The user who stores the data is required to have permissions to edit the issue.
issueIdOrKey - the issue on which the property will be set.issuePropertyKey - the key of the issue's property. The maximum length of the key is 255 bytes.request - the request containing value of the issue'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 issueIdOrKey,
String issuePropertyKey)
issueIdOrKey - the issue from which the property will be returned.issuePropertyKey - the key of the property to return.
EntityPropertyBean.
@ExperimentalApi
public javax.ws.rs.core.Response deleteProperty(String issueIdOrKey,
String propertyKey)
issueIdOrKey - the issue from which the property will be removed.propertyKey - the key of the property to remove.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||