So I am trying to create an issue that has the "None" security level.
In the gui I can just select "None" from the drop down and it creates the issue without a security level.
But when I leave out security level in my api request it sets the default security level.
How should I describe the security field in my request so it will not be set?
I've not tried this, but I think sending it a null or empty security level should do it
"none" is a placeholder word Jira shows to the user instead of the more unclear "empty line in a dropdown" which confuses people. It represents an empty field (no data in the jiraissue table for system fields, or no line in customfieldvalue if it's a custom field) rather than the string "none"
Wonderful!
when you explicitly set it to "null" it works
FYI: Setting name or id to empty string does not work.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ah, great, 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.
Thanks for this info.
Note, it's important to set "security":null, not "security":{"id":null} or "security":{"name":null}. The latter two will result in an error.
Also, set it to null and not "null". That will result in an Internal Server Error.
Thos are the lessons I learnt ;-)
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.