We had a database crash a few days ago leaving some of our stash tables corrupt. Now when we try to view pull requests in stash the following error:
Caused by: java.lang.IllegalStateException: Pull request author could not be found in its participants at com.atlassian.stash.internal.pull.InternalPullRequest.getAuthor(InternalPullRequest.java:201) ~[InternalPullRequest.class:na] at com.atlassian.stash.rest.data.RestPullRequest.<init>(RestPullRequest.java:61) ~[stash-rest-common-3.3.0.jar:na]
Emptying the sta_pull_requests table would solve it, but we'd rather not lose our old PR data. If we lost the original author/creator of each PR that wouldn't be a problem though.
The sta_pr_participant table looks as if maps user IDs to PRs that they are participating in, but where would I find the author of each PR ?
Did you catch the news at Team ‘25? With Loom, Confluence, Atlassian Intelligence, & even Jira 👀, you won’t have to worry about taking meeting notes again… unless you want to. Join us to explore the beta & discover a new way to boost meeting productivity.
Register today!Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.