Package com.atlassian.jira.jql.builder

Examples of com.atlassian.jira.jql.builder.JqlQueryBuilder.where()


   * @return
   */
  private Query buildSearch(final CustomField securityLevel, final String clientName, Collection<Long> projectCollection, Collection<String> issueTypeCollection) {
    // create search for incidents
    JqlQueryBuilder newBuilder = JqlQueryBuilder.newBuilder();
    Query query = newBuilder.where()
      .project().inNumbers(projectCollection)
      .and().status().in("" + IssueFieldConstants.OPEN_STATUS_ID,
          "" + IssueFieldConstants.INPROGRESS_STATUS_ID)
      .and().issueType().inStrings(issueTypeCollection)
      .and().customField(securityLevel.getIdAsLong()).like(clientName).buildQuery();
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.