This function generates a JQL (Jira Query Language) query based on a specific Jira project key, bundle name, and version typeJQL extension takes a list of bundle names, bundle versions or bundle ids and returns all issues which are reported against a component version contained in the bundle.
Usage
issue in affectsInBundle("projectKey", "bundleName", "versionTypebundleVersionName");
Parameters
projectKey
: The key of the Jira project.bundleName
: The name of the relevant bundle.versionType
: The type of version.
Return Value
jql
: The generated JQL query.
This function fetches information about components and versions from Jira based on the given project key, bundle name, and version type. It then constructs a JQL query based on certain conditions and returns this query.