Hello Community,
I'm trying to create a variable in a plan using the REST API and cURL.
The following command works fine:
curl -k -H 'Authorization: Bearer XXXX' https://localhost:8443/rest/api/latest/plan/AAAA-BBB/variables.json
[{"name":"aaa","value":"bbb"}]
But when I try to send a POST request to add a new variable, I get the following message:
curl -k -H 'Authorization: Bearer XXXX' -H 'Content-Type: application/json' https://localhost:8443/rest/api/latest/plan/AAAA-BBB/variables -d '{"name":"ccc","value":"ddd"}'
"You must enter a valid variable name"
Is this a BUG?
I think it was a kind of bug they fixed it.
You can see this https://jira.atlassian.com/browse/BAM-21787
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.