Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Argument

Description

Example

Project name

[Optional, default = ““]

→ Restrict the issues to a specific project

  • issue in hasReq() : Find the first 100 issues containing a requirement in all projects

  • issue in hasReq("", 0, 100) : Find the first 100 issues containing a requirement in all projects, with explicit pagination parameters

  • issue in hasReq("RYC") Find the first 100 issues containing a requirement in the project RYC.

Search offset

[Optional, default = 0]

→ Pagination parameter. Useful when your query matches too many issues

  • issue in hasReq("", 0) or issue in hasReq("", 100) or issue in hasReq("", 200) Find the first 300 issues containing requirements in all projects.

Search limit

[Optional, default = 100]

→ Pagination parameter. You should never need to use this parameter, but it is required to use the Cache Control parameter

  • issue in hasReq("", 0, 1000) Find the first 1000 issues containing requirements in all projects (Most likely will cause an error, as JQL length is limited to 1000 characters on Atlassian side)

Cache Control

[Optional, default = ““]

Atlassian automatically saves the results of calling jql functions for 7 days, depending on arguments.

Using this parameter to force a cache miss (eg: a timestamp, or a uuid) is the easiest way to get results up to date if you recently modified issue links to requirements.

  • issue in hasReq("", 0, 100, "2024-03-18T11:13:46")

  • issue in hasReq("", 0, 100, "e846db4c-6c3d-44d3-b243-ab897fafedcf")

Find the first 100 issues containing requirement in all projects and force Atlassian to use the most up to date results

...