code: def issue_line(issue):
      
      template = '#{number} {tags}{title}'
      tags = issue_tags(issue)
      params = {
          'title': issue['title'].capitalize().rstrip('.'),
          'number': issue['number'],
          'tags': ' '.join('[{}]'.format(tag) for tag in tags) + (' ' if tags else '')
      }
      return template.format(**params)
docs: Returns log line for given issue.