Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Have issue in curl POST COMMAND to get bamboo global variable

salamon pradeep October 9, 2017

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

0 votes
bozhidarmarinov July 14, 2020

Did you try with ${bamboo.projectName}

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events