-
-
Notifications
You must be signed in to change notification settings - Fork 74
PR button not appearing for a project in a Bitbucket host #154
Comments
There are some hints on reporting issues in the readme. What exactly is the config that you expect to give this result? |
Your filter regexp is empty. The notification will only trigger if the filter regexp matches the filter string. Perhaps you want to remove what you have in filter string field. |
Does the button appear only when regexp is correct? user is not able to see button itself |
Yes. Only buttons that actually trigger any notification is shown. So if the regexp is not matching the text, then the button will not be shown. Unless some other notification is triggered by the button, then it should be shown. |
What happens if we remove the filter string and regexp completely? |
Remove it completely to trigger for all projects. If your project key is THUN then yes it shoukd work. |
The project key was THUN and it was not working. Also i have removed filter string and regexp and tried.Still it is not working |
Can you see the buttons in the rest api? Documented in the wiki. Like |
Also, what is the version of Bitbucket Server that you use? |
Atlassian Bitbucket v4.8.3 |
Actually, I just saw that you are configuring it on repository level. So the buttons will only be visible in that repository and there is no need to use the filter functionality to filter the project. |
I have tried the same configuring at global settings and also checked by using ${PULL_REQUEST_FROM_REPO_ID} parameter. Still it not visible |
Can you see the buttons in the rest api? Documented in the readme. Like /projectKey/{projectKey}/repositorySlug/{repositorySlug} does it give you the buttons? |
Yes.. it is.. PFA. Project key is "THUN" |
Does Chrome Developer Tools show some error in console log when visiting the pull request page? Are you sure where to look for the buttons in the gui? |
As i mentioned earlier I could able to see the button as i have admin access to host. Only the users unable to see the button. I have tried login as user and still i don't see the button. It happens with only one project. It is working for other projects |
Does Chrome Developer Tools show some error in console log when visiting the pull request page? |
batch.js?locale=en-US&nps-not-opted-out=true&supportedApplication=true:8485 GET https://bitbucket.test.com/bitbucket/rest/prnfb-admin/1.0/settings/buttons/repository/4382/pullrequest/78 500 (Internal Server Error) |
Ok thats it. You have an exception in the application server running Bitbucket Server. What does it say? |
PFA |
I made a possible fix for this. You may try 2.40. It might be that you have configured a button, then removed/renamed a repository/project. That case is now handled by ignoring buttons configured for that old repo/project. |
Yes.. The project has been renamed once in the past it seems. It is working fine now. Thanks for your help |
Hi,
PR button not appearing for a project in a Bitbucket host. Users whoever has access to the project not able to see PR button except system admin. It happens with only one project and its working fine with other projects in the same host.
I have deleted and created again and asked project admin to create it. However issue not fixed
Thanks
Bakyaraj M
The text was updated successfully, but these errors were encountered: