Forums

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

Unable to update a multiuser custom field in post funtion

Rosana Casilli
Contributor
August 25, 2021

Hi All!!

 

I have this issue. I have a custom field that is populated in a post function with a group.

 

The thing is that when I try to transition the issue is showing me the following error:

Unable to update custom field customfield_10150 - Gestores del cambio in issue [PRB-48].

 

I have checked if the field is in the screen and if has a context, and it looks okay. 

 

which could be the problem?

 

Thanks in advance. 

Ro

2 answers

1 accepted

1 vote
Answer accepted
Joseph Chung Yin
Community Champion
August 25, 2021

@Rosana Casilli -

Here are a few things that you can check -

1) Try to edit the issue manually to see if you can update the custom field with your value.

2) Since the field is associated to "multi-user picker data type", you will need to check to ensure if the value (user) is valid in your JSM env.  

3) You may want to use the user account id when populating the custom field.

If you can provide some screenshots and more details (i.e. post function to add value to the field etc...), they will give me more information that I can provide further assistance.

Hope this helps.

Best, Joseph Chung Yin

Jira/JSM Functional Lead, Global Infrastructure Applications Team

Viasat Inc.

0 votes
Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 25, 2021

The usual problem with updating multi-something fields is that it is not obvious what to put into them.  They contain a collection (array, set, list, whatever) of items as a single value.   So we often find people saying "I put 'red' into my colour field, but it wiped all the other values" or "I can't put 'red' into the field".  The field needs a list, even if it's a list of one item - so if the current list is [yellow, blue], you need to feed it [red, yellow, blue].  If it is empty and you're wanting to set it to 'red', feed it a list of one item - [red]

All the other problems it might be - see what @Joseph Chung Yin said, they've covered all the others I would talk about.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events