|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ConstantsService
This class contains methods for managing JIRA constants such as issue types, statuses, priorities and resolutions.
Method Summary | |
---|---|
ServiceOutcome<Collection<IssueType>> |
getAllIssueTypes(com.atlassian.crowd.embedded.api.User user)
Returns a ServiceOutcome containing all IssueTypes. |
ServiceOutcome<Collection<Status>> |
getAllStatuses(com.atlassian.crowd.embedded.api.User user)
Returns a ServiceOutcome containing all Statuses. |
ServiceOutcome<IssueType> |
getIssueTypeById(com.atlassian.crowd.embedded.api.User user,
String issueTypeId)
Returns a ServiceOutcome containing the IssueType that has the given id. |
ServiceOutcome<Status> |
getStatusById(com.atlassian.crowd.embedded.api.User user,
String statusId)
Returns a ServiceOutcome containing the Status that has the given id. |
ServiceOutcome<Status> |
getStatusByName(com.atlassian.crowd.embedded.api.User user,
String statusName)
Returns a ServiceOutcome containing the Status that has the given Name. |
ServiceOutcome<Status> |
getStatusByTranslatedName(com.atlassian.crowd.embedded.api.User user,
String statusName)
Returns a ServiceOutcome containing the Status that has the given Name. |
Method Detail |
---|
ServiceOutcome<Status> getStatusById(com.atlassian.crowd.embedded.api.User user, String statusId)
ServiceOutcome.getReturnedValue()
on the returned ServiceOutcome.
user
- the calling userstatusId
- a String containing a Status id
ServiceOutcome<Status> getStatusByName(com.atlassian.crowd.embedded.api.User user, String statusName)
ServiceOutcome.getReturnedValue()
on the returned ServiceOutcome.
user
- the calling userstatusName
- a String containing a Status name
ServiceOutcome<Status> getStatusByTranslatedName(com.atlassian.crowd.embedded.api.User user, String statusName)
ServiceOutcome.getReturnedValue()
on the returned ServiceOutcome.
user
- the calling userstatusName
- a String containing a Status name
ServiceOutcome<Collection<Status>> getAllStatuses(com.atlassian.crowd.embedded.api.User user)
user
- the calling user
ServiceOutcome<Collection<IssueType>> getAllIssueTypes(com.atlassian.crowd.embedded.api.User user)
user
- the calling user
ServiceOutcome<IssueType> getIssueTypeById(com.atlassian.crowd.embedded.api.User user, String issueTypeId)
ServiceOutcome.getReturnedValue()
on the returned ServiceOutcome.
user
- the calling userissueTypeId
- a String containing an IssueType id
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |