Skip to content

Commit

Permalink
Removing References
Browse files Browse the repository at this point in the history
  • Loading branch information
gcarrarom committed May 30, 2022
1 parent 50c3d87 commit 2e8322e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion create/issue.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def issue(ctx, summary, scenario, acceptance, description, epic, label, user, pr

if sprint:
# Searching for the sprint
request = requests.get('https://jira.finastra.com/rest/greenhopper/1.0/sprint/picker?query=' + sprint, headers=config['headers'])
request = requests.get(f'{config["endpoint"]}/rest/greenhopper/1.0/sprint/picker?query=' + sprint, headers=config['headers'])
request.raise_for_status()
sprints_suggestions = request.json()['suggestions']
if len(sprints_suggestions) != 1:
Expand Down
2 changes: 1 addition & 1 deletion get/issues.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ def get_issues(output, user, include_closed, show_query, project,
for issue in issues_returned:
to_add = []
if all_projects: to_add.append(issue['fields']['project']['key'])
to_add.append(issue['key'] if not show_url else "https://jira.finastra.com/browse/" + issue['key'])
to_add.append(issue['key'] if not show_url else f"{config['endpoint']}browse/" + issue['key'])
to_add.append(issue['fields']['summary'])
to_add.append(issue['fields']['status']['statusCategory']['name'])
if issue['fields'].get('assignee'): to_add.append(issue['fields']['assignee']['displayName'] + "(" + issue['fields']['assignee']['name'] + ")")
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

setup(
name='fancy-jira',
version='0.0.7',
version='0.0.8',
author='Gui Martins',
url='https://fancywhale.ca/',
author_email='[email protected]',
Expand Down

0 comments on commit 2e8322e

Please sign in to comment.