youngmon/atlassian-qna huggingface dataset:
NUnit Parser does not work in Bamboo 5.15.5
Asked by Mihai Marinescu:

Hi,

I have 4 tests which are run using NUnit 3 (by a Cake script) and it produces an XML file in NUnit3 format, everything is passed although Bamboo shows the tests as skipped why ?

/mihai


Answers:
author: Gonchik Tsymzhitov
body: Hi!

Could you vote on this issue?

<https://jira.atlassian.com/browse/BAM-18336>

Because in compatibility mode is not full covered

<https://jira.atlassian.com/browse/BAM-12433>

Cheers,

Gonchik Tsymzhitov
Question getting tagged as spam
Asked by Chris Pickett:

I've tried to ask this question twice and it gets tagged as spam everytime: [https://community.atlassian.com/t5/Bamboo-questions/How-to-get-the-change-set-ID-in-VcsRepositoryViewer-s/qaq-p/578036](/t5/Bamboo-questions/How-to-get-the-change-set-ID-in-VcsRepositoryViewer-s/qaq-p/578036) . How can I ask my question in a way that won't set off the spam bots?


Answers:
author: Monique vdB
body: Chris, let me check the spam quarantine for your question!

comments: author: Monique vdB
body: Chris, it is free from quarantine. We are still training our spam filter and it was a bit over-eager in this case. Your question is here. Hope you get a great answer :)

<https://community.atlassian.com/t5/Bamboo-questions/How-to-get-the-change-set-ID-in-VcsRepositoryViewer-s/qaq-p/578036>


author: Chris Pickett
body: Thanks!


Tags: feedback
How does Bamboo Server Log rotate work?
Asked by Maggie Templeton:

I'm trying to find more information about how atlassian-bamboo.log is rotated in *\<INSTALL_HOME\>/logs/*. It appears that Bamboo is doing some form of log rotation by creating atlassian-bamboo.log1, atlassian-bamboo.log2, etc. However, I'm having trouble finding documentation on how long those files are retained.

I found [this](/t5/Bamboo-questions/How-do-I-set-up-the-log-generated-in-the-Bamboo-install/qaq-p/257110) somewhat related question, but it is quite old, and I would like to know what the current default is for log rotation. Thanks for any help.


Answers:
author: Edwin Kyalangalilwa
body: I believe the files will remain indefinitely and depending on the size set in **log4j.properties** .Bamboo will rotate every time the max is reached ex) 20MB.

<https://confluence.atlassian.com/jirakb/how-to-rotate-the-tomcat-catalina-log-file-224398003.html>
Server info returned status code: 404
Asked by Shishir Shetty:

Not able to do tomcat war deployment through tomcat manager using Bamboo.

Getting below error. Please help.

Note: I can able to acces the tomcat manager manualy through web browser without any issues.

=======================================

Confirm expected Tomcat manager location.  
Trying to retrieve Tomcat details from <http://xx.20x.16.1x5:8080/manager//serverinfo>  
Server info returned status code: 404  
Try likely variations of Tomcat manager location.  
Trying to retrieve Tomcat details from <http://xx.20x.16.1x5:8080/manager//text/serverinfo>  
Server info returned status code: 401  
Could not detect Tomcat version from server info, trusting configuration of Tomcat 6.x  
Could not reload application: Could not connect to Tomcat manager at '<http://xx.20x.16.1x5:8080/manager//reload?path=%2Ftest>'. Response code: 404  
Finished task 'Reload Tomcat Application' with result: Error

===========================================


Answers:
author: Jeyanthan I
body: Hi,

Are you able to deploy successfully outside Bamboo?

comments: author: Naresh
body: Hi Jey,

I am also facing same above error and I can able to deploy successfully outside bamboo.

Please let me know asap.

Regards,

Naresh Boga


Tags: developer
Task grunt not found.
Asked by Jon Jurisch:

I've been trying to get a bamboo project started that utilizes grunt, but have been unable to get a successful run. I've tried to strip it down to just the basics after failing with the full build and same results.

If there's a 'hello world' example I can start over with I can try that to see if it's our server configuration or something different that I need to investigate.

**Bamboo Stage Steps**

1. Source Code Checkout from Bitbucket... which contains package.json in it's root
2. NPM Task (node v7.7.4): install  

   ```
   Log Result:?npm WARN grunt-git@1.0.3 requires a peer of grunt@~1.0.1 but none was installed.Finished task 'NPM Install Package.json' with result: Success
   ```

3. Grunt Task: grunt js  

   ```
   [33mWarning: Task "grunt" not found. Use --force to continue.[39m
   ```

I've tried a few different approaches... adding specific npm steps to install grunt-cli and grunt specifically before doing npm install. I've also reduced my package.json to only include the dependencies for grunt/cli and removed everything else... just to see if I can get it to install correctly.

**Package JSON file (relevant portions)**

```
"engines": {        "node": ">= 0.10.13"    },    "dependencies" : {        "grunt": "~0.4",        "grunt-cli": "~0.1"    }
```

As far as I can tell I'm following everything outlined on <https://confluence.atlassian.com/bamboo/getting-started-with-node-js-and-bamboo-687213472.html> but continue to fail basic build. If there's anything else I can provide to help guide me, let me know.


Answers:
author: Jon Jurisch
body: I was able to work around this with a bunch of trial and error, but wound up with the following package.json and steps.

**Build Steps**

1. Source Code Checkout from Bitbucket... which contains package.json in it's root
2. NPM: install -g npm
3. NPM: install
4. grunt (0.4.x): js (js is the task name in gruntfile.js)

**package.json**

I wound up removing the engines section and added grunt-contrib-requirejs which seemed to clear up the error. On my local machine I had run 'npm install grunt --save-dev', 'npm install grunt-cli --save-dev' and 'npm install grunt-contrib-requirejs --save-dev' to get the versions. At one point I also added those same commands in the bamboo config, so overall I'm not sure what exactly did the trick - but was able to clone the build and it worked from the start with this latest setup.

```
},  "devDependencies": {    "grunt": "~1.0.1",    "grunt-cli": "~1.2.0",    "grunt-contrib-requirejs": "~1.0.0"  }
```
Bamboo home directory not being accepted
Asked by Milder Lisondra:

I just installed bamboo.

Entered the following for the bamboo home specification in: bamboo-init.properties

bamboo.home=/home/devwp/public_html/bamboo-home

Restarted bamboo: bin/start-bamboo.sh

However, Bamboo still complains with the following:  

Bamboo home directory specified: .  
There was an error creating the Bamboo Home directory. The most common cause is you haven't specified it.  
To fix this, simply set the bamboo.home property in the file /atlassian-bamboo/WEB-INF/classes/bamboo-init.properties to your chosen bamboo home directory .


Answers:
author: devpartisan
body: It sounds like a permissions problem. If you aren't running as \`devwp\` then Bamboo can't properly read/write/create files in it's home.


Tags: home
Bamboo not linking a build's commit back to GitHub?
Asked by Erik Husby:

I've got a Bamboo plan configured to build from a GitHub repository. Bamboo polls GitHub and detects commits that trigger a build. Bamboo correctly lists the GitHub commit under the Commits tab. Correctly detects the JIRA ticket id in the commit message and links it to our JIRA. However, it does not link the commit id back to GitHub. In other plans using a Stash repository, Bamboo does link the commits back to Stash.

Is this a problem with the way the GitHub repo is defined in Bamboo? Bamboo gains access to the repo through a GitHub account and a SSH key. However, the particular GitHub account does not own the repository. The account does have access rights to the repository. The repository is a private repository with access restricted to our organization.

**Updated on 26-Apr-2017**

By examining the HTML Bamboo produces arround the GitHub commit, I see this:

```
?<span class="revision-id" title="Unable to create URL - please check your web repository configuration"> 7a0f2e22b0ba314d4f6675a8d6b58f7f218461b5 </span>
```

<br />

It would be very helpful if that title was visible on the page instead of being buried in the HTML.

**Updated 26-Apr-2017**

Have tried several ways of defining the WEB Repository for the GitHub Linked Repository. Tried defining using Stash (Legacy) and Fisheye. Neither will generate the correct URL for linking back to GitHub. So basically Bamboo 5.14.5 does not provide a way to link a commit back to GitHub like it does for Stash or Fisheye.


Answers:
author: Alexey Chystoprudov
body: There's a separate plugin for this functionality which is not bundled with Bamboo: <https://github.com/HackAttack/bamboo-github-status> and <https://marketplace.atlassian.com/plugins/com.mhackner.bamboo-github-status/server/overview>

comments: author: Robert Praetorius
body: bamboo-github-status is no longer maintained.

[build-status-for-github](https://marketplace.atlassian.com/apps/1220795/) may (or may not) help (I haven't tried it yet, but google seemed to think it might be appropriate. If somebody else wants to be the guinea pig, let us know :-)


author: Erik Husby
body: Just tried this plugin on Bamboo 6.10.3, and it sort of works.

It generates <https://github.com/someorganization/somerepo/commit/commitvalue>

Which works if I am logged in to GitHub in that browser session. If I am not logged into GitHub, clicking the link gives a 404 error probably because of 2FA.


Tags: github
Why do commits from separate branches in Mercurial show up as "M" for each build?
Asked by Eric Bergemann:

We are using Mercurial as our source repository, and each build shows changes from other branches as "M", meaning that they were supposedly merged into the current branch, but they weren't. Changes that were never merged into the current branch are still showing up as changes made to the current branch.  

Also, in some cases, commits from other branches will even kick off builds for the current branch.   

How can we get around this issue?

![screenshot.png](/t5/image/serverpage/image-id/346i0468A8787C5366A1/image-size/large?v=v2&px=999 "screenshot.png")


Answers:
author: Przemek Bruski
body: Do you mean you're seeing changes from unrelated branches showing up in your branch commit list?

Please submit a support ticket via support.atlassian.com. Make sure you mention your Mercurial version and OS in the ticket.

comments: author: Eric Bergemann
body: Yes, unrelated branches, other branches, any way you want to put it. I'll create a support ticket for this.
Find build results for branch using API
Asked by zoredd:

I want to get *all active build results* for **my/branch** to see their status. How can I do that? I use [5.14.3.1](https://docs.atlassian.com/bamboo/REST/5.14.3.1/).

Currently I need to know plan key, that is **ABC**. I seek for bamboo branch ID:

```
search/branches.json?masterPlanKey=ABC&searchTerm=my-branch
```

That is **ABC123**, for example. Then I get results:

```
result/ABC123.json?includeAllStates=true
```

But I can have multiple plan keys (like **ABC** , **XYZ**, etc.)


Answers:
author: Cristiano Mariano
body: Hi! How are you doing?

In this case, the best solution seems to be iterate over all plans in you Bamboo instance, calling /search for each result. You can get the list of plans using /plan. Of course, in case you have lots of plans, this will run very slowly.

comments: author: zoredd
body: Thank you! It seems, that's the best solution for now :)
browser opened thru Selenium is not visible when run thru bamboo plan
Asked by Vigor:

We are running Bamboo plans that uses Maven task to open a browser using Selenium in Bamboo server. When this plan is executed then there is no real browser is shown when we try to see after logging in Bamboo server. Those browser instances are increasing when see thru Task manager in Bamboo machine.

We noted that we are logged in as a different user and in task manager, all new browsers are being invoked System user. I suspect there is no way to log into Bamboo windows server as a system that is why these browsers are not visible to other user.

can someone confirm this and also suggests if there any way to see these real browser opening ? thanks


Answers:
author: somethingblue
body: Hi Vigor,

Sorry for the late response but hopefully this helps you going forward.

I found an old case where Telerik addressed the issue with browser windows opening. In general you want to make sure that the CI agent service is **not** running as a **LOCAL SYSTEM** service and to make sure it's running as a local user per the [Running Bamboo as a Windows service as the local user](https://confluence.atlassian.com/bamboo/running-bamboo-as-a-windows-service-as-the-local-user-416580754.html) knowledge base article.

Cheers,

Branden


Tags: selenium
Resolved Date is not populating, when Resolution field is populated via Automation
Asked by Sumona Dhara:

Hi,

Due to the nature of business, i had to add all Resolution categories used for Incident, Change, SRs, etc, in the **Resolution** Field.

Now to avoid user confusion and keep data clean, i have created 2 custom fields for Incident and Change respectively and listed only the applicable Resolutions for each custom field.

++**Incident Resolution Category - available in Incident Resolve Screen**++

1. Software
2. Hardware
3. Database
4. Network
5. etc

++**Change Resolution Category - available in Change Completion Screen**++

1. Completed Successfully
2. Completed Partially Successful
3. Backed Out
4. etc

These 2 custom fields are available for Users to select in the closure screens respectively

Now i have added an Automation, where i have mapped each Resolution category from Incident/Change closure screen to trigger Auto-update of the system Resolution field.

This Automation is working absolutely fine and the system Resolution field gets set and updated with correct data each time an Incident or Change is Resolved/Completed, where status is transitioned to Done.

However the Resolved Date is not populating, and this is causing reporting issues.

I have run JQL queries to double check, and resolution is set and not empty, still the Resolve Date is not populating -

    statuscategory = Done and resolution is EMPTY

Is it because the Resolution is populating via Automation and not via Manual or post function in Workflow ?

Ideally if the Resolution is set, the Resolved date should populate. So kindly help whats the solution to this problem.


Answers:
author: Ines B.
body: It seems it works in cloud but not in DataCenter [Solved: Automation - set resolution \& resolution date (atlassian.com)](https://community.atlassian.com/t5/Jira-Software-questions/Automation-set-resolution-amp-amp-resolution-date/qaq-p/2283961#:~:text=It%27s%20not%20a%20bug%2C%20or,time%20the%20resolution%20was%20set.&text=Correct%2C%20but%20when%20the%20resolution,of%20the%20transition%20to%20work.&text=Ah%2C%20yes%2C%20that%27s%20a%20quirk,way%20you%20are%20doing%20it.) In a postfunction should work

comments: author: Sumona Dhara
body: Thank you, this was really helpful, i have applied that, just now. it worked.


author: Sumona Dhara
body: I have found a solution.

I have set the Resolution to "Resolved" via post function in the Workflow for the transition where statuscategory is Done.

Also, have left the Automation On to re-populate Resolution as per my mapping as mentioned above.

This way, the Resolved Date gets captured and populated as soon as the issue is Resolved/Completed, and Resolution gets updated as "Resolved"

and within few seconds the Automation kicks in and the Resolution field gets updated again as per my above mapping.


Tags: jira-service-desk-server

jira-service-management

jira-service-management-server

resolution

resolved-date
Licensed vs unlicensed users and access JIRA projects
Asked by Cristophe Pepe:

Hi,  

At my company we are currently using JIRA on premise and will have to go to the cloud.  
For the moment, we are using Kanban bards with our customers.  
We are a service center. Thus, we want to use JIRA Service Management (which includes everything about SLAs, etc.).  

I'm doing some tests on a temp environment. I've created:  

- I've created a JIRA service project

- 1 Jira software project with Kanban template.  

My idea was to create 1 service project per customer. Manage everything in there, permissions, etc. Also the "versions" (we're using them for release management and create swimlanes based on "fixVersion" in our Kanban board) + create 1 Kanban JIRA project and create 1 board per cutomer.  

In Jira service project, I've added a "customer". He gets the "Service Desk Customer" role. Which is a "unlicencied" role.  
I've added the same user to my Jira Kanban project.  

But if I authenticate with my user and I try to access the Kanban board, it's automatically redirected the the project portal page.  

Can you please confirm that it happens because of the "unlicencied" role of the user?  

How could I achieve what I describe here above? Thus: JIRA service desk is perfect for our service center.... but how to give access to a Kanban board to our customers (with possibility to create swimlanes and so)?  
Is the only option to create a specific "licenced" "Customer" role?  

Thanks a lot  

Best regards


Answers:
author: Mark Higgins
body: Hi Cristope,

The short answer is that you can not at present, as Customers can only see the portal.

Once, they are inside your 'project', then they are a licenced user.

You can present / share Dashboards, which it's not quite the same, but it would allow you to share the project information with your customers.

Hope this helps.

Mark

comments: author: Cristophe Pepe
body: Hi Mark,  

Thanks for your answer.  

If I follow the documentation on this page: <https://support.atlassian.com/user-management/docs/manage-jira-service-management-customer-accounts/#Original-user-management-content>, other option is to have Atlassian accounts for our customers. Of course they are licensed, but then we can use the same account for Jira Service Management, Jira Application, Confluence, etc.  

This is also an option for us.  


Tags: cloud

jira-service-management

jira-service-management-cloud

jira-software
Why is the customer invitation email I configured not the one that is sent to customers?
Asked by achapman:

In my service desk project, Project Settings \> Customer Notification \> Customer Invited Email: I have that email enabled and I've customized it with my own text. However, that is not the email customers receive when they're added to the Customers page on that service desk project. If I remove my custom email text by clicking "Revert to default" and add a customer, they still don't receive *this* email that starts with "Welcome to ${portal.name}.

The email they're receiving when I invite them is:

"Admin invited you to join them in Jira Service Management  
Start planning and tracking work with Admin and your team. You can share your work and view what your team is doing."

Where does that email come from and why is it being sent instead of the one configured for the Customer Invited email?


Answers:
author: Kris Dewachter
body: Hi [@achapman](/t5/user/viewprofilepage/user-id/5422601) ,

I think there is another email being sent by Atlassian when the customer doesn't have an Atlassian account yet. You can not configure this email.

Best regards,

Kris

comments: author: achapman
body: Thanks for replying to me so quickly!

Can you think of any other reason or explanation? I tested with an account that *does* have an Atlassian account already (my personal email account) and when I added them to my service project, they still received this default-looking email instead of the one I configured.


author: Kris Dewachter
body: Hi [@achapman](/t5/user/viewprofilepage/user-id/5422601) ,

On second look ... the email looks like somebody would get that is invited as an agent.

Can you double check if your 'Customer' doesn't have 'agent' access rights, or any other rights beside 'customer' ?

Best regards,

Kris


Tags: cloud

jira-service-management

jira-service-management-cloud
Adding additional Portal Instructions to a request (more than 255 characters)
Asked by Cathy:

Hi,

I would like to use a larger body of text to add Portal Instructions to a couple of request forms, more than 255 characters. Please can you advise how this can be done?

Many thanks,

Cathy


Answers:
author: Kris Dewachter
body: Hi [@Cathy](/t5/user/viewprofilepage/user-id/1689640) ,

Can you explain more in detail where you want to add these extra instructions ?

In each Request Type, you can add additional information in the fields

* Request type description
* Instructions

I tested them and they can hold more than 255 characters.

Best regards,

Kris

comments: author: Cathy
body: Thanks Kris, I have actually just seen this does hold more that 255 characters now! I'm not quite sure how that didn't work earlier!

Really appreciate your reply :)

Thank you


Tags: cloud

jira-service-management

jira-service-management-cloud
Can not link different sites issues although the option to do it is shown
Asked by Vera Valshonok:

I need to link different Sites Jira tickets

When seeing Linked issue in the ticket, there is showing an option off linking a ticket to other site Jira, but after adding a number of a ticket from that site, it shows and error. Please see a screenshot attached.

Can we link such tickets and if can't why do we have this option showing to us?


Answers:
author: Kris Dewachter
body: Hi [@Vera Valshonok](/t5/user/viewprofilepage/user-id/5174542) ,

Can you add the screenshot of the error to this post ?

It's possible to link issues, but only on the same instance.

If you want to link issues from other instances, you will need to setup an application link. This post discusses this <https://community.atlassian.com/t5/Jira-Software-questions/How-can-I-refer-to-an-issue-on-a-different-Jira-Cloud-Instance/qaq-p/1338977>

Best regards,

Kris

comments: author: Vera Valshonok
body: Thanks, the post is really helpful


Tags: cloud

jira-service-management

jira-service-management-cloud
How to link issues between two different Jira instances based on the Custom field value
Asked by @Akshithrekulapelli:

Hi team,

We want to link issues (Issue linking) between two different JIRA instances based on the custom field value.

We have a JSM project where we have a custom field called JIRA-Ticket which stores Jira issue key all we want is to link the JSM issue with the JIRA issue based on the JIRA-Ticket value for example if "JIRA-Ticket" field value is ABC-123 then we want to link JSM issue to JIRA issue with the same key ABC-123 using automation.

Can you please help us how we can achieve this using Automation.


Answers:
author: Matthias Gaiser _K15t_
body: Hi [@Akshithrekulapelli](/t5/user/viewprofilepage/user-id/4837559)

if you want to do so, please make sure that you have an [application link](https://support.atlassian.com/jira-cloud-administration/docs/use-applinks-to-link-to-atlassian-products/) established between both Jiras.

If you have that, I actually wonder about your requirement - why don't you simply create the issue link via the UI instead of manually typing a Jira issue key?

Let's assume you have a good reason to do so, you'd need to look into the [Jira Rest API for Remote Issue Links](https://developer.atlassian.com/server/jira/platform/jira-rest-api-for-remote-issue-links/) and use this to establish the link via sending web requests to both Jiras.

Cheers,  
Matthias.


Tags: automation

cloud

jira-service-management

jira-service-management-cloud

jira-software