Skip to content

Commit 98a0052

Browse files
Gonchik TsymzhitovGonchik Tsymzhitov
authored andcommitted
Polish
1 parent 5051d44 commit 98a0052

File tree

5 files changed

+11
-8
lines changed

5 files changed

+11
-8
lines changed

atlassian/VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.12.15
1+
1.12.16

atlassian/jira.py

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -168,10 +168,13 @@ def user_find_by_user_string(self, username, start=0, limit=50, include_inactive
168168
:return:
169169
"""
170170
url = 'rest/api/2/user/search'
171-
url += "?username={username}&includeActive={include_active}&includeInactive={include_inactive}&startAt={start}&maxResults={limit}".format(
172-
username=username, include_inactive=include_inactive_users, include_active=include_active_users,
173-
start=start, limit=limit)
174-
return self.get(url)
171+
params = {'username': username,
172+
'includeActive': include_active_users,
173+
'includeInactive': include_inactive_users,
174+
'startAt': start,
175+
'maxResults': limit
176+
}
177+
return self.get(url, params=params)
175178

176179
def projects(self, included_archived=None):
177180
"""Returns all projects which are visible for the currently logged in user.

examples/jira-tempo-account-customers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@
1010
print("Count of Customers " + str(len(results)))
1111

1212
for result in results:
13-
print(result.get('key'), ' ', result.get('name'))
13+
print(result.get('key'), ' ', result.get('name'))

examples/jira-tempo-accounts.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@
88
accounts = jira.tempo_account_get_accounts_by_jira_project(project_id="10140")
99
for account in accounts:
1010
print(account)
11-
jira.tempo_account_associate_with_jira_project(account['id'], project_id='10210')
11+
jira.tempo_account_associate_with_jira_project(account['id'], project_id='10210')

examples/jira-update-project.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@
1212
}
1313

1414
result = jira.update_project('RD', data)
15-
print(result)
15+
print(result)

0 commit comments

Comments
 (0)