<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 22:32:25 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-3183] Aggregation Builder does not support &apos;new Date()&apos; in $project stage</title>
                <link>https://jira.mongodb.org/browse/COMPASS-3183</link>
                <project id="13182" key="COMPASS">Compass </project>
                    <description>&lt;p&gt;This pipeline works in the shell, but not in the aggregation builder in Compass (see screenshot)&lt;/p&gt;

&lt;p&gt;&lt;tt&gt;MongoDB Enterprise &amp;gt; db.deleteme.aggregate([&lt;/tt&gt;&lt;/p&gt;


&lt;p&gt;&lt;tt&gt;... {&lt;/tt&gt;&lt;/p&gt;


&lt;p&gt;&lt;tt&gt;... $project: {&lt;/tt&gt;&lt;/p&gt;


&lt;p&gt;&lt;tt&gt;... description:1,&lt;/tt&gt;&lt;/p&gt;


&lt;p&gt;&lt;tt&gt;... CLIENTE_ID: 1,&lt;/tt&gt;&lt;/p&gt;


&lt;p&gt;&lt;tt&gt;... SYSDATE: new Date()&lt;/tt&gt;&lt;/p&gt;


&lt;p&gt;{{... }}}&lt;/p&gt;


&lt;p&gt;{{... }}}&lt;/p&gt;


&lt;p&gt;&lt;tt&gt;... ])&lt;/tt&gt;&lt;/p&gt;


&lt;p&gt;{{&lt;/p&gt;
{ &quot;_id&quot; : ObjectId(&quot;5bb7b050a41eb377486854b2&quot;), &quot;SYSDATE&quot; : ISODate(&quot;2018-10-09T19:33:29.364Z&quot;) }
&lt;p&gt;}}&lt;/p&gt;


&lt;p&gt;{{&lt;/p&gt;
{ &quot;_id&quot; : ObjectId(&quot;5bb7b066a41eb377486854b3&quot;), &quot;SYSDATE&quot; : ISODate(&quot;2018-10-09T19:33:29.364Z&quot;) }
&lt;p&gt;}}&lt;/p&gt;


&lt;p&gt;&lt;tt&gt;MongoDB Enterprise &amp;gt;&lt;/tt&gt;&lt;/p&gt;

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

&lt;p&gt;&lt;tt&gt;&lt;span class=&quot;image-wrap&quot; style=&quot;&quot;&gt;&lt;img src=&quot;https://jira.mongodb.org/secure/attachment/198211/198211_image-2018-10-09-14-39-38-050.png&quot; style=&quot;border: 0px solid black&quot; /&gt;&lt;/span&gt;&lt;/tt&gt;&lt;/p&gt;</description>
                <environment></environment>
        <key id="616220">COMPASS-3183</key>
            <summary>Aggregation Builder does not support &apos;new Date()&apos; in $project stage</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</type>
                                            <priority id="3" iconUrl="https://jira.mongodb.org/images/icons/priorities/major.svg">Major - P3</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="3">Duplicate</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="scott.stokes@mongodb.com">Scott Stokes</reporter>
                        <labels>
                    </labels>
                <created>Tue, 9 Oct 2018 19:39:46 +0000</created>
                <updated>Mon, 11 Mar 2019 14:25:59 +0000</updated>
                            <resolved>Mon, 11 Mar 2019 09:10:33 +0000</resolved>
                                    <version>1.15.4</version>
                                                    <component>Aggregation pipeline</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="2176979" author="asya" created="Mon, 11 Mar 2019 14:22:25 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=massimiliano.marcon&quot; class=&quot;user-hover&quot; rel=&quot;massimiliano.marcon&quot;&gt;massimiliano.marcon&lt;/a&gt; if it works in agg builder as shell syntax then it&#8217;ll need to be converted to equivalent &#8220;get current time&#8221; functionality in any language pipeline is being exported to.  That&#8217;s possible so I agree it makes sense but I think that makes it &#8220;not cheap&#8221; to implement... &lt;/p&gt;</comment>
                            <comment id="2176746" author="massimiliano.marcon" created="Mon, 11 Mar 2019 09:10:33 +0000"  >&lt;p&gt;Tracking it in &lt;a href=&quot;https://jira.mongodb.org/browse/COMPASS-3490&quot; title=&quot;&amp;quot;new Date()&amp;quot; support for aggregation pipeline builder&quot; class=&quot;issue-link&quot; data-issue-key=&quot;COMPASS-3490&quot;&gt;&lt;del&gt;COMPASS-3490&lt;/del&gt;&lt;/a&gt;.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                            <outwardlinks description="duplicates">
                                        <issuelink>
            <issuekey id="712143">COMPASS-3490</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                                        </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="198211" name="image-2018-10-09-14-39-38-050.png" size="29064" author="scott.stokes@mongodb.com" created="Tue, 9 Oct 2018 19:39:39 +0000"/>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Thu, 7 Feb 2019 07:45:57 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        4 years, 48 weeks, 2 days 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_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>jessica.sigafoos@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            4 years, 48 weeks, 2 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>asya.kamsky@mongodb.com</customfieldvalue>
            <customfieldvalue>massimiliano.marcon@mongodb.com</customfieldvalue>
            <customfieldvalue>scott.stokes@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hu9vnz:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hu07pr:</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|hu9hxb:</customfieldvalue>

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