code: def transitions(accountable):
      
      transitions = accountable.issue_transitions().get('transitions')
      headers = ['id', 'name']
      if transitions:
          rows = [[v for k, v in sorted(t.items()) if k in headers]
                  for t in transitions]
          rows.insert(0, headers)
          print_table(SingleTable(rows))
      else:
          click.secho(
              'No transitions found for {}'.format(accountable.issue_key),
              fg='red'
          )
docs: List all possible transitions for a given issue.