<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:10:08 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>[DOCS-14337] Map-Reduce Examples Docs Page - wrong or misleading examples</title>
                <link>https://jira.mongodb.org/browse/DOCS-14337</link>
                <project id="10380" key="DOCS">Documentation</project>
                    <description>&lt;h2&gt;&lt;a name=&quot;Description&quot;&gt;&lt;/a&gt;Description&lt;/h2&gt;
&lt;p&gt;One of the freelancer writers that is writing an article for the SEO-Hygiene initiative (Content Marketing &amp;amp; Growth Teams) got stuck on writing some sample code examples with Node.js driver for the example of using MongoDB mapReduce.&lt;br/&gt;
 &#160;&lt;br/&gt;
My team, Developer Advocate team,&#160;notice a couple things on the&#160;&lt;a href=&quot;https://docs.mongodb.com/manual/reference/command/mapReduce/#map-reduce-examples&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;reference documentation&lt;/a&gt;&#160;that needs to be more clear:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;&lt;b&gt;out&lt;/b&gt;&#160;needs to be an object:&#160;&lt;a href=&quot;https://mongodb.github.io/node-mongodb-native/3.6/api/Collection.html&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://mongodb.github.io/node-mongodb-native/3.6/api/Collection.html&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;in&#160;&lt;b&gt;JS&lt;/b&gt;&#160;in general&#160;array.sum&#160;&lt;font color=&quot;#172b4d&quot;&gt;&lt;font color=&quot;#0000ff&quot;&gt;&lt;/font&gt;does not&lt;/font&gt;&#160;look correct, it should be array.reduce&lt;font color=&quot;&quot;&gt;&lt;/font&gt;&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;&#160;&lt;/p&gt;
&lt;hr /&gt;
&lt;p&gt;&lt;b&gt;For Context the thread of the email of the freelancer writer:&lt;/b&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;At any rate, back to the issues with mapReduce; I attempted to run the following code:&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;&quot;&quot;&quot;&lt;/em&gt;&lt;br/&gt;
&lt;em&gt;await collection.mapReduce(&lt;/em&gt;&lt;br/&gt;
&#160; &#160; &#160; &#160; &lt;em&gt;function() {&lt;/em&gt;&lt;br/&gt;
&#160; &#160; &#160; &#160; &#160; &#160; &lt;em&gt;emit(1, this.itemsTotal)&lt;/em&gt;&lt;br/&gt;
&#160; &#160; &#160; &#160; &lt;em&gt;},&lt;/em&gt;&lt;br/&gt;
&#160; &#160; &#160; &#160; &lt;em&gt;function(key, values) {&lt;/em&gt;&lt;br/&gt;
&#160; &#160; &#160; &#160; &#160; &#160; &lt;em&gt;return Array.sum(values)&lt;/em&gt;&lt;br/&gt;
&#160; &#160; &#160; &#160; &lt;em&gt;}&lt;/em&gt;&lt;br/&gt;
&#160; &#160; &lt;em&gt;)&lt;/em&gt;&lt;br/&gt;
&lt;em&gt;&quot;&quot;&quot;&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;According to the Node driver&apos;s .d.ts files, this is valid usage. However, I got the error:&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;&quot;&quot;&quot;&lt;/em&gt;&lt;br/&gt;
&lt;em&gt;TypeError: Cannot read property &apos;out&apos; of undefined&lt;/em&gt;&lt;br/&gt;
&#160; &#160; &lt;em&gt;at Collection.mapReduce&lt;/em&gt;&lt;br/&gt;
&lt;em&gt;&quot;&quot;&quot;&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;So, looking back at the docs page, I saw that there was a string assigned to &quot;out&quot;:&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;&quot;&quot;&quot;&lt;/em&gt;&lt;br/&gt;
&lt;em&gt;await collection.mapReduce(&lt;/em&gt;&lt;br/&gt;
&#160; &#160; &#160; &#160; &lt;em&gt;function() {&lt;/em&gt;&lt;br/&gt;
&#160; &#160; &#160; &#160; &#160; &#160; &lt;em&gt;emit(1, this.itemsTotal)&lt;/em&gt;&lt;br/&gt;
&#160; &#160; &#160; &#160; &lt;em&gt;},&lt;/em&gt;&lt;br/&gt;
&#160; &#160; &#160; &#160; &lt;em&gt;function(key, values) {&lt;/em&gt;&lt;br/&gt;
&#160; &#160; &#160; &#160; &#160; &#160; &lt;em&gt;return Array.sum(values)&lt;/em&gt;&lt;br/&gt;
&#160; &#160; &#160; &#160; &lt;em&gt;},&lt;/em&gt;&lt;br/&gt;
&#160; &#160; &#160; &#160; &lt;em&gt;{&lt;/em&gt;&lt;br/&gt;
&#160; &#160; &#160; &#160; &#160; &#160; &lt;em&gt;out: &quot;Test&quot;&lt;/em&gt;&lt;br/&gt;
&#160; &#160; &#160; &#160; &lt;em&gt;}&lt;/em&gt;&lt;br/&gt;
&#160; &#160; &lt;em&gt;)&lt;/em&gt;&lt;br/&gt;
&lt;em&gt;&quot;&quot;&quot;&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Not only did I get errors from typescript saying that &quot;out&quot; needed to be an object, I got the same error as before.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;However, with some searching online, I found that you&apos;re able to change the last config object to:&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;&quot;&quot;&quot;&lt;/em&gt;&lt;br/&gt;
&lt;em&gt;{&lt;/em&gt;&lt;br/&gt;
&lt;em&gt;out: { inline: 1 }&lt;/em&gt;&lt;br/&gt;
&lt;em&gt;}&lt;/em&gt;&lt;br/&gt;
&lt;em&gt;&quot;&quot;&quot;&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Once I did this, I got an array of values, without commas, not combined in any way, returned to the console.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Code:&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;&quot;&quot;&quot;&lt;/em&gt;&lt;br/&gt;
&lt;em&gt;await collection.mapReduce(&lt;/em&gt;&lt;br/&gt;
&#160; &#160; &#160; &#160; &lt;em&gt;function() {&lt;/em&gt;&lt;br/&gt;
&#160; &#160; &#160; &#160; &#160; &#160; &lt;em&gt;emit(1, this.itemsTotal)&lt;/em&gt;&lt;br/&gt;
&#160; &#160; &#160; &#160; &lt;em&gt;},&lt;/em&gt;&lt;br/&gt;
&#160; &#160; &#160; &#160; &lt;em&gt;function(key, values) {&lt;/em&gt;&lt;br/&gt;
&#160; &#160; &#160; &#160; &#160; &#160; &lt;em&gt;return Array.sum(values);&lt;/em&gt;&lt;br/&gt;
&#160; &#160; &#160; &#160; &lt;em&gt;},&lt;/em&gt;&lt;br/&gt;
&#160; &#160; &#160; &#160; &lt;em&gt;{&lt;/em&gt;&lt;br/&gt;
&#160; &#160; &#160; &#160; &#160; &#160; &lt;em&gt;out: { inline: 1 }&lt;/em&gt;&lt;br/&gt;
&#160; &#160; &#160; &#160; &lt;em&gt;}&lt;/em&gt;&lt;br/&gt;
&#160; &#160; &lt;em&gt;)&lt;/em&gt;&lt;br/&gt;
&lt;em&gt;&quot;&quot;&quot;&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Output (shortened):&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;&quot;&quot;&quot;&lt;/em&gt;&lt;br/&gt;
&lt;em&gt;[{&quot;_id&quot;:1,&quot;value&quot;:&quot;NumberDecimal(\&quot;1863.46\&quot;)NumberDecimal(\&quot;798.25\&quot;)NumberDecimal(\&quot;756.90\&quot;)NumberDecimal(\&quot;758.22\&quot;)NumberDecimal(\&quot;233.58\&quot;)NumberDecimal(\&quot;122.05\&quot;)NumberDecimal(\&quot;1628.90\&quot;)NumberDecimal(\&quot;355.79\&quot;)NumberDecimal(\&quot;1200.78\&quot;)NumberDecimal(\&quot;719.72\&quot;)&lt;/em&gt;&lt;br/&gt;
&lt;em&gt;&quot;&quot;&quot;&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Not knowing how Array.sum works (it&apos;s not valid JS, but it&apos;s documented as the way to combine an array of numbers from the docs page), I decided to use `values.reduce` to manually add the numbers together:&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;&quot;&quot;&quot;&lt;/em&gt;&lt;br/&gt;
&#160;&lt;em&gt;await collection.mapReduce(&lt;/em&gt;&lt;br/&gt;
&#160; &#160; &#160; &#160; &lt;em&gt;function() {&lt;/em&gt;&lt;br/&gt;
&#160; &#160; &#160; &#160; &#160; &#160; &lt;em&gt;emit(1, this.itemsTotal)&lt;/em&gt;&lt;br/&gt;
&#160; &#160; &#160; &#160; &lt;em&gt;},&lt;/em&gt;&lt;br/&gt;
&#160; &#160; &#160; &#160; &lt;em&gt;function(key, values) {&lt;/em&gt;&lt;br/&gt;
&#160; &#160; &#160; &#160; &#160; &#160; &lt;em&gt;return values.reduce((p: number, c: any) =&amp;gt; p + c, 0)&lt;/em&gt;&lt;br/&gt;
&#160; &#160; &#160; &#160; &lt;em&gt;},&lt;/em&gt;&lt;br/&gt;
&#160; &#160; &#160; &#160; &lt;em&gt;{&lt;/em&gt;&lt;br/&gt;
&#160; &#160; &#160; &#160; &#160; &#160; &lt;em&gt;out: { inline: 1 }&lt;/em&gt;&lt;br/&gt;
&#160; &#160; &#160; &#160; &lt;em&gt;}&lt;/em&gt;&lt;br/&gt;
&#160; &#160; &lt;em&gt;)&lt;/em&gt;&lt;br/&gt;
&lt;em&gt;&quot;&quot;&quot;&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;However, I ended up just getting `0` as a string appended at the start&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;&quot;&quot;&quot;&lt;/em&gt;&lt;br/&gt;
&lt;em&gt;[{&quot;_id&quot;:1,&quot;value&quot;:&quot;0NumberDecimal(\&quot;1863.46\&quot;)NumberDecimal(\&quot;798.25\&quot;)NumberDecimal(\&quot;756.90\&quot;)NumberDecimal(\&quot;758.22\&quot;)NumberDecimal(\&quot;233.58\&quot;)&lt;/em&gt;&lt;br/&gt;
&lt;em&gt;&quot;&quot;&quot;&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;I then decided to try and get the value of `NumberDecimal`.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;I tried using `parseInt` on `c`, which left me with `0` as a final result. I assume this is because `parseInt(Object)` is `NaN`&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;The only way I was able to get the results of the numbers combined was the following code:&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;&quot;&quot;&quot;&lt;/em&gt;&lt;br/&gt;
&#160;&lt;em&gt;await collection.mapReduce(&lt;/em&gt;&lt;br/&gt;
&#160; &#160; &#160; &#160; &lt;em&gt;function() {&lt;/em&gt;&lt;br/&gt;
&#160; &#160; &#160; &#160; &#160; &#160; &lt;em&gt;emit(1, this.itemsTotal)&lt;/em&gt;&lt;br/&gt;
&#160; &#160; &#160; &#160; &lt;em&gt;},&lt;/em&gt;&lt;br/&gt;
&#160; &#160; &#160; &#160; &lt;em&gt;function(key, values) {&lt;/em&gt;&lt;br/&gt;
&#160; &#160; &#160; &#160; &#160; &#160; &lt;em&gt;return values.reduce((p: number, c: any) =&amp;gt; p + Number(JSON.parse(JSON.stringify(c))&lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;quot;$numberDecimal&amp;quot;&amp;#93;&lt;/span&gt;, 0)&lt;/em&gt;&lt;br/&gt;
&#160; &#160; &#160; &#160; &lt;em&gt;},&lt;/em&gt;&lt;br/&gt;
&#160; &#160; &#160; &#160; &lt;em&gt;{&lt;/em&gt;&lt;br/&gt;
&#160; &#160; &#160; &#160; &#160; &#160; &lt;em&gt;out: { inline: 1 }&lt;/em&gt;&lt;br/&gt;
&#160; &#160; &#160; &#160; &lt;em&gt;}&lt;/em&gt;&lt;br/&gt;
&#160; &#160; &lt;em&gt;)&lt;/em&gt;&lt;br/&gt;
&lt;em&gt;&quot;&quot;&quot;&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;However, this seems like an obvious anti-pattern and I wouldn&apos;t feel comfortable putting this as official docs that I wrote.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Just to make sure this wasn&apos;t a bug in the NodeJS driver, I attempted to use the Mongo Shell:&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;&quot;&quot;&quot;&lt;/em&gt;&lt;br/&gt;
&lt;em&gt;use(&quot;sample_supplies&quot;);&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;db.sales.mapReduce(&lt;/em&gt;&lt;br/&gt;
&#160; &#160; &lt;em&gt;function() {&lt;/em&gt;&lt;br/&gt;
&#160; &#160; &#160; &#160; &lt;em&gt;emit(1, this.itemsTotal)&lt;/em&gt;&lt;br/&gt;
&#160; &#160; &lt;em&gt;},&lt;/em&gt;&lt;br/&gt;
&#160; &#160; &lt;em&gt;function(key, values) {&lt;/em&gt;&lt;br/&gt;
&#160; &#160; &#160; &#160; &lt;em&gt;return values.reduce((p, c) =&amp;gt; p + c, 0)&lt;/em&gt;&lt;br/&gt;
&#160; &#160; &lt;em&gt;},&lt;/em&gt;&lt;br/&gt;
&#160; &#160; &lt;em&gt;{&lt;/em&gt;&lt;br/&gt;
&#160; &#160; &#160; &#160; &lt;em&gt;out: { inline: 1 }&lt;/em&gt;&lt;br/&gt;
&#160; &#160; &lt;em&gt;}&lt;/em&gt;&lt;br/&gt;
&lt;em&gt;)&lt;/em&gt;&lt;br/&gt;
&lt;em&gt;&quot;&quot;&quot;&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;And ran into the same issues as before (I tried all of the code variations I outlined for NodeJS as well with the same results)&lt;/em&gt;&lt;/p&gt;

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

&lt;h2&gt;&lt;a name=&quot;Scopeofchanges&quot;&gt;&lt;/a&gt;Scope of changes&lt;/h2&gt;

&lt;h2&gt;&lt;a name=&quot;ImpacttoOtherDocs&quot;&gt;&lt;/a&gt;Impact to Other Docs&lt;/h2&gt;

&lt;h2&gt;&lt;a name=&quot;MVP%28WorkandDate%29&quot;&gt;&lt;/a&gt;MVP (Work and Date)&lt;/h2&gt;

&lt;h2&gt;&lt;a name=&quot;Resources%28ScopeorDesignDocs%2CInvision%2Cetc.%29&quot;&gt;&lt;/a&gt;Resources (Scope or Design Docs, Invision, etc.)&lt;/h2&gt;
</description>
                <environment></environment>
        <key id="1671676">DOCS-14337</key>
            <summary>Map-Reduce Examples Docs Page - wrong or misleading examples</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="12300">Won&apos;t Do</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="r.rodrigues@mongodb.com">Rita Martins Rodrigues</reporter>
                        <labels>
                    </labels>
                <created>Tue, 6 Apr 2021 09:23:05 +0000</created>
                <updated>Mon, 30 Oct 2023 20:10:18 +0000</updated>
                                                            <fixVersion>Server_Docs_20231030</fixVersion>
                                    <component>manual</component>
                    <component>Server</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>5</watches>
                                                                                                                <comments>
                            <comment id="4940337" author="edu.bot" created="Mon, 31 Oct 2022 16:03:51 +0000"  >&lt;p&gt;Hello! This ticket has been closed due to inactivity. If you believe this ticket is still important, please reopen it and leave a comment to explain why. Thank you!&lt;/p&gt;</comment>
                            <comment id="3702469" author="JIRAUSER1258897" created="Tue, 6 Apr 2021 09:27:14 +0000"  >&lt;p&gt;&lt;b&gt;To help on the triage:&lt;/b&gt;&#160;&lt;br/&gt;
NodeJS drive version used:&#160;&quot;mongodb&quot;: &quot;^3.6.4&quot; &lt;br/&gt;
And&#160;Node&#160;v12.16.1&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </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>Tue, 6 Apr 2021 15:42:57 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        1 year, 14 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_10857" key="com.pyxis.greenhopper.jira:gh-epic-link">
                        <customfieldname>Epic Link</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>DOCSP-11701</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10057" key="com.atlassian.jira.toolkit:lastusercommented">
                        <customfieldname>Last comment by Customer</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>false</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10056" key="com.atlassian.jira.toolkit:lastupdaterorcommenter">
                        <customfieldname>Last commenter</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>emet.ozar@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            1 year, 14 weeks, 2 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                            <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>edu.bot</customfieldvalue>
            <customfieldvalue>r.rodrigues@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hz3cnz:</customfieldvalue>

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

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