This is a storage format for the demo onĀ using apply filter on dependent smart dropdowns

<ac:structured-macro ac:macro-id="48bcfba0-65c2-4b2b-a47f-f60044c82e51" ac:name="confiform" ac:schema-version="1">
  <ac:parameter ac:name="formName">f1choices</ac:parameter>
  <ac:rich-text-body>
    <p>
      <ac:structured-macro ac:macro-id="26ffef62-09ac-4311-b719-317875e9b973" ac:name="confiform-field-definition" ac:schema-version="1">
        <ac:parameter ac:name="fieldName">mychoice</ac:parameter>
        <ac:parameter ac:name="fieldLabel">My choice</ac:parameter>
        <ac:parameter ac:name="type">text</ac:parameter>
      </ac:structured-macro>
    </p>
    <p>
      <ac:structured-macro ac:macro-id="0591562b-323c-47e6-ade5-c25caaaba535" ac:name="confiform-field-definition" ac:schema-version="1">
        <ac:parameter ac:name="fieldName">color</ac:parameter>
        <ac:parameter ac:name="fieldLabel">color</ac:parameter>
        <ac:parameter ac:name="type">text</ac:parameter>
      </ac:structured-macro>
    </p>
    <ac:structured-macro ac:macro-id="dbd9b8eb-0be7-4150-ba54-2c78bf3f697a" ac:name="confiform-entry-register" ac:schema-version="1">
      <ac:parameter ac:name="atlassian-macro-output-type">INLINE</ac:parameter>
      <ac:rich-text-body>
        <p>
          <br/>
        </p>
      </ac:rich-text-body>
    </ac:structured-macro>
  </ac:rich-text-body>
</ac:structured-macro>
<p>Items in form <strong>f1choices</strong>
</p>
<ac:structured-macro ac:macro-id="da68ed25-32b2-48f0-9567-de42199228c8" ac:name="confiform-table" ac:schema-version="1">
  <ac:parameter ac:name="formName">f1choices</ac:parameter>
  <ac:rich-text-body>
    <p>
      <ac:structured-macro ac:macro-id="632cab45-f4c4-4b83-8df6-5997d3e00c2a" ac:name="confiform-field" ac:schema-version="1">
        <ac:parameter ac:name="fieldName">mychoice</ac:parameter>
      </ac:structured-macro>
    </p>
    <p>
      <ac:structured-macro ac:macro-id="7c8ba8d1-e5e6-44af-a240-d6e7e351910e" ac:name="confiform-field" ac:schema-version="1">
        <ac:parameter ac:name="fieldName">color</ac:parameter>
      </ac:structured-macro>
    </p>
  </ac:rich-text-body>
</ac:structured-macro>
<ac:structured-macro ac:macro-id="770277c6-cb00-4352-a752-e498ab309c82" ac:name="confiform" ac:schema-version="1">
  <ac:parameter ac:name="formName">f2choices</ac:parameter>
  <ac:rich-text-body>
    <p>
      <ac:structured-macro ac:macro-id="b6939b22-5c86-482b-adeb-b6e8fa5212c0" ac:name="confiform-field-definition" ac:schema-version="1">
        <ac:parameter ac:name="fieldName">mychoice</ac:parameter>
        <ac:parameter ac:name="fieldLabel">My choice</ac:parameter>
        <ac:parameter ac:name="type">text</ac:parameter>
      </ac:structured-macro>
    </p>
    <p>
      <ac:structured-macro ac:macro-id="39913927-06dd-4314-97cf-68aacda0655d" ac:name="confiform-field-definition" ac:schema-version="1">
        <ac:parameter ac:name="fieldName">color</ac:parameter>
        <ac:parameter ac:name="fieldLabel">color</ac:parameter>
        <ac:parameter ac:name="type">text</ac:parameter>
      </ac:structured-macro>
    </p>
    <ac:structured-macro ac:macro-id="c0681002-b78f-42f5-92c0-daecb337a8d4" ac:name="confiform-entry-register" ac:schema-version="1">
      <ac:parameter ac:name="atlassian-macro-output-type">INLINE</ac:parameter>
      <ac:rich-text-body>
        <p>
          <br/>
        </p>
      </ac:rich-text-body>
    </ac:structured-macro>
  </ac:rich-text-body>
</ac:structured-macro>
<p>Items in form <strong>f2choices</strong>
</p>
<ac:structured-macro ac:macro-id="92b849f8-011c-4224-beb8-959036b5a666" ac:name="confiform-table" ac:schema-version="1">
  <ac:parameter ac:name="formName">f2choices</ac:parameter>
  <ac:rich-text-body>
    <p>
      <ac:structured-macro ac:macro-id="7133d535-a3b8-497e-84f7-6569444a29df" ac:name="confiform-field" ac:schema-version="1">
        <ac:parameter ac:name="fieldName">mychoice</ac:parameter>
      </ac:structured-macro>
    </p>
    <p>
      <ac:structured-macro ac:macro-id="1cf89d6b-d193-4ddb-8178-072c8a69c02c" ac:name="confiform-field" ac:schema-version="1">
        <ac:parameter ac:name="fieldName">color</ac:parameter>
      </ac:structured-macro>
    </p>
  </ac:rich-text-body>
</ac:structured-macro>
<p>
  <br/>
</p>
<p>Form to use the choices and filter...</p>
<p>We filter the second dropdown by color of the item selected in the first dropdown</p>
<ac:structured-macro ac:macro-id="31ebb9dd-4d68-4a09-9c9b-9bdd905d5af5" ac:name="confiform" ac:schema-version="1">
  <ac:parameter ac:name="formName">usingchoices</ac:parameter>
  <ac:rich-text-body>
    <ac:structured-macro ac:macro-id="33cd2744-9c85-49b5-bd17-35a3974c8415" ac:name="confiform-entry-register" ac:schema-version="1">
      <ac:parameter ac:name="embedded">true</ac:parameter>
      <ac:parameter ac:name="atlassian-macro-output-type">INLINE</ac:parameter>
      <ac:rich-text-body>
        <p>
          <br/>
        </p>
      </ac:rich-text-body>
    </ac:structured-macro>
    <p>
      <ac:structured-macro ac:macro-id="83cf2418-c8b0-4487-9140-a45320820420" ac:name="confiform-field-definition" ac:schema-version="1">
        <ac:parameter ac:name="fieldName">mychoice1</ac:parameter>
        <ac:parameter ac:name="fieldLabel">My choice 1</ac:parameter>
        <ac:parameter ac:name="values">[23265928|f1choices|mychoice|true||]</ac:parameter>
        <ac:parameter ac:name="type">smartselect2</ac:parameter>
      </ac:structured-macro>
    </p>
    <p>
      <ac:structured-macro ac:macro-id="13e92f3d-95ca-40c5-b9c1-177f870d5152" ac:name="confiform-field-definition" ac:schema-version="1">
        <ac:parameter ac:name="fieldName">mychoice2</ac:parameter>
        <ac:parameter ac:name="fieldLabel">My choice 2</ac:parameter>
        <ac:parameter ac:name="values">[23265928|f2choices|mychoice|true||]</ac:parameter>
        <ac:parameter ac:name="type">smartselect2</ac:parameter>
      </ac:structured-macro>
    </p>
    <p>
      <ac:structured-macro ac:macro-id="2efebe35-ba01-4fa8-b467-54b27b15b1c6" ac:name="confiform-field-definition-rules" ac:schema-version="1">
        <ac:parameter ac:name="fieldName">mychoice2</ac:parameter>
        <ac:parameter ac:name="values">color:[entry.mychoice1.color]</ac:parameter>
        <ac:parameter ac:name="action">Apply Filter on a field</ac:parameter>
        <ac:parameter ac:name="actionFieldName">mychoice1</ac:parameter>
      </ac:structured-macro>
    </p>
  </ac:rich-text-body>
</ac:structured-macro>