title: Jenkins - Dynamic Extended Choice parameter to populate multi-level multi-select list
body: <p>Is there a way to use the <a href="https://wiki.jenkins-ci.org/display/JENKINS/Dynamic+Extended+Choice+Parameter+plugin" rel="nofollow noreferrer">Dynamic (Moded) Extended Choice Parameter</a> to bind with an <a href="https://wiki.jenkins-ci.org/display/JENKINS/Extended+Choice+Parameter+plugin" rel="nofollow noreferrer">Extended Choice Parameter</a> multi-level field to populate the first level's list?</p>
  
  <p>For example if I had:</p>
  
  <p><img src="https://i.stack.imgur.com/jQtOt.png" alt="Moded extended choice parameter"></p>
  
  <p>This would bind with this field below:</p>
  
  <p><img src="https://i.stack.imgur.com/iFHMW.png" alt="Extended choice multi level"></p>
  
  <p>Either by having the first level (Choice) default with their ModedChoice selection (Choice1,Choice2,Choice3), or based on their ModedChoice selection 'Value1' would be populated (I would take the Choice level out in that case).  </p>
  
  <p>I know the second method I mentioned can be done for a single select list as described on the <a href="https://wiki.jenkins-ci.org/display/JENKINS/Dynamic+Extended+Choice+Parameter+plugin" rel="nofollow noreferrer">wiki</a> and it would search for the text file Choice1.txt, Choice2.txt etc., which would contain Value1 values (i.e. key=value1.1,value1.2,value1.3  etc).</p>
  
  <p>I couldn't figure out how to have that key contain a multi level list since it is a tab delimited format to separate columns, i.e:</p>
  
  <pre><code>Choice    Value1    Value2
  choice1    value1.1    value2.1
  choice1    value1.1    value2.2
  choice2    value1.2    value2.1
  choice2    value1.1    value2.5
  choice3    value1.2    value2.7
  </code></pre>
  
  <p>etc..</p>
  
  <p>I tried something like (Choice1.txt):</p>
  
  <pre><code>key='Value1    Value2
  value1.1    value2.1
  value1.1    value2.2
  value1.2    value2.1
  value1.1    value2.5
  value1.2    value2.7'   
  </code></pre>
  
  <p>etc.. for Choice2.txt and Choice3.txt.</p>
  
  <p>But this just populates the multi level with <code>Value1 Value2</code>.  </p>
  
  <p>I tried binding with another Moded Choice Parameter (Multi Select), and left the Key field empty and kept the proper tab delimited format for the multi level select list, but it still outputs <code>Value1 Value2</code>.</p>