issues
Issue
Bases: BitbucketCloudBase
Source code in server/vendor/atlassian/bitbucket/cloud/repositories/issues.py
70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 |
|
content
property
The issue content
created_on
property
The issue creation time
edited_on
property
The issue edit time
id
property
The issue id
kind
property
writable
The issue kind
priority
property
writable
The issue priority
state
property
writable
The issue state
title
property
writable
The issue title
updated_on
property
The issue last update time
votes
property
The issue votes
delete()
Delete the issue.
:return: The response on success
API docs: https://developer.atlassian.com/bitbucket/api/2/reference/resource/repositories/%7Bworkspace%7D/%7Brepo_slug%7D/issues/%7Bissue_id%7D#delete
Source code in server/vendor/atlassian/bitbucket/cloud/repositories/issues.py
86 87 88 89 90 91 92 93 94 |
|
update(**kwargs)
Update the issue properties. Fields not present in the request body are ignored.
:param kwargs: dict: The data to update.
:return: The updated issue
API docs: https://developer.atlassian.com/bitbucket/api/2/reference/resource/repositories/%7Bworkspace%7D/%7Brepo_slug%7D/issues/%7Bissue_id%7D#put
Source code in server/vendor/atlassian/bitbucket/cloud/repositories/issues.py
74 75 76 77 78 79 80 81 82 83 84 |
|
Issues
Bases: BitbucketCloudBase
Source code in server/vendor/atlassian/bitbucket/cloud/repositories/issues.py
6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 |
|
create(title, description, kind, priority)
Create a new issue in the issue tracker of the given repository.
:param title: string: The title of the issue :param description: string: The description of the issue :param kind: string: One of: bug, enhancement, proposal, task :param priority: string: One of: trivial, minor, major, critical, blocker
:return: The created Issue object
API docs: https://developer.atlassian.com/bitbucket/api/2/reference/resource/repositories/%7Bworkspace%7D/%7Brepo_slug%7D/issues/%7Bissue_id%7D#put
Source code in server/vendor/atlassian/bitbucket/cloud/repositories/issues.py
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 |
|
each(q=None, sort=None)
Returns the list of issues in this repository.
:param q: string: Query string to narrow down the response. See https://developer.atlassian.com/bitbucket/api/2/reference/meta/filtering for details. :param sort: string: Name of a response property to sort results. See https://developer.atlassian.com/bitbucket/api/2/reference/meta/filtering for details.
:return: A generator for the Issue objects
API docs: https://developer.atlassian.com/bitbucket/api/2/reference/resource/repositories/%7Bworkspace%7D/%7Brepo_slug%7D/issues#get
Source code in server/vendor/atlassian/bitbucket/cloud/repositories/issues.py
34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 |
|
get(id)
Returns the issue with the ID in this repository.
:param id: string: The requested issue ID
:return: The requested Issue objects
API docs: https://developer.atlassian.com/bitbucket/api/2/reference/resource/repositories/%7Bworkspace%7D/%7Brepo_slug%7D/issues/%7Bissue_id%7D#get
Source code in server/vendor/atlassian/bitbucket/cloud/repositories/issues.py
57 58 59 60 61 62 63 64 65 66 67 |
|