wip
This commit is contained in:
parent
e7e286fbf3
commit
0ce3932e9c
|
@ -422,10 +422,12 @@ def show(client, issue):
|
|||
print(f" parent: {parent.key} on {parent.fields.status} as {parent.fields.issuetype}")
|
||||
summary = indent('\n'.join(wrap(parent.fields.summary, width=72)), prefix=' ' * 4)
|
||||
print(f"{summary}")
|
||||
# TODO handle customfields in a good manner, e.g. let the user enable
|
||||
# showing them by a custom name or their own. use cache for that.
|
||||
print(indent(dedent(f"""\
|
||||
created: {issue.fields.created}
|
||||
components: {', '.join(issue.fields.components)}
|
||||
flagged: {getattr(issue.fields, 'flagged', False)}
|
||||
components: {', '.join(c.name for c in issue.fields.components)}
|
||||
flagged: {bool(getattr(issue.fields, 'customfield_13216', False))}
|
||||
labels: {', '.join(issue.fields.labels)}
|
||||
priority: {issue.fields.priority}
|
||||
reporter: {issue.fields.reporter}"""),
|
||||
|
|
Loading…
Reference in New Issue