I am hoping someone can point me to the correct API call and correct JSON payload structure, that will allow me to update
1) field "defects"
2) fields "executionDefects", "stepDefects", "testDefectsUnMasked", "stepDefectsUnMasked", "executionDefectCount", "stepDefectCount", "totalDefectCount"
Welcome to the Atlassian Community!
We can't do that. None of those fields are standard system fields in Jira, so we can't tell you how to access them, as they could have any ID.
They also look like they may be coming from a test management app. If that's the case, you probably want to be using the REST API for that app, not core Jira. We can't even point at the docs if we don't know what the app is.
You're going to need to look this up for yourself, either in the testing app, or work through https://developer.atlassian.com/server/jira/platform/jira-rest-api-examples/#:~:text=Creating%20an%20issue%20using%20the,ID%20of%20the%20issue%20type. - there's a "create meta" call in there that asks Jira to tell you what fields are available on an issue.
Thanks for the update
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.