Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add minimal JiraJob code #15

Merged
merged 3 commits into from
Mar 21, 2024
Merged
Changes from 1 commit
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
Prev Previous commit
Please linters
kkaarreell committed Mar 15, 2024
commit d79df7b8d1cec466a602b0f9444856a5fb0f8d0a
7 changes: 4 additions & 3 deletions newa/cli.py
Original file line number Diff line number Diff line change
@@ -18,8 +18,8 @@
Issue,
JiraJob,
Recipe,
render_template
)
render_template,
)

logging.basicConfig(
format='%(asctime)s %(message)s',
@@ -190,7 +190,8 @@ def cmd_jira(ctx: CLIContext) -> None:

if action.job_recipe:
print(
f'* Would kick automated job for issue {action.type.name} based on recipe from {action.job_recipe}:')
f'* Would kick automated job for issue {action.type.name}'
f'based on recipe from {action.job_recipe}:')
print()

jira_job = JiraJob(event=erratum_job.event,