<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 22:42:45 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>MongoDB Jira</title>
    <link>https://jira.mongodb.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.7.1</version>
        <build-number>970001</build-number>
        <build-date>13-04-2023</build-date>
    </build-info>


<item>
            <title>[COMPASS-6339] &apos;Export query with filters&apos; provides incorrect result size</title>
                <link>https://jira.mongodb.org/browse/COMPASS-6339</link>
                <project id="13182" key="COMPASS">Compass </project>
                    <description>&lt;h3&gt;&lt;a name=&quot;ProblemStatement%2FRationale&quot;&gt;&lt;/a&gt;&lt;b&gt;Problem Statement/Rationale&lt;/b&gt;&lt;/h3&gt;

&lt;p&gt;&lt;font color=&quot;#505f79&quot;&gt;When I am in a collection and want to export my filtered results, we have 2 options: Export query with filters or Export Full Collection. For example, &lt;b&gt;Export query with filters &#8212; 374,300 results (Recommended).&lt;/b&gt;&#160;However, that number of results is incorrect - it is the size of the entire collection, not the size of the returned results from my filter. When I continue on and execute the export, as the data is exporting, the progress shows that the total number of documents to export as the total collection size, not the size of the filtered results that will actually be exported. For example, under the loading bar it says&#160;&lt;/font&gt;&lt;b&gt;Export completed 374,300 / 374,300.&lt;/b&gt;&#160;But it should show the number of results returned by the filter, not the collection size. In the end, the correct number of documents gets exported, however the numbers that are being displayed is very misleading.&#160;**&lt;/p&gt;
&lt;h3&gt;&lt;a name=&quot;StepstoReproduce&quot;&gt;&lt;/a&gt;&lt;b&gt;Steps to Reproduce&lt;/b&gt;&lt;/h3&gt;

&lt;p&gt;&lt;font color=&quot;#505f79&quot;&gt;You can try going into one of your collections, filtering the data, and then click on the Export Collection button. You will see the number of results returned for Export Query with Filters to be incorrect. Then proceed by clicking on Select Fields, then Select Output button, then browse for an output and click on Export. You will then see how under the green progress bar, the total number of documents to be exported is the total collection size, not the number of documents returned from the filter&lt;/font&gt;&lt;/p&gt;
&lt;h3&gt;&lt;a name=&quot;ExpectedResults&quot;&gt;&lt;/a&gt;&lt;b&gt;Expected Results&lt;/b&gt;&lt;/h3&gt;

&lt;p&gt;&lt;font color=&quot;#505f79&quot;&gt;I expect the total number of results returned for the Export query with filter options to be equal to the number of documents displaying after filtering. Same applies for the total number of documents under the export progress bar&lt;/font&gt;&lt;/p&gt;
&lt;h3&gt;&lt;a name=&quot;ActualResults&quot;&gt;&lt;/a&gt;&lt;b&gt;Actual Results&lt;/b&gt;&lt;/h3&gt;

&lt;p&gt;&lt;font color=&quot;#505f79&quot;&gt;The numbers being displayed are the total collection size, even though my filter returns a smaller number of documents&lt;/font&gt;&lt;/p&gt;</description>
                <environment></environment>
        <key id="2199048">COMPASS-6339</key>
            <summary>&apos;Export query with filters&apos; provides incorrect result size</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</type>
                                            <priority id="4" iconUrl="https://jira.mongodb.org/images/icons/priorities/minor.svg">Minor - P4</priority>
                        <status id="6" iconUrl="https://jira.mongodb.org/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="13201">Fixed</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="natasha.dilamani@mlp.com">Natasha Dilamani</reporter>
                        <labels>
                    </labels>
                <created>Wed, 30 Nov 2022 20:28:11 +0000</created>
                <updated>Sun, 29 Oct 2023 02:38:41 +0000</updated>
                            <resolved>Mon, 27 Feb 2023 19:01:14 +0000</resolved>
                                                    <fixVersion>1.27</fixVersion>
                                    <component>Import/Export</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="5054448" author="JIRAUSER1272083" created="Wed, 14 Dec 2022 15:05:40 +0000"  >&lt;p&gt;Hi,&lt;/p&gt;

