Hi,
My user has permissions to change an issue security level in Jira via browser, I'm trying to do this via REST API. However, when I create the issue it sets the default security level instead of the one I'm specifying.
I'm calling this endpoint
POST /rest/api/2/issue
with a JSON payload like:
{
"fields": { "security": { "id" : "10000" } }
}
I verified that the id belongs to the security level I want to set, but the issue gets created with the default security level instead of the one I'm specifying in the payload, so I'm being forced to change it manually on the browser. What can I be doing wrong here?
Found a way to do it, works if I create the issue first via REST API and then update it with a different security field.
@Laura Gomez sorry to bring up an old thread, but would you be able to provide how you updated it to a different security 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.
Here is the KB:
and the postman library:
https://www.postman.com/aldhirs/jira/request/rer2opq/update-issue-security-level
regards
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.