Uploaded image for project: 'Migration Platform'
  1. Migration Platform
  2. MIG-1174

JCMA to retain filter id or filtername after migration to cloud

    XMLWordPrintable

Details

    • 22
    • 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.

    Description

      Issue Summary

      Currently, JCMA creates new filter id on cloud while migrating the JQL filters from server to cloud.

      Steps to Reproduce

      1. Create a filter on Jira server with a simple JQL.
      2. Example:
        project = SOFTPROJECT1
      3. save it as filter1.
      4. Get the filter id on server(Jira server > Issues > Manage filters > Click filter1 > Look for id on the browser URL). In our case filter1 has id 123456
      5. Create a new or sub filter with refer to the previously created one.
      6. Example:
        filter = 123456 AND status = Resolved ORDER BY due ASC
      7. save it as filter2.
      8. Migrate all filters and Dashboard to cloud
      9. Filter does not work as expected due to JQL on Cloud stores filterid instead of filtername
        Example:
        filter = 123456 AND status = Resolved ORDER BY due ASC

        Error:

        A value with ID '123456' does not exist for the field 'filter'.

      Expected Results

      JQL filter to work using the filtername instead of filter id

      Actual Results

      A value with ID '123456' does not exist for the field 'filter'.

      Workarounds

      • Replace sub filter field with the actual field on JQL.
        project = SOFTPROJECT1 AND status = Resolved ORDER BY due ASC

      (OR)

      • Use the filtername instead of id in the subfilter
        filter=filter1 AND status = Resolved ORDER BY due ASC

      Note:
      Verify there is no filter contains id on Jira server database by executing following query.

      select filtername from searchrequest where reqcontent like '%filter%=%';

      Attachments

        Issue Links

          Activity

            People

              3a8abdcca172 Natalie Lytle
              vvaidhyanathan@atlassian.com Venkatesan
              Votes:
              6 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated: