{"action":"created","issue":{"url":"https://api.github.com/repos/KyleLNicholls/parameterized-builds/issues/159","repository_url":"https://api.github.com/repos/KyleLNicholls/parameterized-builds","labels_url":"https://api.github.com/repos/KyleLNicholls/parameterized-builds/issues/159/labels{/name}","comments_url":"https://api.github.com/repos/KyleLNicholls/parameterized-builds/issues/159/comments","events_url":"https://api.github.com/repos/KyleLNicholls/parameterized-builds/issues/159/events","html_url":"https://github.com/KyleLNicholls/parameterized-builds/issues/159","id":370133971,"node_id":"MDU6SXNzdWUzNzAxMzM5NzE=","number":159,"title":"PR Destination Filter bug","user":{"login":"KafkaPalazzo","id":44134583,"node_id":"MDQ6VXNlcjQ0MTM0NTgz","avatar_url":"https://avatars2.githubusercontent.com/u/44134583?v=4","gravatar_id":"","url":"https://api.github.com/users/KafkaPalazzo","html_url":"https://github.com/KafkaPalazzo","followers_url":"https://api.github.com/users/KafkaPalazzo/followers","following_url":"https://api.github.com/users/KafkaPalazzo/following{/other_user}","gists_url":"https://api.github.com/users/KafkaPalazzo/gists{/gist_id}","starred_url":"https://api.github.com/users/KafkaPalazzo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KafkaPalazzo/subscriptions","organizations_url":"https://api.github.com/users/KafkaPalazzo/orgs","repos_url":"https://api.github.com/users/KafkaPalazzo/repos","events_url":"https://api.github.com/users/KafkaPalazzo/events{/privacy}","received_events_url":"https://api.github.com/users/KafkaPalazzo/received_events","type":"User","site_admin":false},"labels":[{"id":191594480,"node_id":"MDU6TGFiZWwxOTE1OTQ0ODA=","url":"https://api.github.com/repos/KyleLNicholls/parameterized-builds/labels/bug","name":"bug","color":"fc2929","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-10-15T12:13:07Z","updated_at":"2018-10-21T14:47:54Z","closed_at":"2018-10-21T14:47:54Z","author_association":"NONE","body":"- _Parameterized Builds for Jenkins_ plugin version - Parameterized Builds for Jenkins version 3.1.2\r\n- _Bitbucket_ version - Atlassian Bitbucket v5.2.2\r\n- _Jenkins_ Version - Jenkins ver. 2.121.3\r\n\r\nI encountered the issue after I set 3 builds with the triggers MANUAL, PR OPENED, PR MERGED.\r\nTwo of the builds used the same PR Destination Filter while the third build used a different one.\r\nThe order of the builds in the builds list affected which builds were triggered and when a PR was created or updated.\r\n\r\nSee the attached file for all the test cases I ran so far.\r\n[pr_dst_filter_cases.txt](https://github.com/KyleLNicholls/parameterized-builds/files/2478645/pr_dst_filter_cases.txt)\r\n\r\nThnx,\r\nTom.\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/KyleLNicholls/parameterized-builds/issues/comments/431675002","html_url":"https://github.com/KyleLNicholls/parameterized-builds/issues/159#issuecomment-431675002","issue_url":"https://api.github.com/repos/KyleLNicholls/parameterized-builds/issues/159","id":431675002,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMTY3NTAwMg==","user":{"login":"a-hacker","id":3665996,"node_id":"MDQ6VXNlcjM2NjU5OTY=","avatar_url":"https://avatars0.githubusercontent.com/u/3665996?v=4","gravatar_id":"","url":"https://api.github.com/users/a-hacker","html_url":"https://github.com/a-hacker","followers_url":"https://api.github.com/users/a-hacker/followers","following_url":"https://api.github.com/users/a-hacker/following{/other_user}","gists_url":"https://api.github.com/users/a-hacker/gists{/gist_id}","starred_url":"https://api.github.com/users/a-hacker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/a-hacker/subscriptions","organizations_url":"https://api.github.com/users/a-hacker/orgs","repos_url":"https://api.github.com/users/a-hacker/repos","events_url":"https://api.github.com/users/a-hacker/events{/privacy}","received_events_url":"https://api.github.com/users/a-hacker/received_events","type":"User","site_admin":false},"created_at":"2018-10-21T14:47:54Z","updated_at":"2018-10-21T14:47:54Z","author_association":"COLLABORATOR","body":"Hey @KafkaPalazzo, I have to apologize again. I forgot that Bitbucket doesn't allow you to downgrade an already installed plugin so I had been testing against version 3.2.6 the whole time. I just uninstalled the plugin from my bitbucket test instance, installed 3.1.2 and I was able to replicate your issue. \r\n\r\nI don't know which version fixed you original issue but I'd recommend updating to the latest version (3.2.6) to resolve your issue anyways.\r\n\r\nAs for the new issue with the PR Destination Filters being mixed up (Case A), I still see that being an issue in the latest version. However, I already did a re-write of that code which has yet to be released. I need to do a few more tests but I believe that Case A is already fixed on master. If that is the case, I'll create a new release once I'm confident there are no issues to fix this bug."}}
{"actor":{"display_login":"a-hacker"}}