youngmon/atlassian-qna huggingface dataset:
how to solve the error 218 when reposity import from gitlab to bitbucket
Asked by NWAY NWAY KO:

Hello

When importing existing code from Gitlab, the import failed. The following error log is displayed  
Is there a solution?

I tried using Gitlab user and password, but it doesn't work.

I also tried using bitbucket user name and app password,

it also dosen't work.

please help me


Answers:
author: Ben
body: G'day NWAY!

May you please share a screenshot of both the error output as well as the screen where you have entered the repository path/auth details?

We just want to see the full error message as well as the format you are using for the path, so please use placeholder information as this is a public forum.

Cheers!

- Ben (Bitbucket Cloud Support)


Tags: bitbucket-cloud

cloud
aws-sam-deploy
Asked by Murat Uysal:

Hi,

I am currently using your pipeline in my project with the atlassian/aws-sam-deploy:2.3.0 image. In the AWS SAM CLI version released in January 2023, we can specify the log group to which the Lambda function will write logs specifically.

However, since atlassian/aws-sam-deploy:2.3.0 uses an older version of sam cli, when we add this feature, we encounter the error 'property LogGroupName not defined for resource of type AWS::Serverless::Function.' The 'sam build' and 'deploy' processes work successfully when tested locally with the up-to-date SAM CLI.

LoggingConfig:  
LogGroup: /aws/your-log-group


Answers:
author: Igor Stoyanov
body: Hi [@Murat Uysal](/t5/user/viewprofilepage/user-id/5169686) . We released [new pipe 2.4.0 version](https://bitbucket.org/atlassian/aws-sam-deploy/src/2.4.0/) of aws-sam-deploy with updated sam cli version 1.108.0  

Regards, Igor


author: Igor Stoyanov
body: Hi [@Murat Uysal](/t5/user/viewprofilepage/user-id/5169686) . We will update sam cli version and notify you.  

Regards, Igor


Tags: aws

bitbucket-cloud

cloud
Jira wont connect to Fisheye/Crucible server
Asked by Chris Graves:

We currently have the latest onDemand Jira running. I am trying to link Jira to our Fisheye/Crucible server. I have gone through the application link steps for both Jira and Fisheye/Crucible. The two however refuse to talk to each other.

Are there any additional tips or tricks to getting these two to talk to each other?


Answers:
author: Nick
body: Ensure your FishEye/Crucible server is available to the Internet, and therefore OnDemand JIRA.

Are you seeing any requests come in to FishEye/Crucible at all from OnDemand ? (Can enable DEBUG logging in Admin to see all http requests)

Ensure: Your FishEye application must be accessible through port 80 (or port 443 with a valid (CA) SSL certificate). and go through other steps/caveats on https://confluence.atlassian.com/display/AOD/Integrating+JIRA+OnDemand+with+FishEye
How do you do code review for a large commit
Asked by Asaf Mesika:

When a developer pushes a large commit, or a story has several commits which has lots of files to review, it's very to review it in any code review tool. The best way should be in the IDE, which enables you to easily jump from one method call to its implementation which is another class. etc

How do you tackle this problem?


Answers:
author: Nick
body: I simply leave the review open in my web browser, then drill around, test, (even sometimes spike refactoring suggestions) etc in my IDE, and each time I find something I want to comment on, just CMD-TAB back to the code review and leave a comment.

I spend a lot more time reading and playing with the code for a code review, than leaving a comment, so this setup works well for me.
Crucible - ability to save Custom Filters
Asked by Devendra:

I have been asked as admin a question from a user:

In Crucible, My Reviews has Custom Filter area. User creates custom filter and it works ok.

User wants to go to the filter again and again and hence wants an ability of saving filter (instead of recreating all the time).

I could not find how to "Save" the custom filter.

I looked at doc of 3.2 version and there is no mention of Save ability.

Wonder if there is a way, or how everyone is handling this.

Basically, in the Custom Filter, the user wants to define Project, Author and Status that he is interested in looking at all the time...


Answers:
author: Nick
body: The best way to do this is to simply the bookmark the filter results page.

Returning to this page and refreshing will preserve the filter you've set.

Crucible has no way to store a filter on the server currently.

comments: author: Devendra
body: Thanks Nick,

The suggestion works.
Renaming Users in JIRA 6,Confluence 5, Fisheye/crucible 4
Asked by Gaurav Girdhar:

There is feature in JIRA 6 to rename users. Is it recommended from Atlassian? Can we use this fucntionality to rename our users?

Similarly, Can we rename the users in Confluence 5, Fisheye/crucible 4? Is it recommeded?


Answers:
author: Gaurav Girdhar
body: Thanks for replying.

1) What about renaming users in JIRA6? Is it recommended? Or do you see it error prone?

2) If JIRA6 users are authenticated from Crowd and i rename users in JIRA6 then what should be approach so that it gets reflected in Crowd as well after syncronization between JIRA6 and crowd? In short, renaming of users in JIRA6 should also get reflected in Crowd.


author: Jason Hensler
body: I can confirm user editing working in confluence 5.3. I found this out by mistake in our test env when I changed to the LDAP settings without populating the Unique ID field, which cause all of our user to be dropped and re-added, as confluence thought they were new users durring a sync. Since fixing confluence has tracked re-names made in the ldap side. I also verified that I could rename a user in the internal confluence user directory.

Crucible/Fisheye v4 does not exist yet. Latest is 3.2.1. We have 3.1.5 running and there is a rename option in the user manager but, I did not test this as we are syncing our userbase from Jira and are not running v6 yet.

comments: author: Gaurav Girdhar
body: Thanks for replying.

1) What about renaming users in JIRA6? Is it recommended? Or do you see it error prone?

2) If JIRA6 users are authenticated from Crowd and i rename users in JIRA6 then what should be approach so that it gets reflected in Crowd as well after syncronization between JIRA6 and crowd? In short, renaming of users in JIRA6 should also get reflected in Crowd.


author: Jason Hensler
body: Renaming users in Jira6 is Officially supported ([see here](https://confluence.atlassian.com/display/JIRA/Managing+Users#ManagingUsers-Changingausername)). I don't think that jira would update the crowd server in the event of a username change but, i'm not sure. This [Jira issue](https://jira.atlassian.com/browse/JRA-32200) says that it should be possible to have Jira 6.1.1 and Confluence 5.3+ pick-up on crowd user edits as an edit and not a delete then re-add of a user. It would seem like you should be able to make changes in crowd and have them propagate to your user applications provided your using the version listed above. This is a very new feature so, your mileage may vary.

In my environment we are using an LDAP Server directory for authentication, not crowd. Looking at my specific setup we should be able to set the "user unique id" in our LDAP directory settings to the LDAP Server uuid/guid and have the application pick-up name changes from the ldap server to confluence/jira. This will be nice as I don't always get told of a name change prior to the named being changed in the ldap service.


Tags: rename

user
[Crucible] Flow of the crucible review
Asked by michal:

Hi,  

this is a normal crucible review flow:  

------------------------------------------------  
1) Author -\> Create review  
2) Author -\> Add reviewers  
3) Author -\> Start review (review goes into "Outbox-\>Out For Review" for the Creator, and into "Inbox To Review" for Reviewers)  

4) Reviewers -\> Add comment  
5) Creator -\> Replies  
6) Reviewers -\> Add comment  
7) Creator -\> Replies  
...  
10) Reviewers -\> Complete review (review goes into "Outbox-\>Completed" for reviewers, and into "Inbox-\>Ready to Close" for the Creator)  
11) Author -\> Close review (review goes into "Archive-\>Closed" for the Creator)  
------------------------------------------------  

So, all the time during review both sides (Creators and Reviewers) must check a review for comments and replies.  

My question is: Is there any way to incomplete review by the Creator (somewhere between points 10 and 11) and changing review status (Reviewers-\>Incomplete ==\> Reviewers-\>Open), so the review goes into "Outbox-\>Out For Review" for the Creator, and "Inbox-\>To Review" for Reviewers? Here is an example:  

------------------------------------------------  
1) Author -\> Create review  
2) Author -\> Add reviewers  
3) Author -\> Start review (review goes into "Outbox-\>Out For Review" for the Creator, and into "Inbox To Review" for Reviewers)  

4) Reviewers -\> Add comment  
5) Reviewers -\> Add comment  
...  

10) Reviewers -\> Complete review (review goes into "Outbox-\>Completed" for reviewers, and into "Inbox-\>Ready to Close" for the Creator)  
11) Creator -\> Reply comment  
12) Creator -\> Reply comment  
...  
15) Creator -\> Incomplete review (review goes into "Outbox-\>Out For Review" for the Creator, and into "Inbox-\>To Review" for the Reviewers)  

