Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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 +1 @@
1.12.15
1.12.16
11 changes: 7 additions & 4 deletions atlassian/jira.py
Original file line number Diff line number Diff line change
Expand Up @@ -168,10 +168,13 @@ def user_find_by_user_string(self, username, start=0, limit=50, include_inactive
:return:
"""
url = 'rest/api/2/user/search'
url += "?username={username}&includeActive={include_active}&includeInactive={include_inactive}&startAt={start}&maxResults={limit}".format(
username=username, include_inactive=include_inactive_users, include_active=include_active_users,
start=start, limit=limit)
return self.get(url)
params = {'username': username,
'includeActive': include_active_users,
'includeInactive': include_inactive_users,
'startAt': start,
'maxResults': limit
}
return self.get(url, params=params)

def projects(self, included_archived=None):
"""Returns all projects which are visible for the currently logged in user.
Expand Down
2 changes: 1 addition & 1 deletion examples/jira-tempo-account-customers.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@
print("Count of Customers " + str(len(results)))

for result in results:
print(result.get('key'), ' ', result.get('name'))
print(result.get('key'), ' ', result.get('name'))
2 changes: 1 addition & 1 deletion examples/jira-tempo-accounts.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@
accounts = jira.tempo_account_get_accounts_by_jira_project(project_id="10140")
for account in accounts:
print(account)
jira.tempo_account_associate_with_jira_project(account['id'], project_id='10210')
jira.tempo_account_associate_with_jira_project(account['id'], project_id='10210')
2 changes: 1 addition & 1 deletion examples/jira-update-project.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@
}

result = jira.update_project('RD', data)
print(result)
print(result)