youngmon/atlassian-qna huggingface dataset:
Feature Request: Choose Branch for the "Maximum number of commits behind" Merge Check
Asked by Matt Pedersen:

Because of our branching strategy, the "Maximum number of commits behind destination branch" merge check does not work for us. We have a branching strategy that puts us square in the BCLOUD-21964 bug. The suggestions from Atlassian have been to make sure that the source and destination branches are not behind our main branch.

If this merge check could be changed to allow us to specify the main branch instead of the destination branch, that could help us out a lot as it would force our developers to keep their feature branches up to date with the main branch.


Answers:
author: Theodora Boudale
body: Hi Matt,

Thank you for reaching out.

I created a feature request in our issue tracker:

* <https://jira.atlassian.com/browse/BCLOUD-23242>

I suggest adding your vote to that feature request (by selecting the **Vote for this issue** link) as the number of votes helps the development team and product managers better understand the demand for features. You are more than welcome to leave feedback, and you can also add yourself as a watcher (by selecting the **Start watching this issue** link) if you'd like to get notified via email on updates.

Implementation of features is done as per our policy [here](https://confluence.atlassian.com/support/implementation-of-new-features-policy-201294576.html) and any updates will be posted in the feature request.  

In the meantime, as already mentioned by Saxea _Flowie_, their add-on currently supports this.

Another option would be to use Forge in order to build your own app that implements a custom merge check:

* <https://developer.atlassian.com/platform/forge/manifest-reference/modules/bitbucket-merge-check/>

Kind regards,  
Theodora


author: Saxea _Flowie_
body: Hi [@Matt Pedersen](/t5/user/viewprofilepage/user-id/998190),

[Flowie](https://flowie.app/), our Bitbucket Cloud addon, already supports this. You can define checks using conditions, which includes the source branch.

You can give it a try, and if you need assistance configuring it, you can contact our support.


Tags: bitbucket-cloud

cloud
Adding text to task name/displayy
Asked by bartlomiej_jochym:

Hi,

is it possible to add "2.2.0" from the "Wersja do poprawienia" field to the display name of task next to story points or issue status?

![Screenshot 2024-05-09 at 12.02.14.png](https://community.atlassian.com/t5/image/serverpage/image-id/322854iB0676DDC69AFE98C/image-size/large?v=v2&px=999 "Screenshot 2024-05-09 at 12.02.14.png")![Screenshot 2024-05-09 at 12.00.15.png](https://community.atlassian.com/t5/image/serverpage/image-id/322851iA668B78DEF6E2A4A/image-size/large?v=v2&px=999 "Screenshot 2024-05-09 at 12.00.15.png")


Answers:
author: Dexter de Vera
body: Hi [@bartlomiej_jochym](/t5/user/viewprofilepage/user-id/5364311) ,

No, issue view arrange field per row. You cant put the multiple fields with same row (beside).


Tags: bitbucket-cloud

cloud

display

jira-software

layout
Identify commits introduced by a pull request into the master branch via REST API
Asked by cosscat:

Hi,

I need to identify the commits introduced by a pull request into the master branch (or any destination branch if possible)

The scenario is this:

1) someone opens a pull request that has let's say 3 commits in it.

2) the destination branch is master so in the meanwhile there are other people commiting there

3) the pull request is approved and is merged into master branch

4) because of fast fw mechanism, the hashes of commits that get to master is not the same as those in the initial pull request

Question:

How can i identify via **Bitbucket Server REST API 2.0** what commits (hashes) were introduced by a pull request? (or if not possible via rest api, an other mechanism?)

Thank you :),


Answers:
author: Mark C
body: Hi [@cosscat](/t5/user/viewprofilepage/user-id/5492690),

Welcome to the community.

