You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.
View groupJoin the community to find out what other Atlassian users are discussing, debating and creating.
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.
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.
Connect with like-minded Atlassian users at free events near you!
Find an eventConnect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.
Host an eventYou're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.