&lt;p&gt;The update fixed the issue, thank you!&lt;/p&gt;

&lt;p&gt;Natasha&lt;/p&gt;

&lt;p&gt;From: Jessica Sigafoos (Jira) &amp;lt;jira@mongodb.org&amp;gt;&lt;br/&gt;
Sent: Wednesday, December 14, 2022 9:13 AM&lt;br/&gt;
To: Dilamani, Natasha &amp;lt;Natasha.Dilamani@mlp.com&amp;gt;&lt;br/&gt;
Subject: &lt;span class=&quot;error&quot;&gt;&amp;#91;EXTERNAL&amp;#93;&lt;/span&gt; &lt;span class=&quot;error&quot;&gt;&amp;#91;MongoDB-JIRA&amp;#93;&lt;/span&gt; Jessica Sigafoos mentioned you on &lt;a href=&quot;https://jira.mongodb.org/browse/COMPASS-6339&quot; title=&quot;&amp;#39;Export query with filters&amp;#39; provides incorrect result size&quot; class=&quot;issue-link&quot; data-issue-key=&quot;COMPASS-6339&quot;&gt;&lt;del&gt;COMPASS-6339&lt;/del&gt;&lt;/a&gt; (Jira)&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;Image removed by sender.&amp;#93;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;cid:image001.png@01D90FA2.DEABA610&amp;#93;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;Jessica Sigafoos&amp;lt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=jessica.sigafoos%40mongodb.com&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;https://jira.mongodb.org/secure/ViewProfile.jspa?name=jessica.sigafoos%40mongodb.com&lt;/a&gt;&amp;gt; mentioned you on &lt;span class=&quot;error&quot;&gt;&amp;#91;Bug&amp;#93;&lt;/span&gt; &lt;a href=&quot;https://jira.mongodb.org/browse/COMPASS-6339&quot; title=&quot;&amp;#39;Export query with filters&amp;#39; provides incorrect result size&quot; class=&quot;issue-link&quot; data-issue-key=&quot;COMPASS-6339&quot;&gt;&lt;del&gt;COMPASS-6339&lt;/del&gt;&lt;/a&gt;&amp;lt;&lt;a href=&quot;https://jira.mongodb.org/browse/COMPASS-6339&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;https://jira.mongodb.org/browse/COMPASS-6339&lt;/a&gt;&amp;gt;&lt;/p&gt;




&lt;p&gt;Re: &apos;Export query with filters&apos; provides incorrect result size&amp;lt;&lt;a href=&quot;https://jira.mongodb.org/browse/COMPASS-6339&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;https://jira.mongodb.org/browse/COMPASS-6339&lt;/a&gt;&amp;gt;&lt;/p&gt;



&lt;p&gt;Natasha Dilamani&amp;lt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=natasha.dilamani%40mlp.com&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;https://jira.mongodb.org/secure/ViewProfile.jspa?name=natasha.dilamani%40mlp.com&lt;/a&gt;&amp;gt; , are you still seeing this issue with the updated version of Compass? Thanks!&lt;/p&gt;


&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;Add Comment&amp;#93;&lt;/span&gt;&amp;lt;&lt;a href=&quot;https://jira.mongodb.org/browse/COMPASS-6339#add-comment&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;https://jira.mongodb.org/browse/COMPASS-6339#add-comment&lt;/a&gt;&amp;gt;&lt;/p&gt;

&lt;p&gt;Add Comment&amp;lt;&lt;a href=&quot;https://jira.mongodb.org/browse/COMPASS-6339#add-comment&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;https://jira.mongodb.org/browse/COMPASS-6339#add-comment&lt;/a&gt;&amp;gt;&lt;/p&gt;






