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

How to get Metadata data properties using rest api

Madhu August 11, 2023

Hi Team,

 

I need to retrieve the key value pair in metadata tab.

Key - plan.StorageTag

Value - plan-123456

 

Can you please help me how to achieve this requirement.

1 answer

1 vote
Anik Sengupta
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
August 11, 2023

 

Hi Madhu,

 

The Bamboo database can be easily queried to retrieve a list of plan key to storage tag mappings:

SELECT FULL_KEY,STORAGE_TAG FROM BUILD WHERE BUILD_TYPE IN ('CHAIN','CHAIN_BRANCH');

Example result:

full_key storage_tag
SAMPLE-PLAN plan-18022401
PROJ-PLAN plan-20414467

Regards,

Anik Sengupta

**please don't forget to Accept the answer if your query was answered**

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events