Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,369,236
Community Members
 
Community Events
168
Community Groups

Have issue in curl POST COMMAND to get bamboo global variable

Hi I am trying to retrive bamboo global variable eg key=> (bamboo.projectName) and value => AdvDetails

So i am trying to use this global variable by following CURL commands.

curl -X POST --user username:password --header "Content-Type: application/json" --header "Accept: application/json" -d "{   \"applicationId\": 185,   \"description\": \"Creating project for AdvDetails\",   \"name\": \"%bamboo.projectName%\" }" "http://cara.test.com/datamanagement/a/api/v4/create-project"

please let me know how to retrive this global variable details in the curl post rest api commands.

thanks in advance.

1 answer

Did you try with ${bamboo.projectName}

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events