16) Reviewers -\> Add comment  
17) Reviewers -\> Add comment  
10) Reviewers -\> Complete review (review goes into "Outbox-\>Completed" for reviewers, and into "Inbox-\>Ready to Close" for the Creator)  

11) Author -\> Close review (review goes into "Archive-\>Closed" for the Creator)  
------------------------------------------------  

The standard crucible flow is a little bit problematic and unclear when Creator have some doubts about reviewers comments and suggestions. For me the better way for both sides (Creators and Reviewers) is when Creator clearly know when the review is done (he can see it in his Inbox) and than he can refer to Reviewers comments giving them back his replies and sending the review to the Reviewer's Inbox (review can have meny cycles).  


Answers:
author: Piotr Swiecicki
body: Hi Micha?,

Unfortunately there is no such transition available at the moment. In order to uncomplete review for others review creator would need to either:

* add more content to review (as a workaround you could upload empty file and delete it)
* raise a defect on a review (just add a comment and mark it as "defect")

There is an feature request opened for such transition to be added, feel free to vote and comment on it: <https://jira.atlassian.com/browse/CRUC-6047>

Hope that helps,


Tags: review

workflow

workflow-designer
Local user can no longer login to fisheye
Asked by Jason Glover:

So.

Hi, my name is Jason and I'm an Atlassiaholic. It started with JIRA+Agile but pretty soon that wasn't enough so I had to add Confluence to the mix. Next came HipChat but the wheels finally fell off when I started the the trial of Fisheye+Crucible.

The problem I have is that I can no longer login to Fisheye with anything but the "built in" administrator account.

Here is a timeline to help illustrate the problem:

1. Installed Fisheye on SVN server.
2. Configured it to use \*Host\* style authentication integration as all that server's local users are our SVN users.
3. Set it to create a user if there wasn't one.
4. Logged in with my local/SVN/Fisheye details. That worked. Created a user account in Fisheye. Woop woop!!
5. Next thing I did was link Fisheye to JIRA (the peer to peer styles, or so i thought)
6. Now I can no longer login with my local user account.
7. Can't reset password either.
8. Went to Security Settings \\ Authentication \\ Authentication Test and did a test. No go!
9. Opened the Application Link to Jira. Made sure all the authentication there was disabled.
10. Went back to Security Settings \\ Authentication \\ Authentication Test and did a test. No go!
11. Deleted the User that had been automatically created. That didn't help either.

Stuck.

Suck.

Help!


Answers:
author: Nick
body: Hey Jason,

Sorry to hear about your predicament... Atlassiaholism is no longer such a rare condition, so do not feel alone. You've already taken an important first step towards a cure - seeking help in an online forum!

Now to help with your immediate symptom:

When you say:

5. Next thing I did was link Fisheye to JIRA

does that mean you added an Application Link ?

Can you check that for that user which was created, thier Auth Type is still set to 'host' ?

/admin/userEdit-default.do?uname=\<username\>

Simply adding an Application Link to JIRA should not have any effect on user authentication.

Can you also confirm that you've not configured JIRA/Crowd authentication under Security Settings \\ Authentication ?

Best Regards,

Dr. Pellow

comments: author: Jason Glover
body: Correct - I added an Application Link.

After that I the authentication stopped working.

And I've deleted the only user account I created so I can't do anything with it now. But when I try to log in with a local user account it isn't creating a new user in Fisheye like it did the first time.

I'm certain I haven't intentionally or accidentally configured Jira/Crowd.

It is a mystery.


author: Nick
body: Those two operations should not be related at all.

Can you please enable DEBUG logging: Admin / Server / Debug Logging

and then create and submit a Support Zip?


author: Jason Glover
body: File generated and sent. I must say I like the built-in debug/support tools. Very nifty.
Hide People's Statistics in Fisheye?
Asked by Daniel Reuter:

Hi!

Is there a way to hide the people's statistics in fisheye? Our customer is concerned about his privacy policy...


Answers:
author: Sergey Svishchev
body: In *Authentication Settings* section, change *User List Visibility* to *Hidden*.

comments: author: Daniel Reuter
body: Thanks! That the first step. It there also a way to hide the users commit stats? If I follow a link to a users page... For example the part under "about" - example:  

