When trying to set a new issue property I get 403 permission denied, when the key name has a forward slash in its name. Is it in any way possible to create a key with a forward slash?
Example:
Works:
%2F
is%2F
a%2F
property%2F
keyError message:
ok: false,
status: 403,
statusText: 'Forbidden'
Another thing is the error message, which is very unclear.
I forgot to add that making a request with basic authentication like this, does work.
The requests shown are not the same. The Forge version is sending two sets of properties which I would not expect to work. At best it would ignore one of the properties key values. Are you also passing the properties values in the request body?
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.
The basic issue here is that using slashes will not be processed as a property key but as a path to be executed on the server.
The values passed are documented as being "Path Parameters" and not name/value parameters. i.e. you are allowed to add issue and property keys into the path.
This will always result in error codes being returned when other paths are detected i.e. unexpected slashes in the call.
The only option is to use expected property key formats such as '-'
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The only formatting constraints documented is that property keys should be JSON forgettable.
However any slashes in the the request URL are going to be interpreted as a path so using slashes in proper keys will not work via REST.
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.