def issue_tags(issue):
 labels = issue.get('labels', [])
 return [label['name'].replace('tag: ', '') for label in labels if label['name'].startswith('tag: ')]

def issue_tags ( issue ) : labels = issue . get ( 'labels' , [ ] ) return [ label [ 'name' ] . replace ( 'tag: ' , '' ) for label in labels if label [ 'name' ] . startswith ( 'tag: ' ) ]
returns list of tags for this issue .