JQL stands for Jira Query Language. It is very similar to SQL. It is used in Jira to perform advanced searches. You can use JQL to pull Jira data and build a custom metric in Jama Analyze.  You can also upload multiple JQL queries. To build a custom JQL metric:
  1. Add Jira as a data source.
  2. Select Integrations in the left panel, select Jira, and choose Custom JQL metric from the list of templates.
  3. Enter the name and description for this new metric.
  4. Paste the JQL query you want to use for this custom metric.
    Tip: If you are not familiar with JQL queries, you can use the simple search feature in Jira to extract the JQL. Fill in the forms in the simple search feature in Jira, then select Advanced search to display the corresponding JQL query. You can copy and paste that JQL into Jama Analyze. 
  5. Select Sum issue by count if you want a simple count of the issues returned, or select Sum by story points if you want to return a sum of points retrieved in this query.
  6. Select a start date and the frequency you would like Jama Analyze to retrieve data from Jira.
  7. Select where you would like this new custom metric to be visible.
  8. You will see a preview of the current value associated with your JQL. If this number is not what you suspect, review your JQL expression. Select Submit.