&lt;p&gt;This message was sent from MongoDB&apos;s issue tracking system. To respond to this ticket, please login to jira.mongodb.org&amp;lt;&lt;a href=&quot;https://jira.mongodb.org&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;https://jira.mongodb.org&lt;/a&gt;&amp;gt; using your JIRA, MongoDB Cloud Manager, or MongoDB Atlas credentials.&lt;/p&gt;





&lt;p&gt;######################################################################&lt;/p&gt;

&lt;p&gt;The information contained in this communication is confidential and&lt;/p&gt;

&lt;p&gt;may contain information that is privileged or exempt from disclosure&lt;/p&gt;

&lt;p&gt;under applicable law. If you are not a named addressee, please notify&lt;/p&gt;

&lt;p&gt;the sender immediately and delete this email from your system.&lt;/p&gt;

&lt;p&gt;If you have received this communication, and are not a named&lt;/p&gt;

&lt;p&gt;recipient, you are hereby notified that any dissemination,&lt;/p&gt;

&lt;p&gt;distribution or copying of this communication is strictly prohibited.&lt;/p&gt;

&lt;p&gt;######################################################################&lt;/p&gt;</comment>
                            <comment id="5054207" author="jessica.sigafoos" created="Wed, 14 Dec 2022 14:12:34 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=natasha.dilamani%40mlp.com&quot; class=&quot;user-hover&quot; rel=&quot;natasha.dilamani@mlp.com&quot;&gt;natasha.dilamani@mlp.com&lt;/a&gt; , are you still seeing this issue with the updated version of Compass? Thanks!&lt;/p&gt;</comment>
                            <comment id="5021867" author="JIRAUSER1272083" created="Thu, 1 Dec 2022 13:37:32 +0000"  >&lt;p&gt;I am using 1.26.1, will update my version. Thanks for letting me know&lt;/p&gt;</comment>
                            <comment id="5021566" author="JIRAUSER1256529" created="Thu, 1 Dec 2022 11:06:52 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=natasha.dilamani%40mlp.com&quot; class=&quot;user-hover&quot; rel=&quot;natasha.dilamani@mlp.com&quot;&gt;natasha.dilamani@mlp.com&lt;/a&gt; The issue you are reporting here has been resolve a while ago in Compass 1.27. Which Compass version are you using? If you are using a more recent version, can you attach a log file (&lt;a href=&quot;https://www.mongodb.com/docs/compass/current/troubleshooting/logs/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://www.mongodb.com/docs/compass/current/troubleshooting/logs/&lt;/a&gt;), as the ticket template suggests?&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                            <outwardlinks description="duplicates">
                                        <issuelink>
            <issuekey id="1567448">COMPASS-4537</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="421893" name="image002.png" size="644" author="natasha.dilamani@mlp.com" created="Wed, 14 Dec 2022 15:05:40 +0000"/>
                            <attachment id="421892" name="~WRD000.jpg" size="823" author="natasha.dilamani@mlp.com" created="Wed, 14 Dec 2022 15:05:40 +0000"/>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>4.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Thu, 1 Dec 2022 11:06:52 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        1 year, 8 weeks ago
    
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18254" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Dependencies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[]]></customfieldvalue>


                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10257" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Documentation Changes</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="11861"><![CDATA[Not Needed]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10057" key="com.atlassian.jira.toolkit:lastusercommented">
                        <customfieldname>Last comment by Customer</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>true</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10056" key="com.atlassian.jira.toolkit:lastupdaterorcommenter">
                        <customfieldname>Last commenter</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>luke.bonanomi@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            1 year, 8 weeks ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>anna.henningsen@mongodb.com</customfieldvalue>
            <customfieldvalue>jessica.sigafoos@mongodb.com</customfieldvalue>
            <customfieldvalue>natasha.dilamani@mlp.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|i1ks87:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|i13dgg:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9223372036854775807</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10053" key="com.atlassian.jira.ext.charting:timeinstatus">
                        <customfieldname>Time In Status</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_14350" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>serverRank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|i1kedj:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                    </customfields>
    </item>
</channel>
</rss>