コード例 #1
0
def get_users_list(config, url_headers, transact_guid):
    url = 'https://app.yodiz.com/api/rest/v1/projects/4/users'
    users_list = fnx.get_api_response(config, url_headers, url, transact_guid)
    return users_list
コード例 #2
0
def get_userstories_list_offset(config, url_headers, offset, transact_guid):
    url = 'https://app.yodiz.com/api/rest/v1/projects/4/userstories?fields=all&limit=50&offset={0}'.format(
        offset)
    userstories_list_partial = fnx.get_api_response(config, url_headers, url,
                                                    transact_guid)[0]
    return userstories_list_partial
コード例 #3
0
def get_releases_list(config,url_headers,transact_guid):
    url = 'https://app.yodiz.com/api/rest/v1/projects/4/releases?fields=all'
    releases_list = fnx.get_api_response(config,url_headers,url,transact_guid)
    return releases_list
コード例 #4
0
def get_userstories_size(url_headers):
    url = 'https://app.yodiz.com/api/rest/v1/projects/4/userstories?fields=all&limit=1&offset=0'
    lst = fnx.get_api_response(url_headers=url_headers, url=url)
    userstories_size = lst[1]['totalCount']
    return userstories_size