# coding=utf-8
import os

from atlassian import Bamboo

BAMBOO_URL = os.environ.get("BAMBOO_URL", "http://localhost:8085")
ATLASSIAN_USER = os.environ.get("ATLASSIAN_USER", "admin")
ATLASSIAN_PASSWORD = os.environ.get("ATLASSIAN_PASSWORD", "<PASSWORD>")

bamboo = Bamboo(url=BAMBOO_URL, username=ATLASSIAN_USER, password=<PASSWORD>)

plan_directories_roots = bamboo.plan_directory_info("PROJ-PLAN")

print(plan_directories_roots)

# coding=utf-8
import os

from atlassian import Bamboo

BAMBOO_URL = os.environ.get("BAMBOO_URL", "http://localhost:8085")
ATLASSIAN_USER = os.environ.get("ATLASSIAN_USER", "admin")
ATLASSIAN_PASSWORD = os.environ.get("ATLASSIAN_PASSWORD", "<PASSWORD>")

bamboo = Bamboo(url=BAMBOO_URL, username=ATLASSIAN_USER, password=<PASSWORD>)

plan_directories_roots = bamboo.plan_directory_info("PROJ-PLAN")

print(plan_directories_roots)

# coding=utf-8