This app has been archived

You may still get support information and download previous versions of this app. Learn more.
Last modified 2015-05-26 247 downloads By Pigsty

Support

To check known issues (or if you want to file one), view this app's issue tracker.


To learn more about the app, you should:

Description

top JQL function


Limit number of issues returned by query to TOP x items or by percentage



hasLinksFromQuery JQL function


Rreturns issues from given query that have links of given type and direction



It's free


It's free :)



More details


top()

Top was developed to limit the number of search results.

top(query, limit)

  • query - JQL query string
  • limit - integer (max limit) or decimal (percentage limit)

JQL Example - returns first 20 issues matching query:

issue in top("project = PROJ AND type = Bug ORDER BY key DESC",20)

JQL Example - returns first 10% of issues matching query:

issue in top("project = PROJ AND type = Bug ORDER BY key DESC",0.1)

---

hasLinksFromQuery()

Has links from query returns issues from given query that have links of given type and direction.

hasLinksFromQuery(query, linkTypeName, direction)

  • query - JQL query string
  • linkTypeName - case-sensitive name of link type (e.g. "Blocks")
  • direction - link direction. Allowed values:
    • inward
    • outward
    • both

JQL Example - returns issues that are blocking any other issue:

issue in hasLinksFromQuery("project = PROJ",Blocks,outward)

Version history