Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-57861

Using a JQL for 'assignee was X during (date1, date2)' doesn't work in Confluence's Jira Issue Filter macro

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Low
    • None
    • 6.13.0
    • Macros - Jira Macros
    • None

    Description

      Issue Summary

      When using the Jira Issue Filter macro in Confluence, you can't enter a JQL as shown below.

      assignee was admin during ("2019/01/01", "2019/02/05")

      This JQL works fine in Jira and will display the results as expected, but Confluence throws an error message instead.

      Steps to Reproduce

      1. Link Confluence to Jira via application links.
      2. In Jira, run this JQL to confirm that it works and results are returned (change accordingly based on your instance).
        assignee was admin during ("2019/01/01", "2019/02/05")
      3. Create a new page and insert the Jira Issue Filter macro.
      4. Add in the following JQL to the macro.
        assignee was admin during ("2019/01/01", "2019/02/05")

      Expected Results

      The same results should be displayed in Confluence as it did in Jira.

      Actual Results

      Confluence displays the following error message.

      The Jira server didn't understand your search query. If you entered JQL, please ensure that it's correctly formed. If you entered an issue key, ensure that it exists and you have permission to view it.

      Workaround

      Add in another condition to the JQL. Any of these examples will work, so long as the condition you define is valid (i.e. a project by key 'test' and a user called 'foo' exists).

      project=test and assignee was admin during ("2019/01/01", "2019/02/05")
      assignee=foo or assignee was admin during ("2019/01/01", "2019/02/05")

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              azolkefli Athirah Zolkefli
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: