public interface FlagService
Modifier and Type | Method and Description |
---|---|
ServiceOutcome<ErrorCollection> |
flag(com.atlassian.jira.user.ApplicationUser user,
Collection<com.atlassian.jira.issue.Issue> issues,
boolean flag)
Flags / unflags issues according to the given parameter.
|
Boolean |
isFlagged(com.atlassian.jira.issue.Issue issue)
Get the flagged value for the gifen issue.
|
ServiceOutcome<ErrorCollection> flag(com.atlassian.jira.user.ApplicationUser user, Collection<com.atlassian.jira.issue.Issue> issues, boolean flag)
user
- the actorissues
- the collection of issuesflag
- true
to flag, false
to unflagErrorCollection
if all the issues were succesfully updated,
a valid outcome with a non empty ErrorCollection
if some of the issues were not updated,
an invalid outcome if all the issues were rejectedBoolean isFlagged(com.atlassian.jira.issue.Issue issue)
issue
- the target issueCopyright © 2007–2015 Atlassian. All rights reserved.