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.
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**
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.