You can check out this REST API 2.0 endpoint and see if it works for your workflow: [List commits on a pull request](https://developer.atlassian.com/cloud/bitbucket/rest/api-group-pullrequests/#api-repositories-workspace-repo-slug-pullrequests-pull-request-id-commits-get)

Regards,  
Mark C


Tags: cloud
Can't move repositories between projects
Asked by gudvinr:

When I select private repository in one of my projects and choose different project in repository settings, it doesn't change repo project and throws an error.

Error itself is useless:![2024-05-08 11.55.06.png](/t5/image/serverpage/image-id/322579iAE11465DB723C135/image-size/large?v=v2&px=999 "2024-05-08 11.55.06.png")

Projects are in the same workspace.

Second project is private AND repo I move also set to private.

It doesn't happen with all my repos but I have 2 repos that I can consistently reproduce issue with:

* {uuid_removed}
* {uuid_removed}

Worth to note that bitbucket support is a shitshow. There's clearly some issue in bitbucket itself and you can't report it unless you "ask community" which can't and won't help with that.


Answers:
author: Theodora Boudale
body: Hi [@gudvinr](/t5/user/viewprofilepage/user-id/2433613) and welcome to the community!

Both affected repositories have a public issue tracker and I believe this is causing the error you get. If you want to move the repos to a private project, you will need to make these issue trackers private (from **Repository settings** \> **Issue tracker**).

Can you please give it a try and let me know if you are able to move the repos to a private project afterwards?

We have an open ticket to improve the error message here: <https://jira.atlassian.com/browse/BCLOUD-21851>

Just a heads up, I removed the UUIDs of the repos for privacy reasons.

You can create a ticket with the support team directly if you have a workspace on the Standard or Premium billing plan. Users on the Free plan are entitled to community support only. We have Atlassian staff checking community for any questions that require attention.

Kind regards,  
Theodora


Tags: bitbucket-cloud

cloud
Why isn't Fisheye session-timeout of 2hrs working?
Asked by Jeff Blaine:

FECRU 4.0.3

How do we implement a functioning timeout of sessions after a period of time?

I've read everything I can find.

Supposedly we should be able to configure a 2 hour session timeout with `<session-timeout>120</session-timeout>` in `/opt/fisheye/content/WEB-INF/web.xml` as follows:

```
&lt;session-config&gt;        &lt;cookie-config&gt;            &lt;name&gt;FESESSIONID&lt;/name&gt;            &lt;http-only&gt;true&lt;/http-only&gt;        &lt;/cookie-config&gt;        &lt;tracking-mode&gt;COOKIE&lt;/tracking-mode&gt;        &lt;session-timeout&gt;30&lt;/session-timeout&gt;    &lt;/session-config&gt;
```

I added this last night, restarted Fisheye, logged in to the web UI and my session still works fine this morning from the previous night.


Answers:
author: Piotr Swiecicki
body: I'm afraid this is because rememberme cookie stored for every user authenticating to FishEye/Crucible. See <https://jira.atlassian.com/browse/CRUC-7130> for more details.


Tags: fisheye-crucible-administration
how to grant admin access on a specific Crucible project?
Asked by Patrice Champet:

Hello,

We need to give admin access on a given Crucible project so that the user is able to add and remove default reviewers by his own on the project he manage.

<br />

Is there any other way than giving the fulll admin access ?  
For me there is some risks as the user will have access to the administration of crucible and all the other projects.  

Thank you.


Answers:
author: Maciej Swinarski
body: Hi,

In FishEye \& Crucible 4.1 we have added a similar feature where the administrator can delegate permissions to manage individual repositories without giving global administration access.

There is no such feature yet in Crucible to delegate permissions to manage individual projects (and permission schemes). Please describe here or better create a feature request explaining in detail how would you like this feature to work. Would delegating administering project itself be enough? How about permission schemes - administeting them would be deleagted as well or a permission could be created by the global admin and only selected by the "small admin". Any input will be very valuable for us.

Thank you

mac

comments: author: Jomon Palathingal
body: Hi Maciej,

In the first paragraph you have mentioned that you have added a similar feature in version 4.1. We are using FishEye \& Crucible 4.1.

Can you please explain how to delegate individual project admin permissions?

Thanks,

Jomon


author: Marek Parfianowicz
body: Hi Jomon,

Fisheye/Crucible 4.1+ allows to delegate management of repositories.

For projects we have no such feature yet. I encourage you to watch/vote/comment on <https://jira.atlassian.com/browse/CRUC-8219>.

I must admit that this feature has very low interest among our users so far, however.

Cheers


author: Justin Livermore
body: How do I vote for this. I work for a large company that has a group administer crucible, but I administer it for my team. I would like to be able to have project level admin permissions so I don't have to put in tickets for every little change. I like how bitbicket has project level admin permissions. Would be great to at it to crucible. How do I get others to up vote this so a change can get made. Thank you


Tags: fisheye-crucible-administration
How to make Fisheye match SVN.
Asked by Mark Carbonara:

I deleted one old Folder in SVN; however Fisheye now still shows this old folder although it seems to be gray in color. How can I delete the old Fisheye folder?


Answers:
author: Marek Parfianowicz
body: By default FishEye indexes entire repository history, so this is a reason why you can find deleted files and directories. In order to not show particular folder at all, you can exclude it from indexing - see <https://confluence.atlassian.com/display/FISHEYE/Include+Exclude+paths>. Please note that you will have to reindex the repository after change.
Do you provide Crucible installation support?
Asked by Bio-Rad DBG Pleasanton:

Do you provide Crucible installation support?


Answers:
author: Nic Brough -Adaptavist-
body: I could do a bit, there are community members here who could do a lot more, my company certainly can help, but I suspect you're asking for help from Atlassian? Have you contacted <https://support.atlassian.com> ?
Crucible response time is very slow
Asked by GLENN MAYER:

We're running Crucible/Fisheye 4.1.1 on an 8GB Windows server, as a Windows service. The process does not appear to be CPU- or memory-bound. It is currently using about 4.5GB of a 6GB allocated heap. CPU usage looks fine. However, response times for certain operations is REALLY slow. For example, an individual user's home page renders quickly, but it takes 6-7 seconds for the Recent Activity and Projects areas to populate. I've tried this with a browser installed on the same server where Crucible runs, and it made no difference. Another example of particular slowness is adding a reviewer to a review. It can take 4-5 seconds to pull up the list of reviewers.

We've got about 160 repositories, 120 projects, and 500 users.

What steps can we take to diagnose or fix this issue?


Answers:
author: Mikolaj Zyromski
body: Hi,

There are plenty of factors that might affect Crucible performance. As CPU and memory is ruled out, the first thing that comes to my mind is IO -- DB or file system, especially if one of them is not accessed locally.

We usually start with looking at the application logs and most of the times that enables us to pinpoint the problem.

Could you please report your issue on support.atlassian.com? To save some time you could turn DEBUG logs on (Administration \> Global Settings \> Server \> Debug Logging), load a bunch of slowly responding pages, generate a Support ZIP (Administration \> System Settings \> Support Tools \> Create Support Zip) and attach it to your ticket. Thanks!

Miko?aj ?yromski,

FishEye \& Crucible Team


Tags: fisheye-crucible-administration
Enforce each crucible review needs a Jira issues
Asked by Brent Webster:

When I create a Crucible review via a patch file, can I still make it mandatory to specify/link a JIRA issue?


Answers:
author: aborowski
body: You should look at workflow conditions introduced in 4.2

<https://developer.atlassian.com/fecrudev/tutorials/crucible-workflow-conditions-plugin-module-tutorial>
fisheye crucible editing review content
Asked by Nicholas (Nick) Hennenfent:

Hello all. I have a fisheye/crucible question. I have a code review that somehow managed to end up with two copies of the same file in the left side pane. Normally I would click the pencil icon to enter edit mode and delete the file. But, alas, there are comments made on both entries, so I am not allowed to delete either. :( Any tricks to get around this????? Thanks in advance!


Answers:
author: Nicholas (Nick) Hennenfent
body: Thanks Piotr! I appreciate the feedback.


author: Piotr Swiecicki
body: Seems like you are affected by <https://jira.atlassian.com/browse/CRUC-6806> issue. Basically Crucible expects each file to have linear ancestry line, so revision slider displayed top of a Crucible file can represent ancestry properly. When you happen to have changes to the same file made on parallel branch, where there is no ancestor/descendant relation of those revisions to revisions already added to the review, Crucible will end up creating a duplicated entry for such file. See the CRUC-6806 issue description for more details.

I'm afraid there is no way to merge those duplicated files into single one in the review.

Kind regards,
Crucible user won't sync with Crowd
Asked by ahale1:

I am trying to grant access to Crucible/Fisheye to a user, but every time they sync with Crowd, his groups in Crucible don't change. Other users sync properly and the Crowd groups are controlled by AD. I have tried deleting his account in Crucible (as I think the issue is he tried signing in without access first and bugged his new user account in Crucible), but it won't let me. Crowd groups are as they should be and so are every other user. I can't seem to push the user's new groups to him in any way.

I can't control any user or group setting through crucible/crowd, only AD.


Answers:
author: Mikolaj Zyromski
body: Hi Alex,

In order to investigate your problem we'd need to have some more information, e.g. look into you server log. Could you please raise a request on support.atlassian.com so that we can look into the problem? Thanks!

Miko?aj ?yromski,

FishEye/Crucible Team
error when i trying to create a review
Asked by SilenceWang:

I used fecru-3.8.this morning it's not work, when I try to create a code review .  
the log is:

<br />

./var/log/fisheye.out:2016-11-01 11:18:03,273 WARN - Unable to find requested review: null, referer = null, request uri = \[/cru/[review.do](http://review.do)\]


Answers:
author: Mikolaj Zyromski
body: Hi,

It's hard to judge what is the actual problem here looking at the log line you provided. Please rise a ticket on support.atlassian.com and we'll look into your problem. Thanks!

Miko?aj ?yromski, FishEye/Crucible

comments: author: SilenceWang
body: well, it works after reinstall.  
thanks


author: Kapil Balani
body: I am getting the same error. Not able to see crucible reviews and crucible "create review button" . Please help with the steps


author: Caterina Curti
body: Hi [@Kapil Balani](/t5/user/viewprofilepage/user-id/1044841),

I just sent you an update on the question you raised last week [here](https://community.atlassian.com/t5/Fisheye-Crucible-questions/Crucible-reviews-not-showing-up/qaq-p/737111).

Thanks, Caterina - Atlassian


author: Santhosh Kadathala
body: Im getting the same error can anyone send me the link which the solution provided.  

<br />

<br />

Thanks  
Santhosh Kumar
is there a way to support merge requests when using a git server with crucible?
Asked by Michael Melsen:

I'm looking for a way to have merge requests in crucible. I would like the powerful UI of crucible to work with a merge request. after the review crucible will have to tell git to merge the feature branch with the master. Is this possible?


Answers:
author: Marek Parfianowicz
body: There is no such feature in Crucible at the moment. However, I would suggest to have a look at the new Workflow Conditions API introduced in version 4.2, which lets you add own validation in workflow steps.

So what you could do is for instance:

* add a condition to "Close" transition
* raise a warning, e.g. "Pull request is not merged"
* add an action link, e.g. "Merge it"
* the action link could send a request to Bitbucket (e.g. via REST API) to merge the branch

See the tutorial:

<https://developer.atlassian.com/fecrudev/tutorials/crucible-workflow-conditions-plugin-module-tutorial>
Indexing with a Starting Revision
Asked by Jaime Heenehan:

If you index a Subversion repository starting at a given revision number, what Fisheye/Crucible capabilities do you lose for the previous revisions?

Thanks, Jaime Heenehan


Answers:
author: aborowski
body: It depends on setting initial import parameter. You can find more on this [documentation page](https://confluence.atlassian.com/display/FISHEYE/Subversion).


Tags: fisheye-crucible-administration
How do I renew a trial of Crucible/Fisheye?
Asked by Richard Schaefer:

I'm running an initial trial license of 30 days that expires tomorrow (10/26). How do I renew the trial license? I tried the renew link in the product's web page footer but that takes me to the standard product renewal page which says I have no products. I suspect this is due to it being a trial and not a purchased product...


Answers:
author: Richard Schaefer
body: Perfect! Thanks!


author: Jonas Andersson
body: Login to my.atlassian.com, under your licenses find you Crucible license, click on it, click the "New Evaluation License" link, and copy the new key into the license field of Crucible, in the crucible admin interface. Repeat the process for Fisheye.
Crucible 4.2 ?resolved? state via REST missing
Asked by Thomas:

Crucible 4.2  
We use the REST API to get access to comment information out of crucible. With version 4.2 we began using the resolving feature for defects/comments, but this information seems to be missing in the xml responds of the REST. May you support us with information, how to obtain the 'resolved' state via REST?

Thank you in advance


Answers:
author: Mikolaj Zyromski
body: Hi Thomas,

Comments resolution status is not yet available via REST API. See <https://jira.atlassian.com/browse/CRUC-7858>.

Best Regards,

Mikolaj Zyromski (Fisheye/Crucible)


author: Thomas
body: Hi Mikolaj,

now he issue has 2 votes.

Thank you and kind regards  
Thomas
Crucible Reviewers - can you add a group
Asked by Mike Scott:

Instead of adding reviewers one by one over and over, is there a way to add a user group? Is a user group feature available or supported?


Answers:
author: aborowski
body: Hello Mike,

This feature was reintroduced in 4.1.

Check out this issue <https://jira.atlassian.com/browse/CRUC-7676>

comments: author: Mike Scott
body: Sounds like a good reason to upgrade. Thanks


Tags: feature

user-group
while adding svn repo to crucible i'm getting this error
Asked by ram:

Error

Thu Oct 13 08:12:46 GMT+530 2016: Repository paused due to error com.cenqua.fisheye.config.ConfigException: Could not access svn://svn.dev.com/distribution//trunk : org.apache.subversion.javahl.ClientException: svn: E220003: Invalid authz configuration com.cenqua.fisheye.rep.RepositoryClientException: org.apache.subversion.javahl.ClientException: svn: E220003: Invalid authz configuration org.apache.subversion.javahl.ClientException: svn: E220003: Invalid authz configuration org.tmatesoft.svn.core.SVNAuthenticationException: svn: E220003: Invalid authz configuration


Answers:
author: Jonas Andersson
body: Have it worked using SVN before? You might need to install your OS "svn-tools" package if not. More information would have allowed me to give a better answer, but this is what i could find when googling around. IF you do have the svn-tools but composed the authz file yourself, make sure the syntax is correct in the file. More about that here: <http://serverfault.com/questions/164310/configuring-svn-access-with-subversion-server>


Tags: documentation

fisheye-crucible-administration
FishEye Repository Administration not loading
Asked by Gerald Schneider:

On one of my two FishEye instances the main content pane in the admin area is not loading, the area just stays empty.

image2016-10-18 8:9:6.png

Chrome shows the following error in the console:
> Multiple 'X-Frame-Options' headers with conflicting values ('DENY, SAMEORIGIN') encountered when loading 'https://example.com/fisheye/static/oe7e6y/gwt/AdminGwtModule/3B142E9B95B0FCA6FE215BE8F6761A6D.cache.html'. Falling back to 'DENY'.

What can I change to send the correct frame options header?

This happened first with FishEye 4.1.0, but upgrading the server to 4.2.0 didn't solve the issue.  
[](https://community.atlassian.com/t5/Fisheye-Crucible-questions/FishEye-Repository-Administration-not-loading/qaq-p/418368?attachment-id=4012){#link_11595e98417e1d}  
[](/tnckb94959/attachments/tnckb94959/fisheye-crucible-questions/5567/1/image2016-10-18%208%3A9%3A6.png){#display_11595e98417e1d_0}


Answers:
author: Grzegorz Lewandowski
body: Parts of FishEye \& Crucible application depends on IFrame usages. Most probably you have some server proxy which adds *X-Frame-Options* header. FishEye \& Crucible on it's own doesn't add those headers.

You should remove the header completely or change it to *SAMEORIGIN* value.

comments: author: Gerald Schneider
body: Thanks for the hint with the proxy, the apache in front of it actually had a

```
Header always set X-Frame-Options DENY
```

directive set in *conf.d/security*. Now I'm just wondering why this behaviour didn't appear before and started suddenly.


author: Grzegorz Lewandowski
body: Hard to tell, either you didn't open any page which uses IFrame or you just simply accessed application directly without proxy.


author: TIM CROSBY
body: My freind bought a work truck it has rerverse camera and wires an mounts no monitor need specific on monitors


Tags: fisheye-crucible-administration