Hi,
I am able to edit Customfields in jira issue which are not in Closed state through Rest API from C# code as followes.
string jSonContent = string.Concat(@{ "fields"" : { ""customfield_12160"": [ """, ReporterLabel ,@""" ], ""customfield_12151"": """, LatestInformation, @"""}}");
request.AddParameter("application/json", jSonContent, ParameterType.RequestBody);
But I am getting error to edit customfields in closed Jira issue as below.
JIRA-XXXX: {"errorMessages":[],"errors":{"customfield_12160":"Field 'customfield_12160' cannot be set. It is not on the appropriate screen, or unknown.","customfield_12151":"Field 'customfield_12151' cannot be set. It is not on the appropriate screen, or unknown."}}
Pleas let me know the actual method to edit closed jira issues also.
Thanks in advance.