<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic error 'Missing required field: 'owner' when uploading / creating incident via json in Cortex XSOAR Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/error-missing-required-field-owner-when-uploading-creating/m-p/478080#M692</link>
    <description>&lt;P&gt;Trying to export a ticket from PROD into DEV.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;To test I exported a ticket in DEV as a json using this in the playground.&lt;/P&gt;&lt;P&gt;!azure-sentinel-get-incident-by-id incident_id="c5dc30e5-6981-4cb0-9895-66967fc3f2e9" raw-response="true"&lt;BR /&gt;(saved as json)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then n DEV, i tried importing the json per the following instructions:&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.paloaltonetworks.com/cortex/cortex-xsoar/6-6/cortex-xsoar-admin/incidents/incident-management/create-an-incident.html" target="_blank" rel="noopener"&gt;https://docs.paloaltonetworks.com/cortex/cortex-xsoar/6-6/cortex-xsoar-admin/incidents/incident-management/create-an-incident.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It fails and I get this error:&lt;/P&gt;&lt;P&gt;error 'Missing required field: 'owner'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Without any modification the exported json had:&lt;/P&gt;&lt;P&gt;"owner": {&lt;BR /&gt;"assignedTo": "Joshua Boyd",&lt;BR /&gt;"email": "soc@email.com",&lt;BR /&gt;"objectId": null,&lt;BR /&gt;"userPrincipalName": null&lt;BR /&gt;},&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried modifying the json to the following, but both imports were unsuccessful:&lt;/P&gt;&lt;P&gt;"owner": {&lt;BR /&gt;"owner":"jboyd@x.onmicrosoft.com",&lt;BR /&gt;"assignedTo": "Joshua Boyd",&lt;BR /&gt;"email": "soc@email.com",&lt;BR /&gt;"objectId": null,&lt;BR /&gt;"userPrincipalName": null&lt;BR /&gt;},&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does anyone have an example of one that works.&amp;nbsp; I don't understand why I can export to json in DEV and then import to DEV; i choose the correct mapping and automapped my fields.&amp;nbsp; Looks correct...&lt;BR /&gt;&lt;BR /&gt;Thanks again,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Boyd&lt;/P&gt;</description>
    <pubDate>Mon, 04 Apr 2022 19:03:17 GMT</pubDate>
    <dc:creator>jboyd98</dc:creator>
    <dc:date>2022-04-04T19:03:17Z</dc:date>
    <item>
      <title>error 'Missing required field: 'owner' when uploading / creating incident via json</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/error-missing-required-field-owner-when-uploading-creating/m-p/478080#M692</link>
      <description>&lt;P&gt;Trying to export a ticket from PROD into DEV.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;To test I exported a ticket in DEV as a json using this in the playground.&lt;/P&gt;&lt;P&gt;!azure-sentinel-get-incident-by-id incident_id="c5dc30e5-6981-4cb0-9895-66967fc3f2e9" raw-response="true"&lt;BR /&gt;(saved as json)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then n DEV, i tried importing the json per the following instructions:&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.paloaltonetworks.com/cortex/cortex-xsoar/6-6/cortex-xsoar-admin/incidents/incident-management/create-an-incident.html" target="_blank" rel="noopener"&gt;https://docs.paloaltonetworks.com/cortex/cortex-xsoar/6-6/cortex-xsoar-admin/incidents/incident-management/create-an-incident.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It fails and I get this error:&lt;/P&gt;&lt;P&gt;error 'Missing required field: 'owner'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Without any modification the exported json had:&lt;/P&gt;&lt;P&gt;"owner": {&lt;BR /&gt;"assignedTo": "Joshua Boyd",&lt;BR /&gt;"email": "soc@email.com",&lt;BR /&gt;"objectId": null,&lt;BR /&gt;"userPrincipalName": null&lt;BR /&gt;},&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried modifying the json to the following, but both imports were unsuccessful:&lt;/P&gt;&lt;P&gt;"owner": {&lt;BR /&gt;"owner":"jboyd@x.onmicrosoft.com",&lt;BR /&gt;"assignedTo": "Joshua Boyd",&lt;BR /&gt;"email": "soc@email.com",&lt;BR /&gt;"objectId": null,&lt;BR /&gt;"userPrincipalName": null&lt;BR /&gt;},&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does anyone have an example of one that works.&amp;nbsp; I don't understand why I can export to json in DEV and then import to DEV; i choose the correct mapping and automapped my fields.&amp;nbsp; Looks correct...&lt;BR /&gt;&lt;BR /&gt;Thanks again,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Boyd&lt;/P&gt;</description>
      <pubDate>Mon, 04 Apr 2022 19:03:17 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/error-missing-required-field-owner-when-uploading-creating/m-p/478080#M692</guid>
      <dc:creator>jboyd98</dc:creator>
      <dc:date>2022-04-04T19:03:17Z</dc:date>
    </item>
    <item>
      <title>Re: error 'Missing required field: 'owner' when uploading / creating incident via json</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/error-missing-required-field-owner-when-uploading-creating/m-p/478093#M693</link>
      <description>&lt;P&gt;The issue is you have "owner": {&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;}&lt;BR /&gt;&lt;BR /&gt;it should be like this:&amp;nbsp;&lt;BR /&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"owner":"jboyd@x.onmicrosoft.com",&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"assignedTo": "Joshua Boyd",&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"email": "soc@email.com",&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"objectId": null,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"userPrincipalName": null&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Apr 2022 19:16:20 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/error-missing-required-field-owner-when-uploading-creating/m-p/478093#M693</guid>
      <dc:creator>cstone</dc:creator>
      <dc:date>2022-04-04T19:16:20Z</dc:date>
    </item>
    <item>
      <title>Re: error 'Missing required field: 'owner' when uploading / creating incident via json</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/error-missing-required-field-owner-when-uploading-creating/m-p/478098#M694</link>
      <description>&lt;P data-unlink="true"&gt;Also, adding a note to the above response - The JSON you are attempting to use is the result of a command execution, not the structure the mapper is expecting. To easily obtain the JSON representation of an incident, you can use this URL https://hostname/incident/load/&amp;lt;incident_id&amp;gt;&amp;nbsp;&amp;nbsp;for ex.&amp;nbsp;https://hostname/incident/load/100.&lt;/P&gt;&lt;P data-unlink="true"&gt;&amp;nbsp;&lt;/P&gt;&lt;P data-unlink="true"&gt;Copy the json into a file, upload it into the mapper, map the fields and then create the incident.&lt;/P&gt;</description>
      <pubDate>Mon, 04 Apr 2022 19:20:59 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/error-missing-required-field-owner-when-uploading-creating/m-p/478098#M694</guid>
      <dc:creator>RahulVijaydev</dc:creator>
      <dc:date>2022-04-04T19:20:59Z</dc:date>
    </item>
    <item>
      <title>Re: error 'Missing required field: 'owner' when uploading / creating incident via json</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/error-missing-required-field-owner-when-uploading-creating/m-p/478103#M695</link>
      <description>&lt;P&gt;Sorry my mappings have it under properties.owner.owner&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jboyd98_0-1649100298789.png" style="width: 400px;"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/40025iE785432AD419946F/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="jboyd98_0-1649100298789.png" alt="jboyd98_0-1649100298789.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jboyd98_1-1649100371672.png" style="width: 400px;"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/40026i9E01C9C3786CF9A1/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="jboyd98_1-1649100371672.png" alt="jboyd98_1-1649100371672.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Apr 2022 19:26:31 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/error-missing-required-field-owner-when-uploading-creating/m-p/478103#M695</guid>
      <dc:creator>jboyd98</dc:creator>
      <dc:date>2022-04-04T19:26:31Z</dc:date>
    </item>
    <item>
      <title>Re: error 'Missing required field: 'owner' when uploading / creating incident via json</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/error-missing-required-field-owner-when-uploading-creating/m-p/478128#M696</link>
      <description>&lt;P&gt;Thank you both, got it!&lt;/P&gt;</description>
      <pubDate>Mon, 04 Apr 2022 21:59:26 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/error-missing-required-field-owner-when-uploading-creating/m-p/478128#M696</guid>
      <dc:creator>jboyd98</dc:creator>
      <dc:date>2022-04-04T21:59:26Z</dc:date>
    </item>
    <item>
      <title>Re: error 'Missing required field: 'owner' when uploading / creating incident via json</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/error-missing-required-field-owner-when-uploading-creating/m-p/478130#M697</link>
      <description>&lt;P&gt;Awesome! Let us know if you need more help&lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Apr 2022 22:00:33 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/error-missing-required-field-owner-when-uploading-creating/m-p/478130#M697</guid>
      <dc:creator>RahulVijaydev</dc:creator>
      <dc:date>2022-04-04T22:00:33Z</dc:date>
    </item>
    <item>
      <title>Re: error 'Missing required field: 'owner' when uploading / creating incident via json</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/error-missing-required-field-owner-when-uploading-creating/m-p/478135#M698</link>
      <description>&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;A href="https://hostname/incident/load/" target="_blank"&gt;https://hostname/incident/load/&lt;/A&gt;&amp;lt;incident_id&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Actually that didn't work for me; just confirming is that the correct syntax?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Apr 2022 22:16:44 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/error-missing-required-field-owner-when-uploading-creating/m-p/478135#M698</guid>
      <dc:creator>jboyd98</dc:creator>
      <dc:date>2022-04-04T22:16:44Z</dc:date>
    </item>
    <item>
      <title>Re: error 'Missing required field: 'owner' when uploading / creating incident via json</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/error-missing-required-field-owner-when-uploading-creating/m-p/478136#M699</link>
      <description>&lt;P data-unlink="true"&gt;Yup, it's this format -&amp;nbsp;https://hostname/incident/load/100&amp;nbsp; where 100 is the incident id.&amp;nbsp;Make sure to remove the pound sign from the url.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Apr 2022 22:19:22 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/error-missing-required-field-owner-when-uploading-creating/m-p/478136#M699</guid>
      <dc:creator>RahulVijaydev</dc:creator>
      <dc:date>2022-04-04T22:19:22Z</dc:date>
    </item>
    <item>
      <title>Re: error 'Missing required field: 'owner' when uploading / creating incident via json</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/error-missing-required-field-owner-when-uploading-creating/m-p/478138#M700</link>
      <description>&lt;P&gt;Wierd&lt;BR /&gt;so this returns:&amp;nbsp;&amp;nbsp;&lt;A href="https://xx.xx.xx.xx/acc_CCDev01#/Custom/caseinfoid/863" target="_blank"&gt;https://xx.xx.xx.xx/acc_CCDev01#/Custom/caseinfoid/863&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://xx.xx.xx.xx/incident/load/863" target="_blank"&gt;https://xx.xx.xx.xx/incident/load/863&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Returns&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jboyd98_0-1649111402804.png" style="width: 400px;"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/40030iFB05AA59DA506930/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="jboyd98_0-1649111402804.png" alt="jboyd98_0-1649111402804.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Apr 2022 22:30:17 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/error-missing-required-field-owner-when-uploading-creating/m-p/478138#M700</guid>
      <dc:creator>jboyd98</dc:creator>
      <dc:date>2022-04-04T22:30:17Z</dc:date>
    </item>
    <item>
      <title>Re: error 'Missing required field: 'owner' when uploading / creating incident via json</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/error-missing-required-field-owner-when-uploading-creating/m-p/478692#M702</link>
      <description>&lt;P&gt;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/152916"&gt;@RahulVijaydev&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Trying to get this to work, any advice.&amp;nbsp; Screenshot above, this command doesn't seem to be working, but it would make my life much easier if would work &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&lt;A href="https://hostname/incident/load/" target="_blank"&gt;https://hostname/incident/load/&lt;/A&gt;&amp;lt;incident_id&amp;gt;&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;Once I have that, should i be able to import using the upload json option to create the incident without any subsequent mapping?&lt;/P&gt;</description>
      <pubDate>Wed, 06 Apr 2022 17:04:55 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/error-missing-required-field-owner-when-uploading-creating/m-p/478692#M702</guid>
      <dc:creator>jboyd98</dc:creator>
      <dc:date>2022-04-06T17:04:55Z</dc:date>
    </item>
    <item>
      <title>Re: error 'Missing required field: 'owner' when uploading / creating incident via json</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/error-missing-required-field-owner-when-uploading-creating/m-p/478697#M703</link>
      <description>&lt;P data-unlink="true"&gt;Are you on a multi-tenant instance? I can see *acc* in the URL. If so, the URL should be of this format https://xxx/acc_name/incident/load/&amp;lt;incident_id&amp;gt;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Apr 2022 17:25:10 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/error-missing-required-field-owner-when-uploading-creating/m-p/478697#M703</guid>
      <dc:creator>RahulVijaydev</dc:creator>
      <dc:date>2022-04-06T17:25:10Z</dc:date>
    </item>
  </channel>
</rss>

