Skip to content

Conversation

martynbristow
Copy link
Contributor

Use of print is valid and the correct thing for this example (pretty-print-usage)

pprint(jira.issue('INT-1'))
{'expand': 'renderedFields,names,schema,operations,editmeta,changelog,versionedRepresentations,customfield_10010.requestTypePractice',
 'fields': {'aggregateprogress': {'progress': 0, 'total': 0},
            'aggregatetimeestimate': None,
            'aggregatetimeoriginalestimate': None,
            'aggregatetimespent': None,
            'assignee': None,
            'attachment': [],
            'comment': {'comments': [{'author': {'accountId': '557058:dc675182-d776-46f5-90fb-fe5637b71397',
                                                 'accountType': 'atlassian',
                                                 'active': True,
                                                 'avatarUrls': {'16x16': 'https://secure.gravatar.com/avatar/6f1cc3b97033de549f9d156d0eea4a34?d=https%3A%2F%2Favatar-management--avatars.us-west-2.prod.public.atl-paas.net%2Finitials%2FMB-4.png',
                                                                '24x24': 'https://secure.gravatar.com/avatar/6f1cc3b97033de549f9d156d0eea4a34?d=https%3A%2F%2Favatar-management--avatars.us-west-2.prod.public.atl-paas.net%2Finitials%2FMB-4.png',
                                                                '32x32': 'https://secure.gravatar.com/avatar/6f1cc3b97033de549f9d156d0eea4a34?d=https%3A%2F%2Favatar-management--avatars.us-west-2.prod.public.atl-paas.net%2Finitials%2FMB-4.png',
                                                                '48x48': 'https://secure.gravatar.com/avatar/6f1cc3b97033de549f9d156d0eea4a34?d=https%3A%2F%2Favatar-management--avatars.us-west-2.prod.public.atl-paas.net%2Finitials%2FMB-4.png'},
                                                 'displayName': 'Martyn '
                                                                'Bristow',
                                                 'emailAddress': 'martyn.bristow@gmail.com',
                                                 'self': 'https://atlassian-python.atlassian.net/rest/api/2/user?accountId=557058%3Adc675182-d776-46f5-90fb-fe5637b71397',
                                                 'timeZone': 'Europe/London'},
                                      'body': 'Some Text comment',
                                      'created': '2022-10-25T20:21:33.277+0100',
                                      'id': '10000',
                                      'jsdPublic': True,
                                      'self': 'https://atlassian-python.atlassian.net/rest/api/2/issue/10000/comment/10000',
                                      'updateAuthor': {'accountId': '557058:dc675182-d776-46f5-90fb-fe5637b71397',
                                                       'accountType': 'atlassian',
                                                       'active': True,
                                                       'avatarUrls': {'16x16': 'https://secure.gravatar.com/avatar/6f1cc3b97033de549f9d156d0eea4a34?d=https%3A%2F%2Favatar-management--avatars.us-west-2.prod.public.atl-paas.net%2Finitials%2FMB-4.png',
                                                                      '24x24': 'https://secure.gravatar.com/avatar/6f1cc3b97033de549f9d156d0eea4a34?d=https%3A%2F%2Favatar-management--avatars.us-west-2.prod.public.atl-paas.net%2Finitials%2FMB-4.png',
                                                                      '32x32': 'https://secure.gravatar.com/avatar/6f1cc3b97033de549f9d156d0eea4a34?d=https%3A%2F%2Favatar-management--avatars.us-west-2.prod.public.atl-paas.net%2Finitials%2FMB-4.png',
                                                                      '48x48': 'https://secure.gravatar.com/avatar/6f1cc3b97033de549f9d156d0eea4a34?d=https%3A%2F%2Favatar-management--avatars.us-west-2.prod.public.atl-paas.net%2Finitials%2FMB-4.png'},
                                                       'displayName': 'Martyn '
                                                                      'Bristow',
                                                       'emailAddress': 'martyn.bristow@gmail.com',
                                                       'self': 'https://atlassian-python.atlassian.net/rest/api/2/user?accountId=557058%3Adc675182-d776-46f5-90fb-fe5637b71397',
                                                       'timeZone': 'Europe/London'},
                                      'updated': '2022-10-25T20:21:33.277+0100'},
                                     {'author': {'accountId': '557058:dc675182-d776-46f5-90fb-fe5637b71397',
                                                 'accountType': 'atlassian',
                                                 'active': True,
                                                 'avatarUrls': {'16x16': 'https://secure.gravatar.com/avatar/6f1cc3b97033de549f9d156d0eea4a34?d=https%3A%2F%2Favatar-management--avatars.us-west-2.prod.public.atl-paas.net%2Finitials%2FMB-4.png',
                                                                '24x24': 'https://secure.gravatar.com/avatar/6f1cc3b97033de549f9d156d0eea4a34?d=https%3A%2F%2Favatar-management--avatars.us-west-2.prod.public.atl-paas.net%2Finitials%2FMB-4.png',
                                                                '32x32': 'https://secure.gravatar.com/avatar/6f1cc3b97033de549f9d156d0eea4a34?d=https%3A%2F%2Favatar-management--avatars.us-west-2.prod.public.atl-paas.net%2Finitials%2FMB-4.png',
                                                                '48x48': 'https://secure.gravatar.com/avatar/6f1cc3b97033de549f9d156d0eea4a34?d=https%3A%2F%2Favatar-management--avatars.us-west-2.prod.public.atl-paas.net%2Finitials%2FMB-4.png'},
                                                 'displayName': 'Martyn '
                                                                'Bristow',
                                                 'emailAddress': 'martyn.bristow@gmail.com',
                                                 'self': 'https://atlassian-python.atlassian.net/rest/api/2/user?accountId=557058%3Adc675182-d776-46f5-90fb-fe5637b71397',
                                                 'timeZone': 'Europe/London'},
                                      'body': 'Second Comment',
                                      'created': '2022-10-25T20:21:40.840+0100',
                                      'id': '10001',
                                      'jsdPublic': True,
                                      'self': 'https://atlassian-python.atlassian.net/rest/api/2/issue/10000/comment/10001',
                                      'updateAuthor': {'accountId': '557058:dc675182-d776-46f5-90fb-fe5637b71397',
                                                       'accountType': 'atlassian',
                                                       'active': True,
                                                       'avatarUrls': {'16x16': 'https://secure.gravatar.com/avatar/6f1cc3b97033de549f9d156d0eea4a34?d=https%3A%2F%2Favatar-management--avatars.us-west-2.prod.public.atl-paas.net%2Finitials%2FMB-4.png',
                                                                      '24x24': 'https://secure.gravatar.com/avatar/6f1cc3b97033de549f9d156d0eea4a34?d=https%3A%2F%2Favatar-management--avatars.us-west-2.prod.public.atl-paas.net%2Finitials%2FMB-4.png',
                                                                      '32x32': 'https://secure.gravatar.com/avatar/6f1cc3b97033de549f9d156d0eea4a34?d=https%3A%2F%2Favatar-management--avatars.us-west-2.prod.public.atl-paas.net%2Finitials%2FMB-4.png',
                                                                      '48x48': 'https://secure.gravatar.com/avatar/6f1cc3b97033de549f9d156d0eea4a34?d=https%3A%2F%2Favatar-management--avatars.us-west-2.prod.public.atl-paas.net%2Finitials%2FMB-4.png'},
                                                       'displayName': 'Martyn '
                                                                      'Bristow',
                                                       'emailAddress': 'martyn.bristow@gmail.com',
                                                       'self': 'https://atlassian-python.atlassian.net/rest/api/2/user?accountId=557058%3Adc675182-d776-46f5-90fb-fe5637b71397',
                                                       'timeZone': 'Europe/London'},
                                      'updated': '2022-10-25T20:21:40.840+0100'}],
                        'maxResults': 2,
                        'self': 'https://atlassian-python.atlassian.net/rest/api/2/issue/10000/comment',
                        'startAt': 0,
                        'total': 2},
            'components': [],
            'created': '2022-10-25T20:00:56.017+0100',
            'creator': {'accountId': '557058:dc675182-d776-46f5-90fb-fe5637b71397',
                        'accountType': 'atlassian',
                        'active': True,
                        'avatarUrls': {'16x16': 'https://secure.gravatar.com/avatar/6f1cc3b97033de549f9d156d0eea4a34?d=https%3A%2F%2Favatar-management--avatars.us-west-2.prod.public.atl-paas.net%2Finitials%2FMB-4.png',
                                       '24x24': 'https://secure.gravatar.com/avatar/6f1cc3b97033de549f9d156d0eea4a34?d=https%3A%2F%2Favatar-management--avatars.us-west-2.prod.public.atl-paas.net%2Finitials%2FMB-4.png',
                                       '32x32': 'https://secure.gravatar.com/avatar/6f1cc3b97033de549f9d156d0eea4a34?d=https%3A%2F%2Favatar-management--avatars.us-west-2.prod.public.atl-paas.net%2Finitials%2FMB-4.png',
                                       '48x48': 'https://secure.gravatar.com/avatar/6f1cc3b97033de549f9d156d0eea4a34?d=https%3A%2F%2Favatar-management--avatars.us-west-2.prod.public.atl-paas.net%2Finitials%2FMB-4.png'},
                        'displayName': 'Martyn Bristow',
                        'emailAddress': 'martyn.bristow@gmail.com',
                        'self': 'https://atlassian-python.atlassian.net/rest/api/2/user?accountId=557058%3Adc675182-d776-46f5-90fb-fe5637b71397',
                        'timeZone': 'Europe/London'},
            'customfield_10001': None,
            'customfield_10002': None,
            'customfield_10003': None,
            'customfield_10004': None,
            'customfield_10005': None,
            'customfield_10006': None,
            'customfield_10007': None,
            'customfield_10008': None,
            'customfield_10009': None,
            'customfield_10010': None,
            'customfield_10011': 'Some Feature',
            'customfield_10012': {'id': '10016',
                                  'self': 'https://atlassian-python.atlassian.net/rest/api/2/customFieldOption/10016',
                                  'value': 'To Do'},
            'customfield_10013': 'ghx-label-12',
            'customfield_10014': None,
            'customfield_10015': None,
            'customfield_10016': None,
            'customfield_10017': 'grey',
            'customfield_10018': {'hasEpicLinkFieldDependency': False,
                                  'nonEditableReason': {'message': 'The Parent '
                                                                   'Link is '
                                                                   'only '
                                                                   'available '
                                                                   'to Jira '
                                                                   'Premium '
                                                                   'users.',
                                                        'reason': 'PLUGIN_LICENSE_ERROR'},
                                  'showField': False},
            'customfield_10019': '0|hzzzzz:',
            'customfield_10020': None,
            'customfield_10021': None,
            'customfield_10022': None,
            'customfield_10023': None,
            'customfield_10024': None,
            'customfield_10025': None,
            'customfield_10026': None,
            'customfield_10027': None,
            'customfield_10028': None,
            'customfield_10029': None,
            'customfield_10031': None,
            'description': None,
            'duedate': None,
            'environment': None,
            'fixVersions': [],
            'issuelinks': [],
            'issuerestriction': {'issuerestrictions': {},
                                 'shouldDisplay': False},
            'issuetype': {'description': 'A big user story that needs to be '
                                         'broken down. Created by Jira '
                                         'Software - do not edit or delete.',
                          'hierarchyLevel': 1,
                          'iconUrl': 'https://atlassian-python.atlassian.net/images/icons/issuetypes/epic.svg',
                          'id': '10000',
                          'name': 'Epic',
                          'self': 'https://atlassian-python.atlassian.net/rest/api/2/issuetype/10000',
                          'subtask': False},
            'labels': [],
            'lastViewed': '2022-10-25T21:54:10.591+0100',
            'priority': {'iconUrl': 'https://atlassian-python.atlassian.net/images/icons/priorities/medium.svg',
                         'id': '3',
                         'name': 'Medium',
                         'self': 'https://atlassian-python.atlassian.net/rest/api/2/priority/3'},
            'progress': {'progress': 0, 'total': 0},
            'project': {'avatarUrls': {'16x16': 'https://atlassian-python.atlassian.net/rest/api/2/universal_avatar/view/type/project/avatar/10409?size=xsmall',
                                       '24x24': 'https://atlassian-python.atlassian.net/rest/api/2/universal_avatar/view/type/project/avatar/10409?size=small',
                                       '32x32': 'https://atlassian-python.atlassian.net/rest/api/2/universal_avatar/view/type/project/avatar/10409?size=medium',
                                       '48x48': 'https://atlassian-python.atlassian.net/rest/api/2/universal_avatar/view/type/project/avatar/10409'},
                        'id': '10000',
                        'key': 'INT',
                        'name': 'Integration',
                        'projectTypeKey': 'software',
                        'self': 'https://atlassian-python.atlassian.net/rest/api/2/project/10000',
                        'simplified': False},
            'reporter': {'accountId': '557058:dc675182-d776-46f5-90fb-fe5637b71397',
                         'accountType': 'atlassian',
                         'active': True,
                         'avatarUrls': {'16x16': 'https://secure.gravatar.com/avatar/6f1cc3b97033de549f9d156d0eea4a34?d=https%3A%2F%2Favatar-management--avatars.us-west-2.prod.public.atl-paas.net%2Finitials%2FMB-4.png',
                                        '24x24': 'https://secure.gravatar.com/avatar/6f1cc3b97033de549f9d156d0eea4a34?d=https%3A%2F%2Favatar-management--avatars.us-west-2.prod.public.atl-paas.net%2Finitials%2FMB-4.png',
                                        '32x32': 'https://secure.gravatar.com/avatar/6f1cc3b97033de549f9d156d0eea4a34?d=https%3A%2F%2Favatar-management--avatars.us-west-2.prod.public.atl-paas.net%2Finitials%2FMB-4.png',
                                        '48x48': 'https://secure.gravatar.com/avatar/6f1cc3b97033de549f9d156d0eea4a34?d=https%3A%2F%2Favatar-management--avatars.us-west-2.prod.public.atl-paas.net%2Finitials%2FMB-4.png'},
                         'displayName': 'Martyn Bristow',
                         'emailAddress': 'martyn.bristow@gmail.com',
                         'self': 'https://atlassian-python.atlassian.net/rest/api/2/user?accountId=557058%3Adc675182-d776-46f5-90fb-fe5637b71397',
                         'timeZone': 'Europe/London'},
            'resolution': None,
            'resolutiondate': None,
            'security': None,
            'status': {'description': '',
                       'iconUrl': 'https://atlassian-python.atlassian.net/',
                       'id': '10000',
                       'name': 'To Do',
                       'self': 'https://atlassian-python.atlassian.net/rest/api/2/status/10000',
                       'statusCategory': {'colorName': 'blue-gray',
                                          'id': 2,
                                          'key': 'new',
                                          'name': 'To Do',
                                          'self': 'https://atlassian-python.atlassian.net/rest/api/2/statuscategory/2'}},
            'statuscategorychangedate': '2022-10-25T20:00:56.338+0100',
            'subtasks': [],
            'summary': 'Some Feature',
            'timeestimate': None,
            'timeoriginalestimate': None,
            'timespent': None,
            'timetracking': {},
            'updated': '2022-10-25T20:21:40.840+0100',
            'versions': [],
            'votes': {'hasVoted': False,
                      'self': 'https://atlassian-python.atlassian.net/rest/api/2/issue/INT-1/votes',
                      'votes': 0},
            'watches': {'isWatching': True,
                        'self': 'https://atlassian-python.atlassian.net/rest/api/2/issue/INT-1/watchers',
                        'watchCount': 1},
            'worklog': {'maxResults': 20,
                        'startAt': 0,
                        'total': 0,
                        'worklogs': []},
            'workratio': -1},
 'id': '10000',
 'key': 'INT-1',
 'self': 'https://atlassian-python.atlassian.net/rest/api/2/issue/10000'}

