I am programatically updating the status of an issue using transitions (using JIRA Rest API). Its working perfect until transition has some required field to be updated to next status. JIRA Rest API is giving "Bad Request" error.
Following is my C# code
string extendedURL = String.Format("issue/{0}/transitions", issueKey);
string pJSON = "{\"transition\":{\"id\":\"" + newTransitionId.ToString() + "\"}}";
result = await PostRequest(extendedURL, pJSON);
where PostRequest is my defined function to call JIRA Rest API.
Please note that this is working perfect if there is no required field to do the transition.
Community moderators have prevented the ability to post new answers.
Have you tried filling in the mandatory field?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.