Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Trying to create a change via powershell but I can't get the custom array parsed right

Vanessa_Fraser
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 3, 2025

I am trying to automate our monthly dev and prd patching change tickets via powershell.  I have all the fields except the Approvers (customfield_10313) entries working.

I've tried every variation I could google and copilot suggested but I'm missing just the basic how to make it an array syntax.

I can find a lot of articles about it but rarely run across one where it uses powershell and I have to use that for our Jenkins nodes to do the work.

My xml looks like this: 

<cutsomfield id="customfield_10313" key="com.atlassian.jira.plugin.system.customfieldtypes:multiuserpicker">

<customfieldname>Approvers</customfieldname>

<customfieldvalues>

<customfieldvalue>

<![CDATA[ ug:7a936bb1-2c88-4218-bc67-c8468ec7da19 ]]>

 

</customfieldvalue>

 

<customfieldvalue>

<![CDATA[ ug:0fe33682-589b-4a09-9e4e-eeaa6b23b1b0 ]]>

</customfieldvalue>

</customfieldvalues>

</customfield>

 

0 answers

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events