Forums

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

Getting error while integrating Jira with .Net Framework

ADITYA CHOWDHURY
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!
May 28, 2024

Hi Everyone,

I am trying to integrate the Jira with .Net Framework via atlassian SDK but when I am trying to create a ticket, I am getting an error in CustomField as below:

System.InvalidOperationException: 'Response Status Code: 400.
Response Content: {"errorMessages":[],"errors":

{"Macro":"expected Object",
"Work_Group":"expected Object",
"Work_Type":"expected Object"}}

 

Macro, Work_Group, and Work_Type are all cascading type. The flow for subgroup is : Macro- > Work_Group-> Work_Type

I am trying to do it like below:

issue.CustomFields.AddArray("Macro", "Windows Virtual Desktop (WVD) (AASET-2609460)");

Please guide me to resolve the issue

 

Thanks

0 answers

Suggest an answer

Log in or Sign up to answer