<?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 Re: Importing groupRules in Controllers</title>
    <link>https://community.cisco.com/t5/controllers/importing-grouprules/m-p/3513232#M1271</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for that confirmation Spencer. I look forward to the results of your analysis!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 28 Jan 2016 13:32:32 GMT</pubDate>
    <dc:creator>smp</dc:creator>
    <dc:date>2016-01-28T13:32:32Z</dc:date>
    <item>
      <title>Importing groupRules</title>
      <link>https://community.cisco.com/t5/controllers/importing-grouprules/m-p/3513230#M1269</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Our PI3.0.2 deployment experienced database corruption, and we were forced to stand up a new instance. Our old deployment is in a state where it will still respond to API calls, so I developed some automation to pull out the groupRules from the old deployment and push them into the new one. But when I attempt to push a rule with a 'criteria' that contains a percent sign (%), PI responds with the error 'Parameter 'criteria' contains invalid characters'. I'm using Python/JSON, and the data structure I'm trying to PUT looks like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;H3&gt;{&lt;/H3&gt;&lt;H3&gt;&amp;nbsp; "groupRulesDTO": {&lt;/H3&gt;&lt;H3&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "rules": {&lt;/H3&gt;&lt;H3&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "rule": {&lt;/H3&gt;&lt;H3&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "matchCondition": "AND",&lt;/H3&gt;&lt;H3&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "field": "Device Name",&lt;/H3&gt;&lt;H3&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "operation": "STARTS_WITH",&lt;/H3&gt;&lt;H3&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "criteria": "us%-fargnpi"&lt;/H3&gt;&lt;H3&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/H3&gt;&lt;H3&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/H3&gt;&lt;H3&gt;&amp;nbsp; }&lt;/H3&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Can you advise on the proper way to escape the 'criteria' so it will be accepted by the &lt;/SPAN&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;PUT groups/groupRules&lt;/STRONG&gt;&lt;SPAN style="font-size: 13.3333px;"&gt; API?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;This data structure was pulled directly from another instance of PI, so it's a shame that it isn't in a format that I could simply turn around and use instead of having to fiddle with. In any case, I can reproduce with Postman. I've tried a few escape sequences that I could think of/find, but none have been successful so far. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jan 2016 14:12:09 GMT</pubDate>
      <guid>https://community.cisco.com/t5/controllers/importing-grouprules/m-p/3513230#M1269</guid>
      <dc:creator>smp</dc:creator>
      <dc:date>2016-01-21T14:12:09Z</dc:date>
    </item>
    <item>
      <title>Re: Importing groupRules</title>
      <link>https://community.cisco.com/t5/controllers/importing-grouprules/m-p/3513231#M1270</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We've reproduced this issue internally.&amp;nbsp; We're looking into why there's a discrepancy between the API and the UI.&amp;nbsp; I'll update this thread once I know more.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jan 2016 23:47:06 GMT</pubDate>
      <guid>https://community.cisco.com/t5/controllers/importing-grouprules/m-p/3513231#M1270</guid>
      <dc:creator>Spencer Zier</dc:creator>
      <dc:date>2016-01-27T23:47:06Z</dc:date>
    </item>
    <item>
      <title>Re: Importing groupRules</title>
      <link>https://community.cisco.com/t5/controllers/importing-grouprules/m-p/3513232#M1271</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for that confirmation Spencer. I look forward to the results of your analysis!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jan 2016 13:32:32 GMT</pubDate>
      <guid>https://community.cisco.com/t5/controllers/importing-grouprules/m-p/3513232#M1271</guid>
      <dc:creator>smp</dc:creator>
      <dc:date>2016-01-28T13:32:32Z</dc:date>
    </item>
    <item>
      <title>Re: Importing groupRules</title>
      <link>https://community.cisco.com/t5/controllers/importing-grouprules/m-p/3513233#M1272</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just an update on this.&amp;nbsp; We have a fix for this issue that we will be including in the 3.0.3 Update 1 patch.&amp;nbsp; Thanks for reporting this issue &lt;IMG src="https://community.cisco.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edit: Forgot to mention, CSCuy02077 covers this issue (&lt;A href="https://tools.cisco.com/bugsearch/bug/CSCuy02077" title="https://tools.cisco.com/bugsearch/bug/CSCuy02077"&gt;https://tools.cisco.com/bugsearch/bug/CSCuy02077&lt;/A&gt;).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Feb 2016 18:24:36 GMT</pubDate>
      <guid>https://community.cisco.com/t5/controllers/importing-grouprules/m-p/3513233#M1272</guid>
      <dc:creator>Spencer Zier</dc:creator>
      <dc:date>2016-02-18T18:24:36Z</dc:date>
    </item>
    <item>
      <title>Re: Importing groupRules</title>
      <link>https://community.cisco.com/t5/controllers/importing-grouprules/m-p/3513234#M1273</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yay! Thanks for the update!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Feb 2016 19:06:40 GMT</pubDate>
      <guid>https://community.cisco.com/t5/controllers/importing-grouprules/m-p/3513234#M1273</guid>
      <dc:creator>smp</dc:creator>
      <dc:date>2016-02-18T19:06:40Z</dc:date>
    </item>
    <item>
      <title>Re: Importing groupRules</title>
      <link>https://community.cisco.com/t5/controllers/importing-grouprules/m-p/3513235#M1274</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I can confirm the issue is resolved in 3.1. I am running my "rules copy" job right now &lt;IMG src="https://community.cisco.com/legacyfs/online/emoticons/happy.png" /&gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jul 2016 16:58:20 GMT</pubDate>
      <guid>https://community.cisco.com/t5/controllers/importing-grouprules/m-p/3513235#M1274</guid>
      <dc:creator>smp</dc:creator>
      <dc:date>2016-07-05T16:58:20Z</dc:date>
    </item>
  </channel>
</rss>

