youngmon/atlassian-qna huggingface dataset:
Unable to setup bamboo
Asked by Adeeb Khan:

![localhost_page_not_found.jpg](/t5/image/serverpage/image-id/8956iC483DB6064C5944A/image-size/large?v=v2&px=999 "localhost_page_not_found.jpg")this is the screenshot of my logs.

when i am pasting this url "http://localhost:8085/" in my chrome browser.

this is showing error "

"This localhost page can't be found". {#toc-hId-1764850370}
-----------------------------------------------------------

i did every stem as mentioned in the following URL:

<https://confluence.atlassian.com/bamboo/installing-bamboo-on-windows-289276813.html>

unable to resolve further from this.

help me to set up bamboo.

thank you


Answers:
author: robhit
body: As the logs says "address already in use" probably the bamboo instance is already running and you are starting one more of it thus the address clash

also, check for the use of port 8085, check if it is available or not.

you can use wmic command in windows powershell to see your current running processes


author: robhit
body: As the logs says "address already in use" probably the bamboo instance is already running and you are starting one more of it thus the address clash

also, check for the use of port 8085, check if it is available or not.

you can use wmic command in windows powershell to see your current running processes
Bamboo Server 6.2.2 SSH & SCP fail to connect most of the time
Asked by James Elder:

Hi,

I have 2 SSH and one SCP task in my deployment plan, all connecting to a server TJiraHost.ac.local on the local network using port 22.

These tasks seem to fail 99% of the time and then occasionally they succeed.

Whats even more interesting is that whilst this is failing, if I manually SSH using putty from the box on which the Bamboo server is running to TJiraHost.ac.local on port 22 (using the same login details) the putty connection succeeds - every time.

Therefore, I know the hostname, port, username and password are correct, but I cannot figure out why Bamboo fails whilst putty succeeds.

At first I thought it may be related to the keep alive so I set this to 5s for each task and still faced the same issue.

Just for completeness, TJiraHost is running CentOS and the Bamboo server is a Windows server.


Answers:
author: James Elder
body: This ended up being purely a network based error.

Essentially, the builds were occurring 99% of the time on a remote agent, from which the SSH connections would also then be attempted. However, this remote agent was not able to see the deployment server due to subnet issues.

The other 1% of the time the SSH connections were made on the local agent (the machine from which I successfully tried SSH using putty). This local agent was able to see the deployment server as it had visibility of both of our subnets. This meant in these 1% of deployments the SSH tasks passed without issue.

comments: author: Paridhi.Jain
body: I'm facing the similar issue. In my case I want to ssh to one of my EC2 instances on aws from Bamboo's local agent. Both are inside the same VPC. I can ssh to my EC2, if I'm logged into Bamboo's local agent. But, I want to achieve the same using ssh task in Bamboo. Do you think Imight also have an issue with the subnet's settings? How can I check that?


Tags: scp

ssh
Bamboo repository polling stopped working
Asked by Wayne Wayne:

Hello,

We have numerous build plans with a mixture of SVN and Bitbucket repositories. About half of the jobs are configured with repository polling as build triggers, but it stopped working overnight. There are no information in the logs regarding polling. Can someone help me with what I should do for next steps? I'm avoiding system downtime from restarting Bamboo. Thanks a bunch.


Answers:
author: Marcin Gardias
body: Hi,It's hard to tell why this happened without actually looking at your instance. Is the problem existing only for some builds or all of them? If it's only for certain builds it might be a problem with particular repository configuration. If this happens for all builds, it might be that all change detection threads are locked up for some reason. Some ideas:

are you observing any long running git processes in your system? can you try generate some thread dumps and paste them here? (you can also create a support zip: <https://confluence.atlassian.com/support/create-a-support-zip-790796819.html>, it will include thread dumps)

Last not least: restarting Bamboo might be actually the fastest way of resolving this.
Bamboo REST API: Get all plan builds with specific label
Asked by Alek Boninski:

Hello everyone,

I'm new to the Bamboo REST API and I've been trying to do the following.

I want to get all successful builds of a plan, which have a specific tag.

I tried the following GET request:

https://myhost/rest/api/latest/result/PROJECT-PLAN.json?buildstate=Successful\&expand=results.result.labels\&results.result.labels.label.name=release

This request however only shows all successful builds, but it doesn't filter the labels.

Is there a way to filter this using only the REST API?

Thanks in advance!


Answers:
author: Alek Boninski
body: UPDATE:

I was able to do this using the following argument:

\&label=release


Tags: rest
Bamboo server - Slow downloads speeds
Asked by aengle-smsi:

Hi, We moved Bamboo to a new Cent OS 7.2 server. For some unknown reason we are have slow download speeds. We have secured the server using nginx acting as a proxy/SSL. But, even when allow download directly from Bamboo over port 8085 they are slow and time out 50% of the time.

We haven't noticed any build issue but once the build is completed and we attempt to download it.

Thanks!


Answers:
author: Gonchik Tsymzhitov
body: Dear Alan,

it will be nice if you provide kindly your top(or htop) screenshots, free -mt.

Looks like problem with limits, please, provide

```
cat /proc/sys/fs/file-max

ulimit -a
```

Please, review it

<https://wiki.mikejung.biz/OS_Tuning>

Cheers,

Gonchik Tsymzhitov

comments: author: Tobias Karlsson
body: Here are some more information on my and Alan's problem:  

```
free -mt

total??????? used??????? free????? shared? buff/cache?? available

Mem:????????? 15887??????? 2069??????? 2962?????????? 8?????? 10855?????? 13469

Swap:????????? 7999?????????? 0??????? 7999

Total:??????? 23887??????? 2069?????? 10962
```

```
cat /proc/sys/fs/file-max

1614736
```

```
ulimit -a

core file size????????? (blocks, -c) 0

data seg size?????????? (kbytes, -d) unlimited

scheduling priority???????????? (-e) 0

file size?????????????? (blocks, -f) unlimited

pending signals???????????????? (-i) 63462

max locked memory?????? (kbytes, -l) 64

max memory size???????? (kbytes, -m) unlimited

open files????????????????????? (-n) 16384

pipe size??????????? (512 bytes, -p) 8

POSIX message queues???? (bytes, -q) 819200

real-time priority????????????? (-r) 0

stack size????????????? (kbytes, -s) 8192

cpu time?????????????? (seconds, -t) unlimited

max user processes????????????? (-u) 63462

virtual memory????????? (kbytes, -v) unlimited

file locks????????????????????? (-x) unlimited
```

i added

/etc/security/limits.d/limmits.d/99-config.conf

```
* hard nofile 65536

* soft nofile 16384
```

MariaDB and bamboo was restarted

No different behavior on the server.
Workspace won't open
Asked by ???? ????????:

The workspace does not open, but says that "database synchronization is taking a little longer than usual and please try again after a while"


Answers:
author: Brant Schroeder
body: [@???? ????????](/t5/user/viewprofilepage/user-id/5438658) Welcome to the Atlassian community

Are you still having this issue? Is it happening in all browsers?


Tags: cloud

jira-service-management

jira-service-management-cloud
Integration with other products
Asked by Miquel Angel Pe?a:

Hi team

Any experience connecting the JAGGAER purchasing platform with Jira Service Management?  

Many thanks for your interest.   

M.A.


Answers:
author: Miquel Angel Pe?a
body: Hi Jehan  

I will make the query to the purchasing platform. And all for an RFQ!  

Many thanks for your interest.   

M.A.


author: Jehan Bhathena
body: Hi [@Miquel Angel Pe?a](/t5/user/viewprofilepage/user-id/5438619) ,

Don't have any experience with Jaggaer but as per their documentation <https://www.jaggaer.com/trustcenter/integrations/> they have an API available.

You can try to use these API's to integrate it with Jira.

Other than this I would suggest you check with Jaggaer's support team to see if they know of any soln. that lets you integrate both the tools.


Tags: cloud

jira-service-management

jira-service-management-cloud
Customer Portal
Asked by Shanara Sadeque:

Hi

We currently have a customer portal which users can use to raise tickets by filling out various forms.

We also have a Techbar team and users can visit the Techbar in person to handle their issues. Any issues that the Techbar deals with in person, also requires a ticket.

I am trying to find a way to display a single form on an ipad which would sit on the Techbar desk which users can use to raise a ticket while they wait to be seen by a Techbar agent.

This would be a simple form which will take the users info and info of the issue and raise a ticket. Once user 1 has submitted the issue, I need the page to go back to an empty form, ready for the next user.

Is anyone able to suggest if there is any feature or workaround I can use to achieve this?

Thanks!


Answers:
author: Marc - Devoteam
body: Hi [@Shanara Sadeque](/t5/user/viewprofilepage/user-id/5029949)

So you can simply set the URL to the form required in the browser or via a shortcut on a tablet.

I think you need to research how a browser can revert after time to the "homepage"

Tis is not an Atlassian feature, but relates to the browser. You need to see at browser add-ons that could provide this "kiosk" like feature


Tags: cloud

jira-service-management

jira-service-management-cloud
can't find button "Upload an application" in an air gapped JS and JSM installation
Asked by Luca Deboli:

We need to upgrade our Windows based JS and JSM setup from version 8.20.9 to latest LTS 9.12.4.

After we successfully upgraded via the installer JS, as always we need to upgrade JSM via "Upload an Application" in Applications-Versions and Licenses page.

The link to upload an application is not there anymore!

Since it's air-gapped we can't reach the internet directly from the server.

How could we upgrade our JSM ? Thanks!


Answers:
author: Nic Brough -Adaptavist-
body: Hi Luca,

Could you show us a screenshot of where you expect to see the upload option? Include the URL (but feel free to obscure or crop your server domain, we're only interested in the "where you are in Jira" part of it)


Tags: jira-service-desk-data-center

jira-service-management

jira-service-management-data-center

jira-service-management-server

server
Get field values of transition screen in comment template?
Asked by Charlie Misonne:

Hi Community!

I need predifiend comment for the JSM agents to use. Several solutions already exists: out of the box *canned responses* , *canned responses pro (Appfire),* *comment templates (part of scriptrunner)*

I also need to use custom fields in the comments which is not possile with the default canned responses.

Here is the difficlult part: when the agent changes the value of a custom field on a **transition screen** the comment template should use that new value and not the value that is currently saved on the issue.  
It does not seem possible with Appfire's solution (confirmed by vendor).

In the example below I want the new value of *unavailability type* in the comment.

![2024-02-26 11_06_49-Send Communication - Jira.png](/t5/image/serverpage/image-id/308591i26D3431508D0A737/image-size/large?v=v2&px=999 "2024-02-26 11_06_49-Send Communication - Jira.png")

I know the value is not stored in the issue until the transition has been executed. But is their a way to access the transition field values with the groovy code?

This scriptrunner code gets the current value on the issue (not the transition screen value)  

```
def cfUnavailability = customFieldManager.getCustomFieldObjectsByName("Unavailability Type")[0]

config.unavailabilityType = issue.getCustomFieldValue(cfUnavailability)

return true
```

```
${config.unavailabilityType}
```

Any ideas?


Answers:
author: Peter-Dave Sheehan
body: Hi Charlie

I pondered your use case a bit and came up with the following...

1) From a script runner post function, you can read the comment supplied by the user (or a template tool) using the transentVars variable in the binding.

2) Using groovy GStringTemplateEngine, you can interpret code in ${} in the comment.

Put together in a simple example script:  

```
package com.qad.its.jira.workflow.postfunction

import groovy.text.GStringTemplateEngine

def engine = new GStringTemplateEngine()
def currentComment = transientVars.comment
log.info "CurrentCOmment=$currentComment"
if(currentComment) {
    //run the currentComment through a GStringTemplateEngine to interpret ${}
    def newComment = engine.createTemplate(currentComment).make(transientVars)
    log.info "NewCOmment: $newComment"
    transientVars.comment = newComment.toString()
}
```

Then if you configure your template, to automatically include:

```
This is the text part of the template/canned response 
Unavailability Type= ${issue.getCustomFieldValue('Unavailability Type').value}
More from the template.
```

**There are definitely some security risks in allowing any code to be interpreted like this by anyone posting a transition.**

**For example, I can include ${issue.addComment('comment within a comment')} in my comment and this will generate another comment**

**So maybe you prefer to hard-code the replacement. Or limit the kind of substitutions that are allowed.**

But now, you should have the tools to read an existing comment and overwrite it as necessary.


Tags: canned-response

comment

data-center

jira-service-management

jira-service-management-data-center

scriptrunner
How to automatically add the person as the request participant in Jira
Asked by alexej_friedrich:

Hi there,

My goal is to create a ticket through an email request and add a person who should be involved in the ticket every time the ticket updates, by including them in the CC field. I'd like to have this person or persons added to the request participants field. Is it even possible to make it work that way?

Thank you for all the answers.


Answers:
author: Rilwan Ahmed
body: Hi [@alexej_friedrich](/t5/user/viewprofilepage/user-id/5198836) ,

1. Anyone with access to the service project can add request participants by including the participant's email address in the "To" or "Cc" field when creating the request.
2. Depending on your JSM customer access settings and project's customer permissions, users will be able to add people to the project as new customers by including their email address in the "To" or "Cc" field when replying to a request's email notification.

More details in <https://support.atlassian.com/jira-service-management-cloud/docs/add-request-participants-through-email/>


Tags: cloud

jira-service-management

jira-service-management-cloud
Validation for User Picker (multiple user)
Asked by Mohamed Saad Taha:

Hello,

Iam using User Picker (multiple user) filed and I want to make validation that the user is selection two users not only one user ?

I have script runner and magic box plugin


Answers:
author: Vicente Dom?nguez _Decadis AG_
body: Hello [@Mohamed Saad Taha](/t5/user/viewprofilepage/user-id/4963037),

I am part of the support team of Decadis and I would like to propose a solution using our app [Jira Workflow Toolbox](https://apps.decadis.net/display/JWTSDC).

By using the [Logical validator](https://apps.decadis.net/display/JWTSDC/Logical+condition) in combination with the [numberOfSelectedItems()](https://apps.decadis.net/pages/viewpage.action?pageId=29524521) parser function it would be possible to block a transition if the number of selected users in a User Picker (multiple users) is different from two with the following expression.

```
numberOfSelectedItems(%{issue.cfnnnnn}) = 2
```

Please, replace "nnnnn" in the above expression with the ID of the custom field if needed when testing.

If you need more information about this or other implementations, please, do not hesitate to contact us in this thread or via our [Support Service Desk](https://support.decadis.net/) or visit our [documentation](https://apps.decadis.net/spaces/viewspace.action?key=JWTSDC).

Best regards,

Vicente


Tags: data-center

jira-service-management

jira-service-management-data-center
Is this possible to add an Excel document to a Jira Form in JSM ?
Asked by Caroline SCENI:

Hi everybody !

I am looking for an easy way to insert an Excel file at the end of a Jira form.

I would like users to first fill different fields of the Jira form in which the file is attached, then, to download the excel file (when it's empty), so that the user can fill it then download it as attachment to the form once it's filled.

Can anyone propose a solution to do it ?

Thank you for your help !


Answers:
author: Kris Dewachter
body: Hi [@Caroline SCENI](/t5/user/viewprofilepage/user-id/5219634) ,

I don't think it is possible to implement what you describe.

For a customer, I implemented the following scenario.

* I added an Excel file to the Confluence Knowledge base
* In the form, I added a link to this Excel file
* The customer is able to download the form, fill it, and add it as an attachment to the form.

Does this help ?

Best regards,

Kris


Tags: cloud

jira-service-management

jira-service-management-cloud
How to add users in the existing project.
Asked by Punit Sharma:

I want to add my team mate to a already create project. How can i do this?


Answers:
author: Rebekka Heilmann _viadee_
body: Hi [@Punit Sharma](/t5/user/viewprofilepage/user-id/5438299) and welcome to the Community,

do you want to add the team member as a JSM Agent?

The team member needs to have an Agent license. An Org/Site/User Access Admin can add the User to the product access group which per default would be the Jira Servicemanagement Users group. You then need to go into the project settings \> People \> Add People \> Choose the team member and add them to the "Service Desk Team" Role

Customers can be managed from within the JSM project: [Manage your customers \| Jira Service Management Cloud \| Atlassian Support](https://support.atlassian.com/jira-service-management-cloud/docs/add-and-remove-customers/)


Tags: cloud

jira-service-management

jira-service-management-cloud
About notification emails
Asked by ???_??_:

Can I include a link to the issue in the notification email when an issue owner is assigned?


Answers:
author: Nikola Perisic
body: Hello [@???_??_](/t5/user/viewprofilepage/user-id/4704901)

I assume you have the automation set up, you can use the {{issue.url}} smart value to include the link of an issue.

comments: author: ???_??_
body: [@Nikola Perisic](/t5/user/viewprofilepage/user-id/5166624)   
Thank you for answer :)


Tags: cloud

jira-service-management

jira-service-management-cloud
JIRA automation limits and its automation counting mechanism.
Asked by SBACTL_JRFontanilla:

Hi everyone, I'm seeking clarification on the limits and counting mechanism for automation in Jira. Specifically, I'd like to know how many automation rules Jira can run concurrently and how these are counted.

1. Is each step within an automation rule counted separately?  
2. For instance, if an automation rule involves transitioning a ticket from one support agent to another or moving it between stages, is this counted as a single automation rule, or are each of these actions counted individually?  

I'm eager to learn more about how Jira tracks and manages automation rules, as well as any best practices for optimizing their usage. Any insights or guidance on this topic would be greatly appreciated.  
Thank you!


Answers:
author: Joseph Chung Yin
body: [@SBACTL_JRFontanilla](/t5/user/viewprofilepage/user-id/5088909) -

Steps within the same automation rule don't get counted to your limit. The overall calcuation of the rule is on successful rule execution (it is count as 1).

Please see this posting for automation rule execution information from Atlassian - <https://www.atlassian.com/blog/announcements/cloud-automation-packaging-update>

Here are a few other KB articles

<https://support.atlassian.com/cloud-automation/docs/how-is-my-usage-calculated/>

<https://support.atlassian.com/cloud-automation/docs/view-your-automation-usage/>

Hope this helps.

Best, Joseph Chung Yin

Jira/JSM Functional Lead, Global Technology Applications Team

Viasat Inc.


Tags: automation

cloud

jira-cloud

jira-service-management

jira-service-management-cloud

limit
Prevent commenting empty
Asked by Christian Wolfram:

If various fields are changed on a ticket without commenting on the ticket, we always get a new comment that only contains the date and time of the last action. Is it possible to make the change visible as a comment or can we disable such empty comments?


Answers:
author: Rebekka Heilmann _viadee_
body: Hi [@Christian Wolfram](/t5/user/viewprofilepage/user-id/5359573)

are you referring to changes by the Agent in the issue? Or is the customer editing fields in the Request view (in the portal) - if so, are these fields part of a form or are you using a third party App to make Edits of "normal" fields possible?

comments: author: Christian Wolfram
body: The changes are made by an Agent, we don't use customer portals in this project.


author: Rebekka Heilmann _viadee_
body: Changes made by Agents don't usually generate comments. They only appear in the issue history. I guess you have implemented Automation rules that will create a comment. You can edit the text of that comment in the respective rule.

If it is triggered by Field changed, you can access the old value and the new with smart values:

{{fieldChange.fromString}} and {{fieldChange.toString}}

This may also work: {{changelog.*Fieldname* .fromString}} for old value and {{issue.*fieldname*}} for the current value


author: Christian Wolfram
body: I have checked our automation configuration, but there isn't an entry for an action if an triggered field is changing.


author: Christian Wolfram
body: Wir k?nnten nat?rlich auch auf Deutsch schreiben, das macht es wahrscheinlich einfacher.


author: Rebekka Heilmann _viadee_
body: Mir ist die Sprache egal - f?r die Community ist Englisch immer sinnvoller, damit alle mitlesen k?nnen.

Hast du die Automation Regeln alle gepr?ft oder nur in die ?bersicht geschaut? Die Benennung der Regeln passiert nicht anhand der Trigger, sondern passiert manuell.

Kannst du mal einen Screenshot von so einem Kommentar machen? Wenn ihr keine Marketplace App im Einsatz habt, gibt es ansonsten nichts, was die Kommentare ausl?sen w?rde.


author: Christian Wolfram
body: Ich hab die Regeln gepr?ft und keinen Eintrag gefunden, der einen Kommentar bei ?nderung eines Feldes in diesem Projekt ausl?st.

![Leere Kommentare.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/308578iFBB8ED4874CEBFF2/image-size/large?v=v2&px=999 "Leere Kommentare.PNG")

Ich habe in diesem Beispiel das Stichwort "Test" erg?nzt.


Tags: jira-service-desk-data-center

jira-service-management

jira-service-management-data-center
Can we change the STMP settings on Jira Cloud?
Asked by Michael Yenco:

We are currently using service management (Cloud), instead of using Jira native SMTP server we want to instead relay emails through a 3rd party SMTP server like SendGrid.

Is this possible?


Answers:
author: Joseph Chung Yin
body: [@Michael Yenco](/t5/user/viewprofilepage/user-id/5296935) -

Based on my understanding, I don't believe you can change the "The internal SMTP server is not configurable" - See <https://confluence.atlassian.com/servicedeskcloud/functional-differences-in-jira-cloud-products-1097175792.html>

You may want to contact Atlassian Support (<https://support.atlassian.com>) for further assistance.

Sorry,

Best, Joseph Chung Yin

Jira/JSM Functional Lead, Global Technology Applications Team

Viasat Inc.


Tags: cloud

jira-service-management

jira-service-management-cloud