...
Expand |
---|
title | Remove vote from issue |
---|
|
DELETE /rest/api/2/issue/{issueIdOrKey}/votes Remove your vote from an issue. RequestPath parametersissueIdOrKey Required string Issue id or key Example Code Block |
---|
| # This code sample uses the 'requests' library:
# http://docs.python-requests.org
import requests
from requests.auth import HTTPBasicAuth
url = "http://{baseurl}/rest/api/2/issue/{issueIdOrKey}/votes"
auth = HTTPBasicAuth("email@example.com", "<api_token>")
response = requests.request(
"DELETE",
url,
auth=auth
)
print(response.text) |
|
Expand |
---|
title | Get worklogs for an issue |
---|
|
ET /rest/api/2/issue/{issueIdOrKey}/worklog Returns all work logs for an issue. Work logs won't be returned if the Log work field is hidden for the project. RequestPath parametersissueIdOrKey Required string Issue id or key Example Code Block |
---|
| # This code sample uses the 'requests' library:
# http://docs.python-requests.org
import requests
from requests.auth import HTTPBasicAuth
import json
url = "http://{baseurl}/rest/api/2/issue/{issueIdOrKey}/worklog"
auth = HTTPBasicAuth("email@example.com", "<api_token>")
headers = {
"Accept": "application/json"
}
response = requests.request(
"GET",
url,
headers=headers,
auth=auth
)
print(json.dumps(json.loads(response.text), sort_keys=True, indent=4, separators=(",", ": "))) |
|
...
Jira architecture
Atlassian's architecture documentation will help you understand Jira fundamentals and get a high-level perspective of Jira's dependencies.
...