Uploaded image for project: 'Automation for Cloud'
  1. Automation for Cloud
  2. AUTO-767

JQL components in Automation rules do not provide syntax/input suggestion

XMLWordPrintable

    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

    • Jira Software, Jira Service Management, Jira Work Management

      Summary

      Automation for JIRA provides Triggers like "Scheduled" and Action Items like "LookupIssues" that uses JQL to filter JIRA issues. However, unlike JIRA Advanced or Issue Navigator in each project, the JQL on Automation doesn't provide JQL smart syntax/input suggestion.
      Due to this the JQL query need to be built outside on the "Advanced Issue Search" page and then copied and tested in the Automation rule using the "Validate" button. This creates a uncomfortable UI experience while moving back and forth from the automation page.

      How to Replicate

      1. Go to Project > Project Settings > Automation
      2. Click on Create rule
      3. Choose the trigger as "Scheduled" and enabled the "Run a JQL search and execute actions for each issue in the query."
      4. Start typing a simple JQL query such as below and the auto-complete suggestion is not displayed.

      Expected Results

      project = MN AND issuetype = Bu
      

      In the above situation, it should suggest the issue type that has "Bu" keywords in it like "Bug".

      Actual Results

      No Smart Syntax/Input correction or suggestion Pops-up

      Clicking on "Validate" gives the below Error.

      Workaround

      • Type the required JQL in the "Advanced issue Search" to receive assists from the smart suggestion feature.
      • Copy the JQL query and paste it in the "Automation" rule JQL field and Validate.

      Also, be aware of the scenario described in the following Feature Request: https://jira.atlassian.com/browse/AUTO-170 when it comes to JQL Validation process.

        1. image-2023-06-15-16-27-01-469.png
          89 kB
          Vaibhav Revankar
        2. image-2023-06-15-16-28-02-873.png
          98 kB
          Vaibhav Revankar

              Unassigned Unassigned
              1846b5d55690 Vaibhav Revankar
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: