Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
bb4e981
Merge remote-tracking branch 'upstream/master'
Sep 26, 2019
3cc00fd
Merge remote-tracking branch 'upstream/master'
Sep 26, 2019
12b19b5
A new Tempo method
Oct 3, 2019
8193283
Tempo: add team member
Oct 3, 2019
8ee5f04
Merge branch 'master' of https://github.com/gonchik/atlassian-python-api
Oct 3, 2019
16beefa
Bugfix
Oct 4, 2019
086c53d
Merge remote-tracking branch 'upstream/master'
Oct 4, 2019
911fac0
Merge conflicts
Oct 4, 2019
fd0cf22
Set workload method
Oct 23, 2019
f190a27
Bump version
Oct 23, 2019
0add3ae
Sync with upstream
Oct 27, 2019
c530690
Merge remote-tracking branch 'upstream/master'
Oct 28, 2019
359c1ee
Organize the imports
Oct 28, 2019
0e4e922
Polish
Oct 28, 2019
1fbfcc9
Bump version
Nov 13, 2019
91bf302
Add LFS info fetcher
Nov 13, 2019
141ff2a
Merge conflict
Nov 13, 2019
fa1a454
Git fix conflict
Nov 19, 2019
047486c
Merge remote-tracking branch 'upstream/master'
Nov 22, 2019
0aacfc1
Typo
Nov 23, 2019
05eea34
Merge branch 'master' of https://github.com/gonchik/atlassian-python-api
Nov 23, 2019
ce26890
Consolidate the Jira8 module into main
Nov 23, 2019
61b8fba
Add reindex methods
Nov 23, 2019
cf3e80e
Project related methods
Nov 23, 2019
a950ffb
Add update setup.py
Nov 23, 2019
952ca9e
Rename variables and polish to be in PEP-8
Nov 23, 2019
7f523cb
Polish
Nov 23, 2019
f83adac
Add Jira issue regex matcher
Nov 23, 2019
9f1ef7c
Add static method
Nov 23, 2019
96b0894
Add static method
Nov 23, 2019
2dbdffd
[Jira] fix upload attachment methods
Nov 24, 2019
df1f8b0
Hotfix for jira8 class
Nov 25, 2019
b386821
Hotfix for jira8 class
Nov 25, 2019
cd3a649
Merge branch 'master' into master
gonchik Nov 25, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion atlassian/VERSION
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
1.14.4
1.14.4.1

5 changes: 1 addition & 4 deletions atlassian/jira.py
Original file line number Diff line number Diff line change
Expand Up @@ -1078,7 +1078,6 @@ def get_attachment(self, attachment_id):
:return:
"""
url = 'rest/api/2/attachment/{}'.format(attachment_id)

return self.get(url)

def remove_attachment(self, attachment_id):
Expand All @@ -1088,7 +1087,6 @@ def remove_attachment(self, attachment_id):
:return: if success, return None
"""
url = 'rest/api/2/attachment/{}'.format(attachment_id)

return self.delete(url)

def get_attachment_meta(self):
Expand All @@ -1098,7 +1096,6 @@ def get_attachment_meta(self):
:return:
"""
url = 'rest/api/2/attachment/meta'

return self.get(url)

def add_attachment(self, issue_key, filename):
Expand All @@ -1112,7 +1109,7 @@ def add_attachment(self, issue_key, filename):
url = 'rest/api/2/issue/{}/attachments'.format(issue_key)
with open(filename, 'rb') as attachment:
files = {'file': attachment}
return self.post(url, headers=headers, files=files)
return self.post(url, headers=headers, files=files)

def get_issue_remotelinks(self, issue_key, global_id=None, internal_id=None):
"""
Expand Down
2 changes: 1 addition & 1 deletion atlassian/jira8.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ class Jira8(Jira):
# methods migrated into main module
@staticmethod
def print_module_name():
print(__name__)
print("The class {} merged into Jira Class".format(__name__))