Hi there,
When we create delivery tickets to execute an idea, the team manager will assign a responsable on the created EPIC. I want an automation to send this assignee value back to a JDP custom field that I called: Project Manger. The custom field ID is: customfield_10475
However, It's not working right.
My script gives me the error:
Hi @Martin
Please try using the accountId value, and not the displayName, to select a user in a single-select user field. Here is the syntax for that:
Kind regards,
Bill
Hi @Bill Sheboy
Your solution does not tackle the reported issue, which is that the field entry is not in an array. Multi-user fields need to be added as arrays via automation even if you are only trying to add a single value. The error will be the same even if Martin tries the account ID. You cannot create single select use fields in JPD, I believe.
However, you have found the page I referred to in my answer, which demos this correct syntax for adding a field value in an array, so thank you!
Regards,
-C
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Martin !
is your custom field a multi select field or can it only have a single value? If it’s a multi-select field, you need to format your request as an array even if you are only storing a single value. I can’t find the samples on mobile, but Jira’s smart value documentation has enough info that allowed me to solve the issue previously.
regards,
-C
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.