youngmon/atlassian-qna huggingface dataset:
Typescript files are getting ignored by Bamboo Source Code checkout task
Asked by Rahul Pareek:

I have a Bamboo Plan which builds a source code repository linked in BitBucket. The BitBucket repo has few type script files (.ts files) also under a folder in the solution.

While running the Bamboo Plan, during source code checkout task of Bamboo plan runs it does not copy that particular folder which has .ts files on the Bamboo Server.

Could anyone help us to know why those files / folder getting ignored?


Answers:
author: somethingblue
body: HI Rahul,

Are you using multiple branch plans?
> Where a Build Plan makes use of Plan Branches, and those Plan Branches define exclusion triggers, make sure the '***Clean working directory after each build*** ' field is checked, under ***{Plan Configuration \> Default Stage \> Miscellaneous}***

Take a look at the Communities post [Solved: Some Bamboo Branch Plan Triggers are ignoring excluded files](https://community.atlassian.com/t5/Questions/Some-Bamboo-Branch-Plan-Triggers-are-ignoring-excluded-files/qaq-p/343915) for more information and some regex that may be useful.

I would also [increase the Bamboo logging](https://confluence.atlassian.com/bamboo/logging-in-bamboo-289277239.html) and reproduce the issue. Check the Bamboo logs to see if there are any error message or clues as to what Bamboo is doing when it sees these files.

Cheers,

Branden


Tags: bitbucket

developer
Bamboo specs: Trigger -> Argument name can not be null
Asked by Torsten Stach:

I have export an build plan with bamboo version 6.1.1.

A run of the exported code throws an exception.

I can't find a property 'name' on the trigger page.

Exception in thread "main" ++com.atlassian.bamboo.specs.api.exceptions.PropertiesValidationException++: Argument name can not be null.

at com.atlassian.bamboo.specs.api.validators.common.ImporterUtils.checkNotNull(++ImporterUtils.java:100++)

at com.atlassian.bamboo.specs.api.validators.common.ImporterUtils.checkNotNull(++ImporterUtils.java:92++)

at com.atlassian.bamboo.specs.api.validators.common.ImporterUtils.checkNotBlank(++ImporterUtils.java:140++)

at com.atlassian.bamboo.specs.api.validators.common.ImporterUtils.checkNotBlank(++ImporterUtils.java:132++)

at com.atlassian.bamboo.specs.api.model.trigger.TriggerProperties.validate(++TriggerProperties.java:72++)

at com.atlassian.bamboo.specs.api.model.trigger.RepositoryBasedTriggerProperties.validate(++RepositoryBasedTriggerProperties.java:48++)

at com.atlassian.bamboo.specs.api.model.trigger.AnyTriggerProperties.validate(++AnyTriggerProperties.java:53++)

at com.atlassian.bamboo.specs.api.model.trigger.AnyTriggerProperties.\<init\>(++AnyTriggerProperties.java:37++)

at com.atlassian.bamboo.specs.api.builders.trigger.AnyTrigger.build(++AnyTrigger.java:59++)

at sun.reflect.NativeMethodAccessorImpl.invoke0(++Native Method++)

at sun.reflect.NativeMethodAccessorImpl.invoke(++NativeMethodAccessorImpl.java:62++)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(++DelegatingMethodAccessorImpl.java:43++)

at java.lang.reflect.Method.invoke(++Method.java:498++)

at com.atlassian.bamboo.specs.api.util.EntityPropertiesBuilders.build(++EntityPropertiesBuilders.java:21++)

at com.atlassian.bamboo.specs.api.builders.plan.Plan.triggers(++Plan.java:264++)

at PlanSpec.main(++PlanSpec.java:146++)


Answers:
author: Alexey Chystoprudov
body: Hello,

It's known issue in code generator. Will be solved in Bamboo 6.2 release: <https://jira.atlassian.com/browse/BAM-18685>
Bamboo MSBuils task - Microsoft.WebApplication.targets" was not found
Asked by suseela kaiwar:

my MSbuild task for .Net is keep on failing with below error for all the projects

Microsoft.WebApplication.targets" was not found, I'm not finding any solved solutions on line with bamboo MSBuild setup. Need help.


Answers:
author: Jeyanthan I
body: With the little information you have provided, I just googled the error and found [this post.](https://community.atlassian.com/t5/Bamboo-questions/How-can-I-fix-this-Bamboo-build-error-error-MSB4019-The-imported/qaq-p/80578) Did you follow the steps mentioned there?
> Can you please try to run the same project from the command line of your EC2 instance (from the same directory where Bamboo tries to run your project) using the same user that runs the elastic agent. If you get the same error running your project from command line (without Bamboo) then the problem is not really related to Bamboo.

if it works fine from command line, check the following

* if the path you have given in Project File field is enclosed in double quotes (")
* Check if you are running as the same user and with the same environment variables. Compare the environment variables of both command line and Bamboo by running the command "**SET**" (using a script task before MSBuild task) and spot the difference and fix it.
Unable to publish artifact [Latest JAR]: the source directory
Asked by Jozsef Lehocz:

Plan runs successful, artifact created, but

```
"No artifacts have been found for this build result."
```

is the message on the Artifacts tab.

In the error log:  

```
19-Sep-2017 09:37:45Unable to publish artifact [Latest JAR]: the source directory /var/atlassian/application-data/bamboo/xml-data/build-dir/POTCLIENTMODULE-POTCLIENTMODULEPILOT-JOB1/build/libs/release does not exist.
```

The missing directory existed before running the plan, but after running it was disappeared.

<br />

How to fix this?


Answers:
author: Jozsef Lehocz
body: In the plan we have one stage with one default job. The job includes two tasks, source code checkout and gradle. The source code checkout directory can be specified in the source code checkout configuration. The working directory cna be specified within the Gradle configuration. The location can be specified in the Artifact definition. The entered path in each configurations should be the same directory to avoid the error. For default location the path is not needed to define, so the fields in each configurations can be left empty.


author: somethingblue
body: Hi Jozsef,

* If you re-create the directory can you reproduce the issue?

So this is showing us the source directory doesn't exist, so was it possibly cleaned up during the build run.

[A build log](https://confluence.atlassian.com/bamboo/viewing-a-build-log-289276924.html) might help to see what happened there. If you can re-create the issue please do so and post the log snippet from the time you reproduced the issue.

If you cannot take a look at the [logs](https://confluence.atlassian.com/bamboo/viewing-a-build-log-289276924.html) from the time the build occurred and see if there are any clues. If nothing jumps out at you please post the log snippet here and we'll take a look.

Cheers,

Branden

comments: author: Jozsef Lehocz
body: Branden thank you for the suggestion, we already checked the logs, I described the solution below, which worked for us.
Is there a way to scp bamboo server to windows remote agent
Asked by Adrian_Quiambao:

Hi,

I just want to ask if there's a workaround to send a file from our bamboo server linux to a windows server.

Basically I want to send the artifact that was produced to the windows remote server.


Answers:
author: Jeyanthan I
body: Hi Adrian,

You will just need to add an [scp task](https://confluence.atlassian.com/bamboo/using-the-scp-task-in-bamboo-305759795.html) at the end of your plan, so that you can move your artifacts to the remote Windows server.

Note: You need SSH daemon/service ([pscp](https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html) for instance) to be running on your Windows machine, so that you can scp into it.

comments: author: Adrian_Quiambao
body: Hello Jeyanthan,

I've already had an scp task on my deployment project. Problem is the SSH daemon on windows server, I tried the pscp you've mentioned and also cygwin but it's not working.

Regards,

Adrian


author: Adrian_Quiambao
body: Oops, My bad I've forgotten to check the firewall settings of windows. This can be considered solved. Thanks for your response.


author: muratgur
body: Is it possible to give detailed information about pscp (or cygwin) and firewall settings.
Remote Agents need SQL database
Asked by Matt Banham:

When I look through the documentation for Bamboo, it's unclear to me whether or not the remote agent needs to have an SQL database. This would be heavy-duty for us as we're trying to keep the remote machines as light on configuration as possible. Do I need the whole Bamboo server spec just to run a remote agent?


Answers:
author: Alexey Chystoprudov
body: No, remote agents requires only java and any other tool you use in your build: Ant, Node.js, MSBuild etc


author: Jeyanthan I
body: Hi Matt,

You do not want a database to [run a remote agent](https://confluence.atlassian.com/bamboo/bamboo-remote-agent-installation-guide-289276832.html). That said, you will have to run the remote agent only with a [supported JDK](https://confluence.atlassian.com/bamboo/supported-platforms-289276764.html). However, Agents can build software with any JDK version.

Hope that clarifies.
Bamboo Link build plan - strange text format issue
Asked by junfang li:

I have upgraded Bitbucket and Bamboo to the latest version.

When I try to link a build plan in a new deployment project, I got an invalid character for "\>" after I select a build plan from the dropdown. Due to this invalid character I cannot create a plan.

Please see screenshot below:

After I select a build plan from the dropdown:

![bamboo2.JPG](https://community.atlassian.com/t5/image/serverpage/image-id/6436i8360BD2631CE4A64/image-size/large?v=v2&px=999 "bamboo2.JPG")

When I clicked on the drop down:

![bamboo1.JPG](https://community.atlassian.com/t5/image/serverpage/image-id/6438iB3ACDDF837001843/image-size/large?v=v2&px=999 "bamboo1.JPG")


Answers:
author: Alexey Chystoprudov
body: <https://jira.atlassian.com/browse/BAM-18403>


author: Jeyanthan I
body: I suspect this is caused due to the wrong encoding. Check if the encoding is set to UTF8 by going to ***Overview -\> System Information*** . If not, just follow [this page](https://confluence.atlassian.com/bamkb/how-to-change-the-wrong-encoding-in-bamboo-that-is-causing-the-application-to-crash-318670134.html)to update it

1. Shutdown Bamboo

2. Edit \<Bamboo Installation Dir\>/bin/setenv.sh

3. Add this line in quotes under JVM_SUPPORT_RECOMMENDED_ARGS=

       -Dfile.encoding=utf-8 -Dsun.jnu.encoding=utf-8

4. Restart Bamboo and check that your system encoding changes to utf-8 from the System information page.

Note: If you are using Windows and using Bamboo as a service, you may have to set JVM_SUPPORT_RECOMMENDED_ARGS in Bamboo service by following this page - [Configuring your system properties](https://confluence.atlassian.com/bamboo/configuring-your-system-properties-289277345.html#Configuringyoursystemproperties-Windowsservice).
Can Bamboo do that?
Asked by Aleksandr:

Hi everyone,

I have been using Bitbucket for a long time and it ok.

Now i realized that i need to automate the build and deployment tasks for the projects. So as i understood the Bamboo is a tool that can do that.

I have several projects stored into bitbucket. So Bamboo needs to get those projects from bitbucket repository. Then build the projects using make file.

Then i wand to run a script which created a setup (installation) files for the project.

Can Bamboo do that?


Answers:
author: Jeyanthan I
body: This is certainly possible with Bamboo. This [Getting started guide](https://confluence.atlassian.com/bamboo/getting-started-with-bamboo-289277283.html) might help you to start with it. This page tells you [what Bamboo can solve](https://confluence.atlassian.com/bamboo/understanding-the-bamboo-ci-server-289277285.html).

You just need the following tasks in your [plan](https://confluence.atlassian.com/bamboo/creating-a-plan-289276868.html).

* Use [Source code checkout](https://confluence.atlassian.com/bamboo/checking-out-code-289277060.html) task to checkout your code from Bitbucket.
* Depending on the project, use the appropriate tasks to build.
* [Script task](https://confluence.atlassian.com/bamboo/script-289277046.html) can run any scripts you need.

comments: author: Aleksandr
body: thanks for reply. i will try.
My SLA Fields disappeared
Asked by Rodolfo Klemen:

Hi,

it seems that for some reason the SLAs have disappeared from our tickets and are not shown in queues.

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

This is where they used to be in the forms

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

And in the configs they are still there

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

Can you please advise? What could have happened?


Answers:
author: Kate Pawlak _Appsvio_
body: I guess it can be connected with this incident: <https://jira-service-management.status.atlassian.com/incidents/pp4chrl80ltq>.

comments: author: Rodolfo Klemen
body: It seems to be, situation is now normal.

Thank you kindly for the feedback!


Tags: cloud

jira-service-management

jira-service-management-cloud
Can I somehow monitor or be warned when email queue fills up with delays emails?
Asked by Ioannis Dafnis:

There has been noticeable delay with the sending of email notifications after the creation of two completely different (but major) incidents from separate projects.

It is my understanding that the defined timers behind the email batching configuration and the email queue may end up causing some delays and want to check if there is a way for me to be informed when the email queue has filled up and the emails have not yet been sent after a specific and expected time frame.


Answers:
author: Brant Schroeder
body: [@Ioannis Dafnis](/t5/user/viewprofilepage/user-id/5434010) welcome to the Atlassian community

You should not see outgoing mail delays in JS, it should be less than a minute. Couple of things to look at. If you are using a custom email address it could be delayed on your end. If you are sending lots of emails to your employees you might have filtering or processing delays on your email server and should also check there.


Tags: cloud

jira-service-management

jira-service-management-cloud

notification
Reg. dashboard creation
Asked by pradeep auradkar:

Hi I have a tam of 12 members in the project and I want to measure their CSAT scoring, which they get from the customers after completion of their tickets. I need a dashboard where I should see their names and their csat counts

how can I create ?


Answers:
author: Marc - Devoteam
body: Hi [@pradeep auradkar](/t5/user/viewprofilepage/user-id/5394733)

Ootb this is not possible.

This would require a marketplace app to expand your dash boarding options.

Like:

* Custom Charts for Jira Reports and Time in Status
* Rich Filters for Jira Dashboards
* Reports - Charts and Graphs for Jira Dashboard


Tags: jira-service-desk-cloud

jira-service-management

jira-service-management-cloud
Customer replies are not added to tickets
Asked by Jovita Moguleviciute:

I'm having trouble understanding why we are not receiving customer replies under tickets. When we add a comment to a ticket, the email seems to go through, however, we do not receive replies from customers. I've reviewed the permissions, the notification scheme, the request type is "Emailed request" which is linked to an email channel. I've also checked the Processing log and didn't find anything.  
Upon receiving a ticket I changed the reporter to the preferred one, could it be causing this?  
Is there anything else I could check?


Answers:
author: Kris Dewachter
body: Hi [@Jovita Moguleviciute](/t5/user/viewprofilepage/user-id/5388680) ,

Is your email channel active ? Is the email address mentioned here the same as the email address that is used to sent out the emails ?

Did you check the logging of the email channel ?

What do you mean when you say you changed the reporter after ticket creation ? Why do you do that ?

Best regards,

Kris

comments: author: Jovita Moguleviciute
body: Hi, [@Kris Dewachter](/t5/user/viewprofilepage/user-id/4588367) ,  

It is an active email channel. I did check the email logs and did not identify any new comments (replies made by customers are considered comments in the log as far as I understand).  
The reporter was changed because a team member forwarded an email with an issue that a customer had to Jira, therefore, the team member was the reporter. To respond to the customer via the ticket, the customer's email address was added instead.


author: Kris Dewachter
body: Hi [@Jovita Moguleviciute](/t5/user/viewprofilepage/user-id/5388680) ,

If you don't find the email in the logs, then i presume the reply did not reach the mailbox. Can you double check somehow to which email address the reply was sent.

If an email was received, but could not be connected to an existing ticket, i presume a new ticket would be created, or a FAILED error message would be visible in the logs.

Best regards,

Kris


author: Jovita Moguleviciute
body: I'll try to look into the email address. Just to confirm - the change of the reporter should not affect the communication, is that right?


author: Kris Dewachter
body: To be honest .... I don't know if the change of email address has an effect on the import process. If so, I would expect a message in de logs


Tags: cloud

jira-service-management

jira-service-management-cloud
Automating Status Updates Across Projects for Linked Issues of a differnt project
Asked by Mahmoud Dahia:

Hello

I'm facing a challenge with automating status updates between two projects: My goal is to synchronize status updates of service requests of a project with the status of a linked development issues from another project.

The idea is to automate the status update of the service request based on the status change of the linked development issue: If the issue in the Dev Project changes to "preestimate", the service request of the Service request Project status should automatically update to effort estimation and also If the dev issue's status goes to "backlog", the service request should change to "new development".

I would appreciate any guidance, examples, or references to documentation that could help us set up this automation.

Thank you in advance for your support!


Answers:
author: Mohamed Benziane
body: Hi,

You can use something like this![Automation.png](https://community.atlassian.com/t5/image/serverpage/image-id/307508iD8561CB0258D9914/image-size/large?v=v2&px=999 "Automation.png")

You could alson add a condition after the For:Linked issues

comments: author: Mahmoud Dahia
body: HI Mohamed

Thank you very much!

It worked

Best


author: Mahmoud Dahia
body: HI Mohamed!

Quick Question: I created this auto but instead aof choosing to linked issues 'relates to' I choose 'blocks'.

Waht is the diference between the two?

Thank you in advance


author: Mahmoud Dahia
body: [@Mohamed Benziane](/t5/user/viewprofilepage/user-id/1531125)


Tags: cloud

jira-service-management

jira-service-management-cloud
Hide "Approver" and "Shared with" sections from the customer portal.
Asked by Arooba Al Siyabi:

I want to hide the "Change manager approval" and "Shared with" sections from the customer portal:

![Screenshot 2024-02-20 170411.png](/t5/image/serverpage/image-id/307434i642A0831B7B390A1/image-size/large?v=v2&px=999 "Screenshot 2024-02-20 170411.png")

I am using the service management (could), Please If you have any segregation how to do it?


Answers:
author: Marc - Devoteam
body: Hi [@Arooba Al Siyabi](/t5/user/viewprofilepage/user-id/5433922)

On the approval, if there is an approval required on a status, the options to approve or decline are visible on the portal, as the required approver or approvers can do this on the portal or via the email they receive.

This can't be removed.

The share with option can be removed, but this is related to the customer permissions on the project.

See [share-with-button-differences-and-behaviors-on-jsm-portal](https://confluence.atlassian.com/jirakb/share-with-button-differences-and-behaviors-on-jsm-portal-1188784642.html)


Tags: cloud

jira-service-management

jira-service-management-cloud
automation rules importing
Asked by shivani shirguppi:

I have imported automation rules from one instance to another. now will those users who were part of automation get notified or get invitations to imported instance? how can i avoid this.

i don't want them to be in my instance


Answers:
author: John Funk
body: Hi Shivani,

If they are not valid users in the new instance they should not receive the notices. But it also depends on how you created/implemented the rule. If used an email address instead of a user account, then yes, they will get the message. You would need to review each rule to see.

comments: author: shivani shirguppi
body: I have disabled the customer notifications and also diabled the automations still they get notified?


author: John Funk
body: Can you provide an example of a rule that you are not sure about?


author: Brian Trepto
body: Hi [@shivani shirguppi](/t5/user/viewprofilepage/user-id/5241115)

can you please clarify what method you used to import the automation rule?

comments: author: shivani shirguppi
body: imported the json file which i ecported it from the older instance


Tags: cloud

jira-service-management

jira-service-management-cloud
JSON script
Asked by xandrico:

Hello,  

I am trying to add a request type using JSON within automation.   
I cant find the right code to add this field.  

Anybody a idea?


Answers:
author: Nikola Perisic
body: Hello [@xandrico](/t5/user/viewprofilepage/user-id/5428924)

I believe that you are looking for API rather than JSON, since you will get the response in JSON format.

The API for creating the request type: <https://developer.atlassian.com/cloud/jira/service-desk/rest/api-group-servicedesk/#api-rest-servicedeskapi-servicedesk-servicedeskid-requesttype-post>


Tags: cloud

jira-service-management

jira-service-management-cloud