The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
bozhidarmarinov
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 14, 2020

Did you try with ${bamboo.projectName}

TAGS
AUG Leaders

Atlassian Community Events