<br />

\<th\> \</th\>\<th\>Last Week\</th\>\<th\>All Time\</th\>\<th\>Commits:\</th\>

|---|-----|
| 8 | 700 |


Tags: fisheye-crucible-administration
Crucible : Total review time spent summary report for all the tickets in a project
Asked by gurvinderdhillon:

Hi,

I am looking out to generate a report in crucible which summarizes the total review time for all the tickets during a month. Basically i want to have a report which shows time spent on indivudual tickets and summation of all the tickets with dates.

Any ideas how we can achieve this. I did google but didnt find anything else and I am new to crucible.

Thanks


Answers:
author: Nick
body: There is nothing I am currently aware of unfortunately.

You could most likely create a Plugin however which renders such a report.

Alternatively, you could consider using the Crucible REST API to pull and aggregate the data you need.

You can get timeSpent from each review participant using the filter/details REST endpoint.

e.g. /rest-service/reviews-v1/filter/details.json?states=Review

More information at <https://docs.atlassian.com/fisheye-crucible/latest/wadl/crucible.html#d2e838>

comments: author: gurvinderdhillon
body: Thanks Nick, Will try these out.. Seems to be really helpful.


author: Nick
body: By ticket, do you mean JIRA issue ?

Knowing that each review contains an explicit link to a JIRA issue, you can use the following SQL as the basis Query to select the report you need directly from the Crucible database:

```
select r.cru_issue_key, sum(cru_time_spent) from cru_review_participant p, cru_review r where p.cru_review_id = r.cru_review_id group by r.cru_issue_key;
```

If you actually mean: Review when you say 'Ticket', then similarly you can use the following:

```
select i.cru_proj_key, i.cru_number,  sum(cru_time_spent) from cru_review_participant p, cru_review r, cru_revpermaid i where p.cru_review_id = r.cru_review_id and i.cru_review_id = r.cru_review_id group by i.cru_review_id;
```

comments: author: gurvinderdhillon
body: Thanks Nick for the quick response.

By ticket i mean the crucible review request. So the second query should be help. First one is also useful since we do use Jira as well.

I thought i can get something from the crucible reports rather than to query the database. Since i dont have the direct access to the database i need to look into a way to get those access rights.

But if you have something which can be directly accessed from the Crucible User Interface it would be really great.

Thanks,

Gurvinder


author: Tushar Kamble(HONEYWELL)
body: Hi Nick,

Would it be possible to get the numbers of how many reviews have been conducted(created and closed) over all projects per month in last year?

Regards,

Tushar  


Tags: time-spent
JIRA, Crucible, and FishEye user management problems
Asked by Taylor Watkins:

We are running JIRA, Crucible, and FishEye in our company. We just purchased 10 user licenses for both Crucible and FishEye, and we have an existing 25 user license for JIRA. Prior to purchasing the Crucible and FishEye licenses we were using trial licenses and we had our Crucible server configured to use JIRA for user management and everything worked fine. However, once I entered the new FishEye and Crucible licenses I received the following error message:  

You have exceeded the maximum number of users for FishEye.  
You have 35 users and your limit is 10.  

Our JIRA server has 35 users entered into its system, and has several of them disabled since we want to keep the issues assigned to those users but have no more need for the users beyond that. I can see that all 35 users are listed in the Crucible user management window. After checking FishEye's documentation, the only way to remove a FishEye license is to delete the user. Am I able to delete the user in Crucible without deleting the user in JIRA as well? Or do I have to completely unlink Crucible and JIRA in order for this to work?


Answers:
author: Felipe Kraemer
body: Hi Taylor,

You can delete the user from FishEye/Crucible without deleting it from JIRA, however the user will be re-added to FishEye/Crucible in the next re-sync with JIRA.

