<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:04:20 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-12072] MongoDB Stitch Dashboard stitch-cli import command missing --project-id flag</title>
                <link>https://jira.mongodb.org/browse/DOCS-12072</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;The documentation for the dashboard tutorial contains the following language for a step:&lt;/p&gt;
&lt;h4&gt;&lt;a name=&quot;&quot;&gt;&lt;/a&gt;----------------------------------------------------------------------------------------&lt;/h4&gt;
&lt;h4&gt;&lt;a name=&quot;ImporttheApplicationDirectory&quot;&gt;&lt;/a&gt;Import the Application Directory&lt;/h4&gt;

&lt;p&gt;Run the following command from within the&#160;&lt;tt&gt;dashboard-stitch&lt;/tt&gt;&#160;directory to create and populate your Stitch application:&lt;/p&gt;

&lt;p&gt;&lt;tt&gt;stitch-cli import&lt;/tt&gt;&lt;/p&gt;

&lt;p&gt;You will be prompted by&#160;&lt;tt&gt;stitch-cli&lt;/tt&gt;&#160;to create a new application. Respond affirmatively, then provide your Atlas&#160;Project Name&#160;and a descriptive name of your choosing for the application, e.g.&#160;&lt;tt&gt;dashboard-tutorial&lt;/tt&gt;. You can find your Atlas&#160;Project Name&#160;listed on the&#160;Settings&#160;page of the Atlas UI.&lt;/p&gt;
&lt;h4&gt;&lt;a name=&quot;&quot;&gt;&lt;/a&gt;----------------------------------------------------------------------------------------&lt;/h4&gt;

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

&lt;p&gt;When you attempt to run&#160;&lt;tt&gt;stitch-cli import&#160;}}as specified in the instructions, the following error will occur after entering an App Name: {{failed to find Project: an unexpected server error has occurred&lt;/tt&gt;. This is due to not specifying the &lt;tt&gt;--project-id=xxxx&lt;/tt&gt; flag when running the &lt;tt&gt;stitch-cli import&lt;/tt&gt; command above. Adding the project id flag as shown below resolves the issue:&lt;/p&gt;

&lt;p&gt;&lt;tt&gt;stitch-cli import --project-id=xxxxx&lt;/tt&gt;&lt;/p&gt;

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

&lt;p&gt;Please reference this Stack Overflow question for more information: &lt;a href=&quot;https://stackoverflow.com/questions/51428041/mongodb-stitch-cli-import-failed&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://stackoverflow.com/questions/51428041/mongodb-stitch-cli-import-failed&lt;/a&gt;&lt;/p&gt;

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

&lt;p&gt;&#160;I would recommend adding information about adding the project id to the dashboard tutorial instructions found here:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://docs.mongodb.com/stitch/tutorials/dashboard/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://docs.mongodb.com/stitch/tutorials/dashboard/&lt;/a&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="609598">DOCS-12072</key>
            <summary>MongoDB Stitch Dashboard stitch-cli import command missing --project-id flag</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</type>
                                            <priority id="5" iconUrl="https://jira.mongodb.org/images/icons/priorities/trivial.svg">Trivial - P5</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="13203">Gone away</resolution>
                                        <assignee username="nick.larew@mongodb.com">Nicholas Larew</assignee>
                                    <reporter username="dhelfand">Daniel Helfand</reporter>
                        <labels>
                    </labels>
                <created>Tue, 25 Sep 2018 15:02:51 +0000</created>
                <updated>Fri, 27 Oct 2023 20:16:18 +0000</updated>
                            <resolved>Fri, 12 Oct 2018 20:31:31 +0000</resolved>
                                                                    <component>Stitch</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="2033521" author="dhelfand" created="Tue, 16 Oct 2018 00:52:30 +0000"  >&lt;p&gt;I would argue that you might want to include a warning or small note in the tutorial documentation about this issue/how to resolve it, but thanks for looking into it.&lt;/p&gt;</comment>
                            <comment id="2031937" author="nick.larew" created="Fri, 12 Oct 2018 20:31:31 +0000"  >&lt;p&gt;Based on conversations with the team this issue arose from an Atlas timeout issue. The documented syntax is correct and works correctly outside of the scope of this timeout. Closing as the timeout is an intermittent issue that&apos;s not related to the tutorial.&lt;/p&gt;</comment>
                            <comment id="2014219" author="dhelfand" created="Tue, 25 Sep 2018 21:57:09 +0000"  >&lt;p&gt;Hi Nick,&lt;/p&gt;

&lt;p&gt;Thanks for getting back to me on this. The version of the&#160;&lt;tt&gt;stitch-cli&lt;/tt&gt; I&apos;m using is &lt;tt&gt;1.1.0&lt;/tt&gt;.&lt;/p&gt;

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

&lt;p&gt;My process when doing the tutorial to get to the error was running the following commands:&lt;/p&gt;

&lt;p&gt;&lt;tt&gt;stitch-cli login --username=&amp;lt;MY USERNAME&amp;gt; --api-key=&amp;lt;MY API KEY&amp;gt;&lt;/tt&gt;&lt;/p&gt;

&lt;p&gt;&lt;tt&gt;stitch-cli import&lt;/tt&gt;&lt;/p&gt;

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

&lt;p&gt;Running the command below resolved the issue:&lt;/p&gt;

&lt;p&gt;&lt;tt&gt;stitch-cli import --project-id=&amp;lt;MY PROJECT ID&amp;gt;&lt;/tt&gt;&lt;/p&gt;

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

&lt;p&gt;I installed the &lt;tt&gt;stitch-cli&lt;/tt&gt; via &lt;tt&gt;npm install -g mongodb-stitch-cli.&lt;/tt&gt;&lt;/p&gt;

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

&lt;p&gt;I have been able to reproduce this error following the steps above.&lt;/p&gt;

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

&lt;p&gt;Please let me know if there&apos;s any additional information I can provide.&lt;/p&gt;</comment>
                            <comment id="2014002" author="nick.larew" created="Tue, 25 Sep 2018 19:47:07 +0000"  >&lt;p&gt;Hi Daniel,&lt;/p&gt;

&lt;p&gt;Thanks for filing a Docs ticket!&lt;/p&gt;

&lt;p&gt;I think you may be encountering a bug with an out-of-date version of &lt;tt&gt;stitch-cli&lt;/tt&gt;. The current version is &lt;tt&gt;1.1.0&lt;/tt&gt;.&lt;br/&gt;
The internal app creation process changed slightly with the &lt;tt&gt;1.1.0&lt;/tt&gt; release which is likely the source of your issue.&lt;/p&gt;

&lt;p&gt;Would you mind checking your CLI version for me? If that&apos;s not the cause, we can dive deeper into the issue.&lt;/p&gt;

&lt;p&gt;You can check your CLI version by running &lt;tt&gt;stitch-cli --version&lt;/tt&gt;.&lt;br/&gt;
You can update to the latest version of the CLI by running &lt;tt&gt;npm update -g mongodb-stitch-cli&lt;/tt&gt; (or by replacing the binary if you did a manual install).&lt;/p&gt;

&lt;p&gt;&amp;#8212;&lt;br/&gt;
Nick Larew&lt;br/&gt;
Sr. Technical Writer, MongoDB&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                                        </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </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>Tue, 25 Sep 2018 19:47:07 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        5 years, 17 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>luke.bonanomi@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            5 years, 17 weeks, 2 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                            <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>dhelfand</customfieldvalue>
            <customfieldvalue>nick.larew@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hu8t0n:</customfieldvalue>

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

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