Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't fail Jira resolve/Done transition if it already happened (OSOE-489) #130

Open
Piedone opened this issue Dec 2, 2022 · 2 comments
Open
Labels
bug Something isn't working

Comments

@Piedone
Copy link
Member

Piedone commented Dec 2, 2022

When using post-pull-request-checks-automation, if you have multiple pull requests for a Jira issue, the one completing first will transition it, making the other one fail with something like:

Please specify transition name or transition id.
Possible transitions:
{ id: 201, name: Reopen } transitions issue to 'To Do' status.
Failed to transition issue.

See e.g. here. The step should not fail in such cases, and just do nothing if the issue is already in the target state.

Jira issue

@Piedone Piedone added the bug Something isn't working label Dec 2, 2022
@github-actions github-actions bot changed the title Don't fail Jira resolve/Done transition if it already happened Don't fail Jira resolve/Done transition if it already happened (OSOE-489) Dec 2, 2022
@Piedone
Copy link
Member Author

Piedone commented Dec 16, 2023

@Piedone
Copy link
Member Author

Piedone commented Dec 16, 2023

Will do as part of #277.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
1 participant