Your best option is to [create a new group of users in JIRA side](https://confluence.atlassian.com/display/JIRA/Managing+Groups#ManagingGroups-Addingagroup) (maybe called fecru-users), [assign up to 10 JIRA users with this group](https://confluence.atlassian.com/display/JIRA/Managing+Users#ManagingUsers-Assigningausertoagroup) and, in FishEye side, go to the Administration panel \> Security Settings \> Authentication, edit your JIRA/Crowd Authentication, click the *Next \>\>* button, and select only the fecru-users group.

I hope this helps!

comments: author: Clifford Sanders
body: We have setup Jira/Crucible like this. But if we remove a user from the fecru-users group this user is still activated in crucible. We have to manually deactivate this user in crucible.
Row lock contention in Fisheye 3.2
Asked by Eli Kim:

I have upgraded to Fisheye 3.2 and am running on Oracle 11. I am finding that I am having massive row lock contentions with Fisheye. Specifically my issue is with updates to the cru_revision table. I have Fisheye connected to 74 repositories for Crucible reviews.

How could I reduce the "enq: TX - row lock contention"?

Also is it possible to throttle the indexing? I tried deleting FISHEYE_INST/var/cache and it triggered the re-indexing, but all the diff commands it runs and with there being so many revisions..... it is just beating against subversion.


Answers:
author: Eli Kim
body: After watching a little, we found out that adding the indexes on foreign keys actually didn't help so we removed those indexes.

This is seen on Oracle 11 and MySQL 5.6.12

After discussions with support, we were able to show the bug to get them to replicate. This affects only LightSCM, Fisheye Native does not have this problem. If you only have a Crucible license, do not upgrade until the bug fix is released


author: Eli Kim
body: Thanks for the suggestion. It did help, but unfortunately it didn't eliminate the problem.


author: Nick
body: Hi Eli,

FishEye 3.2 will perform an upgrade of your crucible (ie review) data when it first starts up. This should not take more than 5-10 minutes. Has the row-locking settled down since then ?

You can indeed throttle SVN commands, using the Throttle setting on each repository:

![](https://www.monosnap.com/image/XyKLbkxvp4ymUXNUvsNvJ5fMQ.png)

comments: author: Eli Kim
body: Hello,

I did see the migration of the users \& groups out of the data0.bin; however we had 0 cause we are using Crowd. It did move something out though. Leaving it on over the weekend, it had major row-locking sessions and became stuck. Main culprit being with CRU_REVIEW. We placed an index on all the foreign keys as Sergey suggested. We are waiting to see if that resolved the issue.

We did see the Throttle Connections, but description also says that throttling is not advised in atlassian documentation. Is that just pre-cautionary warning?


author: Eli Kim
body: Creating a index for all foreign keys did help but we are still getting row lock contention.


author: Sergey Svishchev
body: Look for missing index(es) on foreign keys. Confluence had the same problem with Oracle 11g -- <https://jira.atlassian.com/browse/CONF-21909>


Tags: fisheye-crucible-administration
Fisheye - searching for special characters
Asked by David Caligiuri:

Using Fisheye, in the Search Criteria section, I want to search for "year(" in the Contents. The parenthesis is being ignored and it is matching all occurences of "year".

Is there any way to include the parenthesis in my search?


Answers:
author: christ
body: You might try - <https://confluence.atlassian.com/display/FISHEYE/EyeQL+reference+guide>


author: David Caligiuri
body: Escaping the parenthesis also has no effect, ie "year\\(" and "year\\\\("

Further searching around this site brought me to a bug, <https://jira.atlassian.com/browse/JRA-25092> which has been outstanding for over 2 years now. Does this mean I am out of luck?


Tags: search

special-character
Where in the Crucible documentation can I find the definition of the various filename colors?
Asked by Michael Hilton:

In a Crucible review, the names of files under review are displayed in various colors. I have searched, but cannot find the meaning of the various colors. Is that documented somewhere?


Answers:
author: Piotr Swiecicki
body: I don't think it's documented, the colors used are:

* green - for added files
* red - for removed files
* brown - for copied/moved files
* blue - for amended files

Hope that helps
Administrator on Fisheye/Crucible
Asked by Bill Mariasoosai:

All:

During the installation of Fisheye/Crucible(3.1.4), the

user is prompted to set up admministrator password.

This password is used to enter into Fisheye to do administrative task.

Is the password stored in any config file in the system?

Please let me know.

Thanks for your help.

Bzoo


Answers:
author: Zul NS _Atlassian_
body: Stored in Fishsye_Installation/config.xml file, I believe. You can find the way to reset them in <https://confluence.atlassian.com/display/FISHEYE/How+to+reset+the+Administration+Page+password+in+Fisheye+or+Crucible>

comments: author: Bill Mariasoosai
body: Hi Noor:

Thanks a lot.

Regards,

Bzoo