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"
Hi!
you need to fix on filter level
issues_in_proj = jira.search_issues('project=proj')
to
issues_in_proj = jira.search_issues('project=proj and component="Name"')
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.