Return Type: ISSUE
These functions are a wrapper on the existing JIRA functionality and intends to make it easier for users to search based on commits, reviews, pull requests etc. As JIRA exposes more data on the development attributes, we will add more such functions.
All the developer functions require "JIRA Software" license. Also, JIRA should be connected to other development applications like Bitbucket Server, Crucible and Bamboo for the respective functions to work. See documentation for more details.
hasCommits([Count],[Operator])
Function to find all issues that has commits associated with it. You can optionally pass a count to find issues with exactly the given number of commits or pass a count and an operator to find issues with commits less than/more than the given number.
Supported Operators : "<", "<=", "=", "!=", ">", ">="
Since : v7.0
Usage/Examples:
- issue in hasCommits() - Returns all the issues that has commits associated with them
- issue in hasCommits(5) - Returns all the issues that has exactly 5 commits associated with them
- issue in hasCommits(5, ">") - Returns all the issues that has more than 5 commits associated with them
hasReviews([Count],[Operator])
Function to find all issues that has reviews associated with it. You can optionally pass a count to find issues with exactly the given number of reviews or pass a count and an operator to find issues with reviews less than/more than the given number.
Supported Operators : "<", "<=", "=", "!=", ">", ">="
Since : v7.0
Usage/Examples:
- issue in hasReviews() - Returns all the issues that has reviews associated with them
- issue in hasReviews(5) - Returns all the issues that has exactly 5 reviews associated with them
- issue in hasReviews(5, ">") - Returns all the issues that has more than 5 reviews associated with them
hasOpenReviews([Count],[Operator])
Function to find all issues that has open reviews associated with it. You can optionally pass a count to find issues with exactly the given number of open reviews or pass a count and an operator to find issues with open reviews less than/more than the given number.
Supported Operators : "<", "<=", "=", "!=", ">", ">="
Since : v7.0
Usage/Examples:
- issue in hasOpenReviews() - Returns all the issues that has open reviews associated with them
- issue in hasOpenReviews(5) - Returns all the issues that has exactly 5 open reviews associated with them
- issue in hasOpenReviews(5, ">") - Returns all the issues that has more than 5 open reviews associated with them
hasPRs([Count],[Operator])
Function to find all issues that has pull requests associated with it. You can optionally pass a count to find issues with exactly the given number of pull requests or pass a count and an operator to find issues with pull requests less than/more than the given number.
Supported Operators : "<", "<=", "=", "!=", ">", ">="
Since : v7.0
Usage/Examples:
- issue in hasPRs() - Returns all the issues that has pull requests associated with them
- issue in hasPRs(5) - Returns all the issues that has exactly 5 pull requests associated with them
- issue in hasPRs(5, ">") - Returns all the issues that has more than 5 pull requests associated with them
hasOpenPRs([Count],[Operator])
Function to find all issues that has open pull requests associated with it. You can optionally pass a count to find issues with exactly the given number of open pull requests or pass a count and an operator to find issues with open pull requests less than/more than the given number.
Supported Operators : "<", "<=", "=", "!=", ">", ">="
Since : v7.0
Usage/Examples:
- issue in hasOpenPRs() - Returns all the issues that has open pull requests associated with them
- issue in hasOpenPRs(5) - Returns all the issues that has exactly 5 open pull requests associated with them
- issue in hasOpenPRs(5, ">") - Returns all the issues that has more than 5 open pull requests associated with them
hasFailingBuilds([Count],[Operator])
Function to find all issues that has failing builds associated with it. You can optionally pass a count to find issues with exactly the given number of failing builds or pass a count and an operator to find issues with failing builds less than/more than the given number.
Supported Operators : "<", "<=", "=", "!=", ">", ">="
Since : v7.0
Usage/Examples:
- issue in hasFailingBuilds() - Returns all the issues that has failing builds associated with them
- issue in hasFailingBuilds(5) - Returns all the issues that has exactly 5 failing builds associated with them
- issue in hasFailingBuilds(5, ">") - Returns all the issues that has more than 5 failing builds associated with them
Copyright © 2010. All rights reserved.