I am working with the Jira SOAP API, and I have managed to read from an issue and to create new issues. However, I am having trouble with updating the fields of an already existing issue. I make changes to the fields, but they do not persist after the program stops running.
I know that the method to use is likely the updateIssue(…) method, but I haven’t been able to attempt using it, as I don’t know what to pass for the last parameter. I looked at the documentation, but don’t understand what the RemoteFieldValue[] is.
Can someone please tell me how I could create a RemoteFieldValue[] that I could pass to the updateIssue method in order to update basic fields like summary, description, etc.?
Thanks!
To update basic fields using Jira SOAP you need to use updateIssue() (as you suspected).
RemoteFieldValue constructor takes two parameters: fieldID and newFieldValues
Where fieldID for standard fields is a name of the field (“summary”, “description”, etc.)
Here is an example: