-
Notifications
You must be signed in to change notification settings - Fork 193
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
Pull Request descriptions being edited by Jira #1820
Comments
Hi @nicholasspencer , we did recently push a fix for correcting the links to the Jira issue tickets in GitHub's PR. That is probably whats causing this behaviour. |
@nicholasspencer |
Looks like that did the trick. Thank you very much! |
Seems like this is happening again. |
Happening for us as well |
And again... |
Is there any way to shut off this automation? It's causing a lot of issues with our CI |
#happeningagain |
And again. Please add an integration test to prevent this behavior or add a flag or something to the GitHub app to turn this on and off... |
Same issue here… very annoying to not even have options to disable this. As we already have set up Autolink References |
I'm having the same issue, in even weirder way.
The pull request is getting created fine. But immediately afterwards, the jira (bot) is editing the PR body, to add some hidden code to it. Body looks same before and after the editing done by jira (bot) -
But when I check the source code of body after jira (bot)'s editing, looks like it adds a second line to it -
I dislike this behavior, because we have CI jobs configured in GitHub that get triggered when a PR is edited. So, this behavior of the jira (bot) is unnecessarily triggering those CI jobs. I need to stop this. Please let me know how. |
Can confirm it's happening with issue and PR descriptions, also related: #2046 |
We also experience this issue. We use renovate to update dependencies. It creates pull requests that get edited by github-for-jira. Renovate does not like the edits and reverts all the changes with another edit. Then github-fot-jira edits again and we end up with hundreds of edits. |
Hey, folks. We're experiencing this too. In our case we run some jobs on PRs being opened, edited, synchronized. So when jira bot edits the PR it triggers redundant job execution, which in turn costs us money/resources. |
We're getting this as well. Would really like there to be a Jira -> GitHub "read only" mode that could be set at an instance/project level. Love that Jira can associate pull requests with Jira tickets/etc. - but in no way want Jira messing with our GitHub state. Hate this. |
I think this is really widespread just a few folks noticing it since there is no clear indication other than last edit by jira bot. Would really like to know what is happening here. |
It seems like there was a recent change that was introduced which is constantly editing our pull request descriptions. It looks like something is pattern matching the ticket format and then appending a (poorly formatted imo) bit of text at the end.
A few issues with this. We squash our PRs and merge in the description of the PR as the commit message. We also use git trailers which are expected to be at the end of the commit. The bot appending it's own information at the end messes with this.
Another thing... it doesn't even work correctly. We have a PR template which contains docblocks explaining parts of the template. This is the explanation on using git trailers along with the ticket for the PR that I added, and the line that the bot injected.
As you can see the
[MW-1234]: http://resideo...
bit at the end was injected because it picked up the fake/example ticket number fromticket: MW-1234
which is in a docblock. The real ticket wasMW-6010
which was in the proper place for the trailer until the Jira integration comes stomping through.Is there anyway to turn this behavior off?
The text was updated successfully, but these errors were encountered: