Forums

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

update custome field (has already value) using .NET SDK

Hassan
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!
June 29, 2021

When I use the below statement using Atlassian .NET SDK, I am getting: Error

customfield_10114 to Newtonsoft.Json.Linq.JObject. Property with the same name already exists on object

issue.CustomFields.AddArray("Test Sets association with a Test", new string[] { "DT-2396" });

1 answer

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.
June 29, 2021

I suspect your custom field is a select or multi-select and it already has that value selected.

Suggest an answer

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

Atlassian Community Events