trait IssuesService extends AnyRef

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. IssuesService
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. def changeIssueToPullRequest(owner: String, repository: String, issueId: Int)(implicit s: (blockingApi)#Session): Int
  2. def closeIssuesFromMessage(message: String, userName: String, owner: String, repository: String)(implicit s: (blockingApi)#Session): Seq[Int]
  3. def countIssue(condition: IssueSearchCondition, searchOption: IssueSearchOption, repos: (String, String)*)(implicit s: (blockingApi)#Session): Int

    Returns the count of the search result against issues.

    Returns the count of the search result against issues.

    condition

    the search condition

    searchOption

    if true then counts only pull request, false then counts both of issue and pull request.

    repos

    Tuple of the repository owner and the repository name

    returns

    the count of the search result

  4. def countIssueGroupByLabels(owner: String, repository: String, condition: IssueSearchCondition, filterUser: Map[String, String])(implicit s: (blockingApi)#Session): Map[String, Int]

    Returns the Map which contains issue count for each labels.

    Returns the Map which contains issue count for each labels.

    owner

    the repository owner

    repository

    the repository name

    condition

    the search condition

    returns

    the Map which contains issue count for each labels (key is label name, value is issue count)

  5. def countIssueGroupByPriorities(owner: String, repository: String, condition: IssueSearchCondition, filterUser: Map[String, String])(implicit s: (blockingApi)#Session): Map[String, Int]

    Returns the Map which contains issue count for each priority.

    Returns the Map which contains issue count for each priority.

    owner

    the repository owner

    repository

    the repository name

    condition

    the search condition

    returns

    the Map which contains issue count for each priority (key is priority name, value is issue count)

  6. def createComment(owner: String, repository: String, loginUser: String, issueId: Int, content: String, action: String)(implicit s: (blockingApi)#Session): Int
  7. def createIssueComment(owner: String, repository: String, commit: CommitInfo)(implicit s: (blockingApi)#Session): Unit
  8. def createReferComment(owner: String, repository: String, fromIssue: Issue, message: String, loginAccount: Account)(implicit s: (blockingApi)#Session): Unit
  9. def deleteAllIssueLabels(owner: String, repository: String, issueId: Int, insertComment: Boolean = false)(implicit context: Context, s: (blockingApi)#Session): Int
  10. def deleteComment(owner: String, repository: String, issueId: Int, commentId: Int)(implicit context: Context, s: (blockingApi)#Session): Int
  11. def deleteIssueLabel(owner: String, repository: String, issueId: Int, labelId: Int, insertComment: Boolean = false)(implicit context: Context, s: (blockingApi)#Session): Int
  12. def getAssignableUserNames(owner: String, repository: String)(implicit s: (blockingApi)#Session): List[String]
  13. def getComment(owner: String, repository: String, commentId: String)(implicit s: (blockingApi)#Session): Option[IssueComment]
  14. def getCommentForApi(owner: String, repository: String, commentId: Int)(implicit s: (blockingApi)#Session): Option[(IssueComment, Account, Issue)]
  15. def getComments(owner: String, repository: String, issueId: Int)(implicit s: (blockingApi)#Session): List[model.IssueCommentComponent.IssueComments.TableElementType]
  16. def getCommentsForApi(owner: String, repository: String, issueId: Int)(implicit s: (blockingApi)#Session): List[(IssueComment, Account, Issue)]

    returns

    IssueComment and commentedUser and Issue

  17. def getIssue(owner: String, repository: String, issueId: String)(implicit s: (blockingApi)#Session): Option[model.IssueComponent.Issues.TableElementType]
  18. def getIssueLabel(owner: String, repository: String, issueId: Int, labelId: Int)(implicit s: (blockingApi)#Session): Option[IssueLabel]
  19. def getIssueLabels(owner: String, repository: String, issueId: Int)(implicit s: (blockingApi)#Session): List[Label]
  20. def getMergedComment(owner: String, repository: String, issueId: Int)(implicit s: (blockingApi)#Session): Option[(IssueComment, Account)]
  21. def getOpenIssues(owner: String, repository: String)(implicit s: (blockingApi)#Session): List[Issue]
  22. def insertIssue(owner: String, repository: String, loginUser: String, title: String, content: Option[String], assignedUserName: Option[String], milestoneId: Option[Int], priorityId: Option[Int], isPullRequest: Boolean = false)(implicit s: (blockingApi)#Session): Int
  23. def registerIssueLabel(owner: String, repository: String, issueId: Int, labelId: Int, insertComment: Boolean = false)(implicit context: Context, s: (blockingApi)#Session): Int
  24. def searchIssue(condition: IssueSearchCondition, searchOption: IssueSearchOption, offset: Int, limit: Int, repos: (String, String)*)(implicit s: (blockingApi)#Session): List[IssueInfo]

    Returns the search result against issues.

    Returns the search result against issues.

    condition

    the search condition

    searchOption

    if true then returns only pull requests, false then returns only issues.

    offset

    the offset for pagination

    limit

    the limit for pagination

    repos

    Tuple of the repository owner and the repository name

    returns

    the search result (list of tuples which contain issue, labels and comment count)

  25. def searchIssueByApi(condition: IssueSearchCondition, offset: Int, limit: Int, repos: (String, String)*)(implicit s: (blockingApi)#Session): List[(Issue, Account, Option[Account])]

    for api

    for api

    returns

    (issue, issueUser, assignedUser)

  26. def searchIssuesByKeyword(owner: String, repository: String, query: String, pullRequest: Boolean)(implicit s: (blockingApi)#Session): List[(Issue, Int, String)]

    Search issues by keyword.

    Search issues by keyword.

    owner

    the repository owner

    repository

    the repository name

    query

    the keywords separated by whitespace.

    returns

    issues with comment count and matched content of issue or comment

  27. def searchPullRequestByApi(condition: IssueSearchCondition, offset: Int, limit: Int, repos: (String, String)*)(implicit s: (blockingApi)#Session): List[(Issue, Account, Int, PullRequest, Repository, Account, Option[Account])]

    for api

    for api

    returns

    (issue, issueUser, commentCount, pullRequest, headRepo, headOwner)

  28. def updateAssignedUserName(owner: String, repository: String, issueId: Int, assignedUserName: Option[String], insertComment: Boolean = false)(implicit context: Context, s: (blockingApi)#Session): Int
  29. def updateClosed(owner: String, repository: String, issueId: Int, closed: Boolean)(implicit s: (blockingApi)#Session): Int
  30. def updateComment(issueId: Int, commentId: Int, content: String)(implicit s: (blockingApi)#Session): Int
  31. def updateIssue(owner: String, repository: String, issueId: Int, title: String, content: Option[String])(implicit s: (blockingApi)#Session): Int
  32. def updateMilestoneId(owner: String, repository: String, issueId: Int, milestoneId: Option[Int], insertComment: Boolean = false)(implicit context: Context, s: (blockingApi)#Session): Int
  33. def updatePriorityId(owner: String, repository: String, issueId: Int, priorityId: Option[Int], insertComment: Boolean = false)(implicit context: Context, s: (blockingApi)#Session): Int