Using Print:

print(jira.issue('INT-1'))
{'expand': 'renderedFields,names,schema,operations,editmeta,changelog,versionedRepresentations,customfield_10010.requestTypePractice', 'id': '10000', 'self': 'https://atlassian-python.atlassian.net/rest/api/2/issue/10000', 'key': 'INT-1', 'fields': {'statuscategorychangedate': '2022-10-25T20:00:56.338+0100', 'issuetype': {'self': 'https://atlassian-python.atlassian.net/rest/api/2/issuetype/10000', 'id': '10000', 'description': 'A big user story that needs to be broken down. Created by Jira Software - do not edit or delete.', 'iconUrl': 'https://atlassian-python.atlassian.net/images/icons/issuetypes/epic.svg', 'name': 'Epic', 'subtask': False, 'hierarchyLevel': 1}, 'timespent': None, 'customfield_10031': None, 'project': {'self': 'https://atlassian-python.atlassian.net/rest/api/2/project/10000', 'id': '10000', 'key': 'INT', 'name': 'Integration', 'projectTypeKey': 'software', 'simplified': False, 'avatarUrls': {'48x48': 'https://atlassian-python.atlassian.net/rest/api/2/universal_avatar/view/type/project/avatar/10409', '24x24': 'https://atlassian-python.atlassian.net/rest/api/2/universal_avatar/view/type/project/avatar/10409?size=small', '16x16': 'https://atlassian-python.atlassian.net/rest/api/2/universal_avatar/view/type/project/avatar/10409?size=xsmall', '32x32': 'https://atlassian-python.atlassian.net/rest/api/2/universal_avatar/view/type/project/avatar/10409?size=medium'}}, 'fixVersions': [], 'aggregatetimespent': None, 'resolution': None, 'customfield_10027': None, 'customfield_10028': None, 'customfield_10029': None, 'resolutiondate': None, 'workratio': -1, 'lastViewed': '2022-10-25T21:54:10.591+0100', 'watches': {'self': 'https://atlassian-python.atlassian.net/rest/api/2/issue/INT-1/watchers', 'watchCount': 1, 'isWatching': True}, 'issuerestriction': {'issuerestrictions': {}, 'shouldDisplay': False}, 'created': '2022-10-25T20:00:56.017+0100', 'customfield_10020': None, 'customfield_10021': None, 'customfield_10022': None, 'priority': {'self': 'https://atlassian-python.atlassian.net/rest/api/2/priority/3', 'iconUrl': 'https://atlassian-python.atlassian.net/images/icons/priorities/medium.svg', 'name': 'Medium', 'id': '3'}, 'customfield_10023': None, 'customfield_10024': None, 'customfield_10025': None, 'customfield_10026': None, 'labels': [], 'customfield_10016': None, 'customfield_10017': 'grey', 'customfield_10018': {'hasEpicLinkFieldDependency': False, 'showField': False, 'nonEditableReason': {'reason': 'PLUGIN_LICENSE_ERROR', 'message': 'The Parent Link is only available to Jira Premium users.'}}, 'customfield_10019': '0|hzzzzz:', 'aggregatetimeoriginalestimate': None, 'timeestimate': None, 'versions': [], 'issuelinks': [], 'assignee': None, 'updated': '2022-10-25T20:21:40.840+0100', 'status': {'self': 'https://atlassian-python.atlassian.net/rest/api/2/status/10000', 'description': '', 'iconUrl': 'https://atlassian-python.atlassian.net/', 'name': 'To Do', 'id': '10000', 'statusCategory': {'self': 'https://atlassian-python.atlassian.net/rest/api/2/statuscategory/2', 'id': 2, 'key': 'new', 'colorName': 'blue-gray', 'name': 'To Do'}}, 'components': [], 'timeoriginalestimate': None, 'description': None, 'customfield_10010': None, 'customfield_10011': 'Some Feature', 'customfield_10012': {'self': 'https://atlassian-python.atlassian.net/rest/api/2/customFieldOption/10016', 'value': 'To Do', 'id': '10016'}, 'customfield_10013': 'ghx-label-12', 'customfield_10014': None, 'timetracking': {}, 'customfield_10015': None, 'customfield_10005': None, 'customfield_10006': None, 'customfield_10007': None, 'security': None, 'customfield_10008': None, 'aggregatetimeestimate': None, 'attachment': [], 'customfield_10009': None, 'summary': 'Some Feature', 'creator': {'self': 'https://atlassian-python.atlassian.net/rest/api/2/user?accountId=557058%3Adc675182-d776-46f5-90fb-fe5637b71397', 'accountId': '557058:dc675182-d776-46f5-90fb-fe5637b71397', 'emailAddress': 'martyn.bristow@gmail.com', 'avatarUrls': {'48x48': 'https://secure.gravatar.com/avatar/6f1cc3b97033de549f9d156d0eea4a34?d=https%3A%2F%2Favatar-management--avatars.us-west-2.prod.public.atl-paas.net%2Finitials%2FMB-4.png', '24x24': 'https://secure.gravatar.com/avatar/6f1cc3b97033de549f9d156d0eea4a34?d=https%3A%2F%2Favatar-management--avatars.us-west-2.prod.public.atl-paas.net%2Finitials%2FMB-4.png', '16x16': 'https://secure.gravatar.com/avatar/6f1cc3b97033de549f9d156d0eea4a34?d=https%3A%2F%2Favatar-management--avatars.us-west-2.prod.public.atl-paas.net%2Finitials%2FMB-4.png', '32x32': 'https://secure.gravatar.com/avatar/6f1cc3b97033de549f9d156d0eea4a34?d=https%3A%2F%2Favatar-management--avatars.us-west-2.prod.public.atl-paas.net%2Finitials%2FMB-4.png'}, 'displayName': 'Martyn Bristow', 'active': True, 'timeZone': 'Europe/London', 'accountType': 'atlassian'}, 'subtasks': [], 'reporter': {'self': 'https://atlassian-python.atlassian.net/rest/api/2/user?accountId=557058%3Adc675182-d776-46f5-90fb-fe5637b71397', 'accountId': '557058:dc675182-d776-46f5-90fb-fe5637b71397', 'emailAddress': 'martyn.bristow@gmail.com', 'avatarUrls': {'48x48': 'https://secure.gravatar.com/avatar/6f1cc3b97033de549f9d156d0eea4a34?d=https%3A%2F%2Favatar-management--avatars.us-west-2.prod.public.atl-paas.net%2Finitials%2FMB-4.png', '24x24': 'https://secure.gravatar.com/avatar/6f1cc3b97033de549f9d156d0eea4a34?d=https%3A%2F%2Favatar-management--avatars.us-west-2.prod.public.atl-paas.net%2Finitials%2FMB-4.png', '16x16': 'https://secure.gravatar.com/avatar/6f1cc3b97033de549f9d156d0eea4a34?d=https%3A%2F%2Favatar-management--avatars.us-west-2.prod.public.atl-paas.net%2Finitials%2FMB-4.png', '32x32': 'https://secure.gravatar.com/avatar/6f1cc3b97033de549f9d156d0eea4a34?d=https%3A%2F%2Favatar-management--avatars.us-west-2.prod.public.atl-paas.net%2Finitials%2FMB-4.png'}, 'displayName': 'Martyn Bristow', 'active': True, 'timeZone': 'Europe/London', 'accountType': 'atlassian'}, 'aggregateprogress': {'progress': 0, 'total': 0}, 'customfield_10001': None, 'customfield_10002': None, 'customfield_10003': None, 'customfield_10004': None, 'environment': None, 'duedate': None, 'progress': {'progress': 0, 'total': 0}, 'votes': {'self': 'https://atlassian-python.atlassian.net/rest/api/2/issue/INT-1/votes', 'votes': 0, 'hasVoted': False}, 'comment': {'comments': [{'self': 'https://atlassian-python.atlassian.net/rest/api/2/issue/10000/comment/10000', 'id': '10000', 'author': {'self': 'https://atlassian-python.atlassian.net/rest/api/2/user?accountId=557058%3Adc675182-d776-46f5-90fb-fe5637b71397', 'accountId': '557058:dc675182-d776-46f5-90fb-fe5637b71397', 'emailAddress': 'martyn.bristow@gmail.com', 'avatarUrls': {'48x48': 'https://secure.gravatar.com/avatar/6f1cc3b97033de549f9d156d0eea4a34?d=https%3A%2F%2Favatar-management--avatars.us-west-2.prod.public.atl-paas.net%2Finitials%2FMB-4.png', '24x24': 'https://secure.gravatar.com/avatar/6f1cc3b97033de549f9d156d0eea4a34?d=https%3A%2F%2Favatar-management--avatars.us-west-2.prod.public.atl-paas.net%2Finitials%2FMB-4.png', '16x16': 'https://secure.gravatar.com/avatar/6f1cc3b97033de549f9d156d0eea4a34?d=https%3A%2F%2Favatar-management--avatars.us-west-2.prod.public.atl-paas.net%2Finitials%2FMB-4.png', '32x32': 'https://secure.gravatar.com/avatar/6f1cc3b97033de549f9d156d0eea4a34?d=https%3A%2F%2Favatar-management--avatars.us-west-2.prod.public.atl-paas.net%2Finitials%2FMB-4.png'}, 'displayName': 'Martyn Bristow', 'active': True, 'timeZone': 'Europe/London', 'accountType': 'atlassian'}, 'body': 'Some Text comment', 'updateAuthor': {'self': 'https://atlassian-python.atlassian.net/rest/api/2/user?accountId=557058%3Adc675182-d776-46f5-90fb-fe5637b71397', 'accountId': '557058:dc675182-d776-46f5-90fb-fe5637b71397', 'emailAddress': 'martyn.bristow@gmail.com', 'avatarUrls': {'48x48': 'https://secure.gravatar.com/avatar/6f1cc3b97033de549f9d156d0eea4a34?d=https%3A%2F%2Favatar-management--avatars.us-west-2.prod.public.atl-paas.net%2Finitials%2FMB-4.png', '24x24': 'https://secure.gravatar.com/avatar/6f1cc3b97033de549f9d156d0eea4a34?d=https%3A%2F%2Favatar-management--avatars.us-west-2.prod.public.atl-paas.net%2Finitials%2FMB-4.png', '16x16': 'https://secure.gravatar.com/avatar/6f1cc3b97033de549f9d156d0eea4a34?d=https%3A%2F%2Favatar-management--avatars.us-west-2.prod.public.atl-paas.net%2Finitials%2FMB-4.png', '32x32': 'https://secure.gravatar.com/avatar/6f1cc3b97033de549f9d156d0eea4a34?d=https%3A%2F%2Favatar-management--avatars.us-west-2.prod.public.atl-paas.net%2Finitials%2FMB-4.png'}, 'displayName': 'Martyn Bristow', 'active': True, 'timeZone': 'Europe/London', 'accountType': 'atlassian'}, 'created': '2022-10-25T20:21:33.277+0100', 'updated': '2022-10-25T20:21:33.277+0100', 'jsdPublic': True}, {'self': 'https://atlassian-python.atlassian.net/rest/api/2/issue/10000/comment/10001', 'id': '10001', 'author': {'self': 'https://atlassian-python.atlassian.net/rest/api/2/user?accountId=557058%3Adc675182-d776-46f5-90fb-fe5637b71397', 'accountId': '557058:dc675182-d776-46f5-90fb-fe5637b71397', 'emailAddress': 'martyn.bristow@gmail.com', 'avatarUrls': {'48x48': 'https://secure.gravatar.com/avatar/6f1cc3b97033de549f9d156d0eea4a34?d=https%3A%2F%2Favatar-management--avatars.us-west-2.prod.public.atl-paas.net%2Finitials%2FMB-4.png', '24x24': 'https://secure.gravatar.com/avatar/6f1cc3b97033de549f9d156d0eea4a34?d=https%3A%2F%2Favatar-management--avatars.us-west-2.prod.public.atl-paas.net%2Finitials%2FMB-4.png', '16x16': 'https://secure.gravatar.com/avatar/6f1cc3b97033de549f9d156d0eea4a34?d=https%3A%2F%2Favatar-management--avatars.us-west-2.prod.public.atl-paas.net%2Finitials%2FMB-4.png', '32x32': 'https://secure.gravatar.com/avatar/6f1cc3b97033de549f9d156d0eea4a34?d=https%3A%2F%2Favatar-management--avatars.us-west-2.prod.public.atl-paas.net%2Finitials%2FMB-4.png'}, 'displayName': 'Martyn Bristow', 'active': True, 'timeZone': 'Europe/London', 'accountType': 'atlassian'}, 'body': 'Second Comment', 'updateAuthor': {'self': 'https://atlassian-python.atlassian.net/rest/api/2/user?accountId=557058%3Adc675182-d776-46f5-90fb-fe5637b71397', 'accountId': '557058:dc675182-d776-46f5-90fb-fe5637b71397', 'emailAddress': 'martyn.bristow@gmail.com', 'avatarUrls': {'48x48': 'https://secure.gravatar.com/avatar/6f1cc3b97033de549f9d156d0eea4a34?d=https%3A%2F%2Favatar-management--avatars.us-west-2.prod.public.atl-paas.net%2Finitials%2FMB-4.png', '24x24': 'https://secure.gravatar.com/avatar/6f1cc3b97033de549f9d156d0eea4a34?d=https%3A%2F%2Favatar-management--avatars.us-west-2.prod.public.atl-paas.net%2Finitials%2FMB-4.png', '16x16': 'https://secure.gravatar.com/avatar/6f1cc3b97033de549f9d156d0eea4a34?d=https%3A%2F%2Favatar-management--avatars.us-west-2.prod.public.atl-paas.net%2Finitials%2FMB-4.png', '32x32': 'https://secure.gravatar.com/avatar/6f1cc3b97033de549f9d156d0eea4a34?d=https%3A%2F%2Favatar-management--avatars.us-west-2.prod.public.atl-paas.net%2Finitials%2FMB-4.png'}, 'displayName': 'Martyn Bristow', 'active': True, 'timeZone': 'Europe/London', 'accountType': 'atlassian'}, 'created': '2022-10-25T20:21:40.840+0100', 'updated': '2022-10-25T20:21:40.840+0100', 'jsdPublic': True}], 'self': 'https://atlassian-python.atlassian.net/rest/api/2/issue/10000/comment', 'maxResults': 2, 'total': 2, 'startAt': 0}, 'worklog': {'startAt': 0, 'maxResults': 20, 'total': 0, 'worklogs': []}}}

Signed-off-by: Martyn Bristow martyn.bristow@gmail.com

…ect thing for this example (pretty-print-usage)

Signed-off-by: Martyn Bristow <martyn.bristow@gmail.com>
@codecov-commenter
Copy link

Codecov Report

Base: 36.09% // Head: 36.09% // No change to project coverage 👍

Coverage data is based on head (3f967f8) compared to base (676c323).
Patch has no changes to coverable lines.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1067   +/-   ##
=======================================
  Coverage   36.09%   36.09%           
=======================================
  Files          38       38           
  Lines        6971     6971           
  Branches     1009     1009           
=======================================
  Hits         2516     2516           
  Misses       4347     4347           
  Partials      108      108           

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@gonchik gonchik merged commit 736e34d into atlassian-api:master Oct 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants