Getting jobs and tasks using rest api.

Ankit_Prasad
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!
April 17, 2020

Hii i am using rest api call to get data from bamboo server. But in the documentation i cant find any api call to get the jobs and tasks associated with it. Can you please help me with this. 

1 answer

0 votes
Gerhard Forster
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 24, 2020

Hello @Ankit_Prasad

Thanks a lot for your question and welcome to Community!

Please find this Bamboo REST API document as a reference for all available REST endpoints offered by Bamboo.

I understand that what you're after is a REST query to get you all jobs and tasks from within a given plan.

Honestly, seems like we have nothing at present that would list out tasks per planKey, but for jobs I found the following endpoint which shall be used with the GET method.

/search/jobs/{planKey}?searchTerm

Please find details in the above document.

Hope this help. If you found this answer helpful, please quote the message with "Accept answer" or share any further concern or ask with us per this thread.

Thanks, Gerhard

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events