I'm trying to update lira issue status if only matches the component name, the code doesn't throw any error by not updating status
issues_in_proj = jira.search_issues('project=proj')
components = jira.project_components('proj')
for issue in issues_in_proj:
if ("Progress" in issue.fields.status.name and components == "name"):
jira.transition_issue(issue, 'transition id')
print(' executing script')
return "successful"