qtmj_getStoryHavingBugLike

Description

This function returns a list of stories in the project that are associated with bugs discovered during the execution of test cases or test steps linked to those stories.

Details

  • To execute the query successfully, you must provide at least one argument: the Project Key

  • The filter applies to All Executions of the Test Case.

  • Use the optional cacheBust parameter to ensure the JQL function runs a fresh query by providing a unique value (for example, a timestamp). If not used, Jira may return cached results when the query remains unchanged.

Supported Operators

  • Jira Operators IN NOT IN

Supported Fields

Not Applicable

Example

WorkItem IN qtmj_getStoryHavingBugLike("projectkey = 'AJT'", "Priority = High AND Type = Bug", "cacheBust = '18/May/2026 15:13'")

Publication date: