youngmon/atlassian-qna huggingface dataset:
How to define two variables in a bamboo plan?
Asked by Fatima Sandoval:

I wold like to know if I can define two variables in the plan variables, i.e. I'm executing selenium scripts, I have an script with different URL's, in Bamboo plan, I have the following URL variable already defined, but I need to add another different URL, is it possible? and how?

Thanks!

![Capture.PNG](/t5/image/serverpage/image-id/18534i78034837899D6811/image-size/large?v=v2&px=999 "Capture.PNG")


Answers:
author: Minh Tran
body: [@Fatima Sandoval](/t5/user/viewprofilepage/user-id/1205430) yes you can define multiple variables as you wish but these variables should have different names.

You can follow what [@rsperafico](/t5/user/viewprofilepage/user-id/781554) suggested you

After defining variables, you can retrieve their values from your script task by **${bamboo.variablename}**

If the script is an external file, then you have to use **$bamboo_variablename** instead

comments: author: Fatima Sandoval
body: [@Minh Tran](/t5/user/viewprofilepage/user-id/732683)Thanks for your reply and the information, I will try that :)


author: rsperafico
body: Hello [@Fatima Sandoval](/t5/user/viewprofilepage/user-id/1205430),

If you haven't tried, could you please type in the variable you want to add and its value and hit the Add button?

Kind regards,

Rafael

comments: author: Fatima Sandoval
body: Hi [@rsperafico](/t5/user/viewprofilepage/user-id/781554) thanks for your reply, I tried and yes I can add a new variable, for the script customization I used a xml file in where I define the bamboo Url, if I use multiple url's Can I define in this file all this variables?

The following is my current file with only one URL, if I have multiple variables,

I need to add for example?

${bamboo_URL1}

${bamboo_URL2}

![Capture1.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/18565i3443CFDC777EECC4/image-size/large?v=v2&px=999 "Capture1.PNG")
Boot strap error
Asked by Matthew Lyons:

I upgraded to [Atlassian Bamboo](http://www.atlassian.com/software/bamboo/) version 6.4.1 build 60405 - 19 Mar 18 as recommended. I ran a restore to get back our configuration and settings but all I'm getting is:

You cannot access Bamboo at present. Look at the table below to identify the reasons:

TimeLevelTypeDescriptionException

|---------------------|-------|-----------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| 2018-04-03 10:46:12 | fatal | bootstrap | Bamboo bootstrap failed: Failed to run pre-bootstrap upgrade tasks. Please contact Atlassian Support at [https://support.atlassian.com](https://support.atlassian.com/) |


Answers:
author: Matthew Lyons
body: Thanks for the reply - it appears the sever has multiple installs and the update did not install in the same location as the previously working install. However I've had to go back to the previous version as it gave database incompatibility errors when installed in the correct folder.

I will create a new VM and install from scratch there.

comments: author: robhit
body: Good Luck!


author: Praveen Reddy
body: **I also faced the same issue. Below are the troubleshooting steps that resolved the issue for me.**   

After installing Bamboo on the VM, EC2 Instance or Local Machine, the Bamboo folder will contain start-bamboo.bat and stop-bamboo.bat files. However, upon starting the Bamboo service, these .bat files do not automatically run. Therefore, we need to manually execute the .bat files as script or command files using the scripts mentioned below.

++**Script - 1**++

########\|Bamboo Start\|########

[@echo](/t5/user/viewprofilepage/user-id/1474589) OFF  
ECHO Bamboo start  
cd C:\\Program Files\\Bamboo #Provide the exact path of .bat file  
bin\\start-bamboo.bat

--------------------------------------------------------------------

++**Script - 2**++

########\|Bamboo Stop\|########

[@echo](/t5/user/viewprofilepage/user-id/1474589) OFF  
ECHO Bamboo stop  
cd C:\\Program Files\\Bamboo #Provide the exact path of .bat file  
bin\\stop-bamboo.bat

<br />

++**Note:**++ **First run the "stop" script and then run the "start" script.**

* If you are facing error do the same process again. It worked for me.

Remember to adjust the instructions based on your specific environment (VM, EC2 instance, or local machine).

Hope this will help, for more troubleshooting tips you can refer below link.   
**<https://confluence.atlassian.com/bamboo/bamboo-installation-guide-289276785.html>**   


author: robhit
body: Hi Matthew,

Thanks for your question!

The error message you are seeing in Bamboo UI is very generic. I would recommend digging into the logs at "\<bamboo_home\>/logs/atlassian-bamboo.log" or the Catalina logs - "\<Bamboo-Install\>/logs/\*"

This will give you more meaningful answer to exactly what you could be hitting and then we can try to figure out what is wrong.

Thanks,

Robhit
How long to import 500Mb Bamboo export in 6.4?
Asked by Jonathan Greenwood:

How long should I expect to wait to import a 500Mb zip from a previous Bamboo instance 5.12 to a new 6.4 instance? After 7 days it's still busy. What is it doing and why is it doing it so slowly?


Answers:
author: Christian Glockner
body: Hi Jonathan,

7 days is excessive - did you take a look at the \<BambooHome\>/atlassian-bamboo.log to see what it is doing? It could be that the process actually failed but the UI doesn't reflect that. What we commonly see during imports is that the default heap size of Bamboo isn't sufficient that you therefore run out of heap (or garbage collection limits are reached), causing the process to fail.

If you're seeing evidence of the latter, you can follow the information in <https://confluence.atlassian.com/bamkb/outofmemory-errors-in-bamboo-82870484.html> to adjust your heap size.

Cheers,

Christian

Premier Support Engineer

Atlassian

comments: author: Jonathan Greenwood
body: Seems that we ran out of 32Gb temp space and Oracle was unable to extend the tablespace whilst importing.
Bamboo plan branch builds automatically on creation
Asked by Salmaan Shikari:

I have a bunch of build plans with "Create plan branch for new branches" selected under the branch tab of the "Plan configuration" section of the build plan.

I notice that on initial creation of the plan branch, the build plan runs for that branch even if the repository change detection file pattern is excluding a commit from that directory in GIT.

For example, if I commit into this dir:

/source/app/a

but my project's build plan has this file detection pattern:

\^/source/app/b/\*

Creating a new branch on "source" but committing only into "a" still triggers a build.

Does anyone know how to avoid this? I would only like build plans to run if I commit into directories that they are watching.

Thanks.


Answers:
author: robhit
body: Hi Salmaan,

Yes, you are right. I believe it is a known bug as described here - <Branch builds do not honor Linked Repos includes/excludes on branch creation> that has not been fixed yet.

Thanks,

Robhit

comments: author: Steffen Opel _Utoolity_
body: Thanks [@robhit](/t5/user/viewprofilepage/user-id/1132242) - the link to [Branch builds do not honor Linked Repos includes/excludes on branch creation (BAM-15899)](https://jira.atlassian.com/browse/BAM-15899) is defunct, so here it is again ;)
How do I add a project / plan avatar?
Asked by Mitch Talmadge:

In JIRA and Bitbucket, I am able to upload an image for a project or plan. I like this as it makes the applications feel more personal. In Bamboo, I can't figure out how to upload an image, or if it is possible. It seems like the idea was there but never implemented... see these screenshots:

Here a project is shown, and it has a default, boring folder icon. This is where I would expect my project image to be shown.

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

Here the plan is shown, with another boring icon. This could either show the project image or a different plan image.

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

Thanks for your help and consideration!


Answers:
author: robhit
body: Hi Mitch,

Thanks for your question!

I believe it is not possible in Bamboo to do so.

Thanks,

Robhit

comments: author: justint
body: This is unacceptable ;)
How to create an AWS bamboo agent and make snapshot and deploy it
Asked by Zheng Liu:

I have a question regarding this. I am wondering if bamboo can support this from the task?

Actually i want to do the following things:

1. Run a job from Bamboo to create an AWS agent and run the build job from there

2. After the job run successfully, then power off the agent and make a snaptshot of it

3. After that, make a deploy base on the new created agent for 10 times on AWS


Answers:
author: Jobin Kuruvilla [Adaptavist]
body: I did not quite understand #3 but you can use elastic agents for the other 2. Take a look at <https://confluence.atlassian.com/bamboo/about-elastic-bamboo-289277118.html>.
Is it safe to delete the artifact folder?
Asked by Adrian_Quiambao:

Hello guys,

Just wanna ask if it is safe now to delete manually the contents of artifacts folder located at \<bamboo-home\> as we configured our artifact handler to use Amazon s3. The expiry is enabled but it does not remove the old artifacts.

Thanks!

Kind regards,

Adrian


Answers:
author: robhit
body: Hi Adrian,

Thanks for your question!

Deleting the contents of that folder is definitely not safe as it will break the build and you can't access the artifacts in the Bamboo.

But, if there is anything which is not required in bamboo anymore that can be deleted for sure. Still, it all depends on the requirement.

Thanks,

Robhit

comments: author: Adrian_Quiambao
body: I see, thanks for the info.
Is it possible to use a single build plan for multiple repositories?
Asked by Eric Hewitt:

We have finally taken the plunge and broken our monolithic application into multiple modules. Each module is stored in a single Bitbucket repository. I've build a Docker image to handle all of the build, test, publish steps. I've designed the Docker build image to be generic enough to build any module. It automatically pulls down the build scripts from a build scripts repo.

So, now what I need is a Bamboo build plan for each repository. I could manually create these, but they are all almost identical (and I'm going to need 30-40). The only real difference for each is which repository to build.

Ideally:

\* For each repository in a Bitbucket project, watch for changes on a given branch. If a new repository is added to the project, it automatically gets included.

\* When triggered, launch a container for the Docker build image, run it (passing the repository name as a parameter), collect logs.

It looks like I can do this with Bamboo Specs, but I was hoping for something a bit simpler...

Thanks in advance!

Eric


Answers:
author: Jeyanthan I
body: Hi Eric,

Bamboo has the capability to add a [new plan branch automatically](https://confluence.atlassian.com/bamboo/using-plan-branches-289276872.html#Usingplanbranches-Automaticbranchmanagement) upon every new branch created in a repository or upon every pull request created in Bitbucket. There is no option to automatically define a new repository to a plan. Thus, you would have to define a new repository manually in the UI.

It is also not possible to create new linked repositories from Bamboo Specs or via REST (as of Bamboo 6.4.1). I see there is an open feature request for this and we encourage you to vote for it - [BAM-18453](https://jira.atlassian.com/browse/BAM-18453) and share your views on a comment.
Unable to add attachment in comments
Asked by Ayush Lawania:

![Screenshot 2024-03-18 233723.png](https://community.atlassian.com/t5/image/serverpage/image-id/312792i2339D02312A797C6/image-size/large?v=v2&px=999 "Screenshot 2024-03-18 233723.png")

Me and my team is unable to add attachments in comment, save button greys out even though we have the required permissions. Sometimes I am able to attach files and sometimes it greys out.

[@Alex Koxaras _Relational_](/t5/user/viewprofilepage/user-id/4150197) [@Jack Brickey](/t5/user/viewprofilepage/user-id/853369)


Answers:
author: Jonathan Romero
body: I've experienced the same issue. This is how it happened to me and how I worked around:

* Click on the "Add attachment" Clip next to the "Add Internal note/ Reply to Customer"
* Select a file
* The file displays in the comment but the Save button is disabled

Workaround:

* Click on "Add Internal note/ Reply to Customer" to create a comment
* Upload a file
* Save button is enabled

This is a bug recently discovered . I tried to find a bug reported for this but I couldn't find one.

comments: author: Jonathan Romero
body: Contacted Jira support team and they have opened a bug with their engineers. [JSDCLOUD-13801](https://jira.atlassian.com/browse/JSDCLOUD-13801)


Tags: attachment

cloud

jira-service-management

jira-service-management-cloud
Abrir um pop-up, toda vez que modificar no campo, a data de entrega
Asked by Danielle Weiss:

Ol? Comunidade,

Foi levantada a necessidade de que abra um pop-up, toda vez que o usuario modificar no campo a data de entrega de uma issue.

O objetivo ? garantir que o usu?rio esteja cientes das implica??es dessa a??o, principalmente em rela??o ao planejamento e acompanhamento.

Por?m, o jira s? deixa aparecer o pop-up atrelado a transi??o de status (ecrans), existe alguma configura??o ou plugin para atrelar o pop up em mudan?a da vari?vel de um campo?


Answers:
author: Ste Wright
body: Hi [@Danielle Weiss](/t5/user/viewprofilepage/user-id/5306406)

There's not a native feature for this.

You might be able to do this using a scripting app, such as [ScriptRunner for Jira](https://marketplace.atlassian.com/apps/6820/scriptrunner-for-jira?hosting=cloud&tab=overview), but an alternative is to use [Automation](https://support.atlassian.com/cloud-automation/docs/jira-cloud-automation/) to send notifications?

For example, a rule could...

* Trigger when the Delivery Date is modified
* Check if certain users made the modification
* Either email the user, or add a comment @mentioning them, making them aware of the implications

Let us know what you think!

Ste

---

And in Portuguese, according to Google Translate..

N?o h? um recurso nativo para isso.

Talvez voc? consiga fazer isso usando um aplicativo de script, como o ScriptRunner para Jira, mas uma alternativa ? usar a automa??o para enviar notifica??es?

Por exemplo, uma regra poderia...

* Acionar quando a data de entrega for modificada
* Verifique se determinados usu?rios fizeram a modifica??o
* Envie um e-mail para o usu?rio ou adicione um coment?rio @mencionando-o, informando-o das implica??es

Deixe-nos saber o que voc? pensa!


Tags: cloud

jira-service-management

jira-service-management-cloud
Building Reminders in Jira
Asked by Mitch Carter:

Is there a way to set up reminders in Jira? We open tasks that require follow up and I would like to be able to set up a Slack or email reminder that a follow up is due on a specific date/time.


Answers:
author: Kai Becker
body: Hi [@Mitch Carter](/t5/user/viewprofilepage/user-id/5455602)

thank you for your question and welcome to the community.

Setting up Automation rules is What are you looking for : <https://support.atlassian.com/cloud-automation/docs/create-and-edit-jira-automation-rules/>

You could create a scheduled trigger and a condition that checks that the current date is x days after the closing date. As an action you could then send an email.

Hope this helps.

comments: author: Kai Becker
body: Hi [@Mitch Carter](/t5/user/viewprofilepage/user-id/5455602)

I hope you are doing fine. Has this question been resolved? If so, please make sure to accept the answer to mark it as resolved.  
If you still have questions, please feel free to get back with an update.


author: Mitch Carter
body: No, not quite what I was looking for this is too complicated. I was inquiring if a simple checkbox or dropdown for "Reminder" and then select a date and time. The reminder could simply be an email stating that "This is your reminder.".


Tags: cloud

jira-service-management

jira-service-management-cloud
Can we make our service desk open to only people with our company domain email?
Asked by Christian Hernandez:

Currently, in order for someone to submit a help desk ticket through our Service Desk with JIRA, they need to be invited to join our Service Desk. Is there any way to make it so that anyone with our domain email can submit service desk tickets without needing an invite? We have some new hires that start every couple of weeks and they do not directly have access, they must wait to be invited and it has caused some debate and frustration within our teams on how best to handle the situation.


Answers:
author: Dan Breyen
body: [@Christian Hernandez](/t5/user/viewprofilepage/user-id/5455580) welcome to the Community! As an Administrator, if you go under Settings (the Gear) / Products, then in your Left Menu, under Jira Service Management, if you select 'Customer Access' there should be a setting under 'Account Types / Internal' to check 'Use approved domains to grant internal customers access to the help center with Atlassian accounts'. This should do the trick and if they create their own account, they should be able to get access to JSM.

Pretty sure that's what you're looking for. Hope it helps.

comments: author: Christian Hernandez
body: Hey [@Dan Breyen](/t5/user/viewprofilepage/user-id/5086375) Thank you for this! We already have it set up this way, but I believe the issue is that we use SSO with Google, so technically they don't create their accounts as they should be able to sign in with Google. Not too sure if maybe that is affecting it somehow?


Tags: cloud

jira-service-management

jira-service-management-cloud
I want to get the tickets that were not commented in the last 2 weeks
Asked by Natalia Mojica:

Hello!

I want to create a JQL query that returns tickets that were not commented on in the last 2 weeks by a specific role (former assignee or reporter)


Answers:
author: Hannes Obweger - JXL for Jira
body: Hi [@Natalia Mojica](/t5/user/viewprofilepage/user-id/5276733)

to the best of my knowledge, Jira doesn't natively allow filtering based on comments. The only native solution I can think of is to use [Jira Automation](https://www.atlassian.com/software/jira/features/automation) to trigger a rule whenever a comment is added, write data into a custom field, and then filter by the custom field.

Alternatively, if you're open to solutions from the Atlassian Marketplace, there are a number of apps available that either extend JQL by additional functions, or offer alternative search/filter mechanisms.

To advice on a specific solution: Would it be useful to filter on the last comment date *in general* , or would it really have to be based on particular users' comments? If it's the latter, would you be able to list the specific users in your query (like "John", "Paul", "Ringo", etc.), or would that have to be dynamic as well (like, e.g., *whoever is the reporter of the given issue*)?

Best,

Hannes


author: Dan Breyen
body: Hi [@Natalia Mojica](/t5/user/viewprofilepage/user-id/5276733) would this work? (Reporter = X or assignee = X) and updated \< -14d

I might be missing something in your description, but this will be if the entire ticket has been updated or not, not just commented on.

Hope that helps .

comments: author: Natalia Mojica
body: The problem is that I need the tickets that don't have new comments after 2 weeks, bc every week I open a new sprint, so using that query, is not going to work :c


Tags: cloud

jira-service-management

jira-service-management-cloud
How can I add people from a specific Jira group to the ticket as "Request Participants"?
Asked by Ihor Pavlenko:

Hey! How can I add people from a specific Jira group to the ticket as "Request Participants"?

Right now when I want to add users as "Request Participants" I use advanced edit in Automation to add users like this (see below). But I have a group, in which group members can change dynamically. How can I add the whole group (i.e. users of this group) to the ticket?

{  
"update": {  
"Request participants": \[  
{  
"add": {  
"id": "{{someVariable1}}"  
}  
},  
{  
"add": {  
"id": "{{someVariable1}}"  
}  
},  
{  
"add": {  
"id": "xxxxx"  
}  
},  
{  
"add": {  
"id": "yyyyy"  
}  
},  
{  
"add": {  
"id": "zzzz"  
}  
}  
}  
\]  
}  
}


Answers:
author: Charlotte Santos -Appfire-
body: **Hi [@Ihor Pavlenko](/t5/user/viewprofilepage/user-id/4737707)**

I'm Charlotte, a support engineer at Appfire and I'm here to help you.

Unfortunately, natively, I believe you'll not be able to do it.

In the app where my team works, [Power Scripts for Jira](https://marketplace.atlassian.com/apps/43318/power-scripts-jira-workflow-automation?hosting=cloud&tab=overview&utm_source=atlassian&utm_medium=marketplace_listing&utm_campaign=plg&utm_id=701Nv000007VjT2IAK&utm_ct=rfp&utm_cc=pro&utm_pla=atlassian&utm_sol=va&utm_d=Q124&utm_g=gl&utm_lan=en&utm_content=ecore), you can add a Power Scripts SIL Post Function in the workflow that will add a group of people as request participants as soon as the issue is created.

If you're interested, please check this video tutorial that explains the step-by-step on how to do that: [Add a group as participants](https://appfire.atlassian.net/wiki/spaces/PSJ/pages/15482764/Add+a+group+as+participants+in+Jira+Service+Desk)

This is only one of the many functions Power Scripts offers, so, please feel free to contact our [support](https://appfire.atlassian.net/servicedesk/customer/portal/11) if you have any questions about the steps on the video tutorial or about the app in general.

We'll be happy to help you! ?


author: Ste Wright
body: Hi [@Ihor Pavlenko](/t5/user/viewprofilepage/user-id/4737707)

This isn't possibly natively as far as I know, because there are no Group-based smart values - see this feature request: [AUTO-312](https://jira.atlassian.com/browse/AUTO-312)

You might be able to retrieve the information via web request though, and utilise users that way?

This article could be a good starting point for that: <https://community.atlassian.com/t5/Jira-Software-articles/How-to-retrieve-users-from-a-specific-group-with-simple-Jira/ba-p/2191601>

Ste


Tags: cloud

jira-service-management

jira-service-management-cloud
Virtual agent and forms
Asked by Alexander Dibbo:

Hi,

I'm really impressed with the Virtual Agent but I'm trying to figure out if there is any way to get the virtual agent to take users through filling out a form as part of a request?

Thanks

Alex


Answers:
author: Joseph Chung Yin
body: [@Alexander Dibbo](/t5/user/viewprofilepage/user-id/5455504) -

Welcome to the community. Although we have not utilize this feature extensively, so I would recommend you to review the following Atlassian references on it -

<https://www.atlassian.com/software/jira/service-management/product-guide/tips-and-tricks/virtual-agent#overview>

For further assistance I would also recommend you to contact Atlassian Support (<https://support.atlassian.com>), so they can direct your ask to the appropriate product team for assistance.

Sorry.

Best, Joseph Chung Yin

Jira/JSM Functional Lead, Global Technology Applications Team

Viasat Inc.


author: Nikola Perisic
body: Welcome to the community [@Alexander Dibbo](/t5/user/viewprofilepage/user-id/5455504) !

That is a really good question indeed. Currently, virtual agent is only meant for answering to the customers based on the training data that you have provided them.

Currently, within the roadmap it is not defined when and if this feature will be released soon.

Of course, you can keep getting updated with this link: <https://www.atlassian.com/roadmap/cloud>?


Tags: cloud

jira-service-management

jira-service-management-cloud