youngmon/atlassian-qna huggingface dataset:
how to change job artifacts path to a new location other than bamboo-home
Asked by saketh-stash:

Hi,

In my company, we run the bamboo jobs daily and we save the job artifacts for every job run. As we save it daily our artifacts folder is full and we wanna change it to a different [path.so](http://path.so) , we added a new mount point and we wanna move there.

a)I declared a variable called "artifactsdirectory" in [bamboo.int](http://bamboo.int).properties file and gave the new mount point path in the following way  
"artifacts.directory=/mountpoint2/xyz"

b)I changed the "bamboo.artifacts.directory" property value in bamboo.cfg.xml in the following way  
"\<property name="bamboo.artifacts.directory"\>${artifactsdirectory}/artifacts\</property\>"

**result** :  
It creates the directory as "${artifactsdirectory}" and doesn't push the artfacts i.e its failing.

So, my requirement is i want bamboohome etc and all in mountpoint1 but artifacts have to be in second mountpoint.

Can someone help me how to do that?


Answers:
author: Mark de Bont
body: I think keyword expansion is not support in config files.


Tags: artefact
what takes precedence - build expiry or branch inactivity settings
Asked by Greg Bailey:

Hi,

I have a question I hope I can get some help with. We are using branch build labeling to keep released builds from being automatically deleted. We are using the global expiry settings to not clean up an builds with 'release' or 'rc' labels on them.

However, branch plans that have the branch inactivity setting configured to delete a branch plan after 30 days of source inactivity seem to be over riding the global expiry setting of not removing builds labeled with release.

Over the holiday break we had a number of released branch plans deleted that includes builds that had the release label applied to the builds we deployed. Soo... we lost of a large number of released builds in Bamboo due to this.

So the question is - can someone please help to clarify what takes precedence when it comes to branch build clean up - branch plan activity settings or global expiry labels?

Thanks in advance for any help with this.

Oh and we are running Bamboo ver 5.9.3


Answers:
author: Marcin Gardias
body: First of all: build *result* expiry and *deleting plan branches* that are inactive are 2 very different things. In the first case you delete *results* in the second *entire plan branches*.

When you delete a plan (or plan branch) result expiry is not checked: if you decide to delete entire plan, it means plan and all of its results.

I guess you could say that, in a way, branch inactivity has precedence over build expiry, but that's not precise description of things.

Note that you can prevent individual branches from being affected by branch automatic removal by setting an option on Branch Details tab.


Tags: bamboo-administration
custom deployment tasks
Asked by Michael Boyd:

I have been using a custom task in a Build plan but when I try to add the task to a Deployment project set of tasks, I cannot see the task in the list of available tasks from which to choose.

Are custom tasks allowed in Deployment projects?


Answers:
author: Michael Boyd
body: The custom task is implemented in Java and makes REST-style requests to JIRA in order to update issue statuses. It is similar in structure to the "HelloWorld" plugin outlined in the tutorial here: <https://developer.atlassian.com/bamboodev/bamboo-tasks-api/writing-a-task-with-a-user-interface>


author: Juan Peraza
body: Michael, I want to get some info from you to see if I can help out w/ this. I'm able to use common custom tasks in both my Build Plans and Deployment Projects. Is the custom task that you're using in your Build Plan a command-type task?
Is it possible for a bamboo agent to block builds?
Asked by Justin Shapiro:

I'm not sure how to articulate this thought. I want to create an agent that has the capabilities that many of my plans need but reject builds if they are lacking a requirement. Does that make sense? Basically I want to lock down the agent so that only certain plans with some flag set will build there even if it satisfies the requirements of other plans.


Answers:
author: Justin Shapiro
body: It's a year later. Is this a thing yet?


author: Mike Friedrich
body: The closed to what you want would be to dedicate an agent to several projects, but then the projects build nowhere else.

I usually give all agents some group label and then set all projects to require a certain group. Not nice, but works.

comments: author: Mike Friedrich
body: And with regular expressions I can do logical OR's in requirements.


author: Justin Shapiro
body: Trying to avoid a solution that requires me to update all plans. Current count is 736 which is low for us.Dedicated is maybe possible but I would probably have to reorganize.


author: Tim Crall
body: We've had that same need but not found a solution


Tags: bamboo-administration
can you import an export file that is generated by OnCloud Bamboo into a locally hosted Bamboo instance?
Asked by William Holder:

*This question is in reference to Atlassian Documentation: [Exporting data for backup](https://confluence.atlassian.com/pages/viewpage.action?pageId=289277255)*

Ask your question here...


Answers:
author: Marcin Gardias
body: It's not *impossible* but there are considerable difficulties, I'm afraid:

* Bamboo Cloud's version is on different dev. cycle than Bamboo Server, usually *ahead* of Bamboo Server. For instance, as of today, Bamboo Cloud is already on variant of Bamboo 5.10, while Bamboo Server 5.10 version has not been publicly released yet. There are points in time when those 2 versions are close enough that such operation can be attempted, usually right after Bamboo Server *major* release.
* Some of the Bamboo's functionality is specifically intended for Bamboo Cloud usage. S3 artifact storage is one example.
* I guess it's quite obvious, but you would need to resolve somehow Bamboo Server not having access to Atlassian Cloud authentication/user database.

comments: author: Marcin Gardias
body: To be more specific about current situation: Bamboo Cloud is not compatible with Bamboo 5.9 so until 5.10 is released such operation won't work at all.


Tags: backup

bamboo-administration
Dedicate Bamboo Remote agent via properties
Asked by T:

Bamboo allows the ability to dedicate an agent to a specific project via the administration interface.

Is it possible to also dedicate a remote agent using configuration on the remote agent itself? Ideally I'd like to use something similar to how bamboo-capabilities.properties are used to define custom capabilities.

This will allow a new remote agent to be automatically dedicated to a particular project on instantiation.


Answers:
author: HN
body: I'm also looking for this feature. According to this <https://jira.atlassian.com/browse/BAM-3491> (Bamboo 5.6) you can assign a plan to an agent. However I'm not sure if the 'requirement' can override the agent based on specifying a different capability. I'd personally like to see the agent assigned plan to override anything specified in the requirements. Not sure if this is possible.


author: Mike Friedrich
body: You can do this with the capabilities only. E.g. you could create a capability holding the project name and set a requirement on the project accordingly.

comments: author: Mike Friedrich
body: Of course you need to make sure you have no projects without requirements.


author: T
body: We were considering this as a fall back option. However I don't believe capabilities/requirements can be set at a project level. Requirements can only be set at a job level. Which means we'd need to manually set a requirement for every job within every plan of every project.


Tags: bamboo-administration
Moving / assigning tickets from one queue to another
Asked by Tom Redzhey:

Hello everyone,

I was wondering is there any way to move / re-assign a ticket in jira service desk from one queue to another.

Best regards,

Tom R.


Answers:
author: Mikael Sandberg
body: Hi [@Tom Redzhey](/t5/user/viewprofilepage/user-id/5398294),

Welcome to Atlassian Community!

Are you looking to move/assign a request within the same project or are you looking for a way to move the request to a different project?

If it is within the same project then you just have to look at the JQL that the queue is using to see how the queue is picking up requests. If you are looking to move it to a different project then you can do that with automation. Basically what you have to do is create a copy of the request and then close the existing one.


author: Tom Redzhey
body: Hi [@Mikael Sandberg](/t5/user/viewprofilepage/user-id/853579) and thank you for your quick response. I am actually looking to move the ticket to a different project queue. I was just given Jira admin rights and am with limited knowledge not really familiar with the automation but I will do my best.

Regards,

Tom


Tags: jira-service-management

unknown-hosting-type
Error 400 cuando se activa una automatizaci?n
Asked by Angie Paola Leon Duarte:

Buen d?a, tengo configuradas unas automatizaciones en Jira Service Management, el flujo es simple, el cliente presenta un inconveniente y diligencia un formulario que se creo desde Jira, adjunta toda la informaci?n y si tiene fotos y videos, la automatizaci?n consiste en que cuando el cliente cree esa incidencia nos notifique en telegram la creaci?n, pero a veces falla con esta razon.

Se ha producido un error al publicar la solicitud web. Estado de HTTP de respuesta:  
400  
Cuerpo HTTP de la respuesta de error:  
{"code":10400,"http_code":400,"message":"Invalid request: invalid event message"}  

?Esto tendra que ver porque el usuario adjunta fotos en el forms? o ?Porque sucede esto?


Answers:
author: Eugenio Onofre
body: Hola Angie,

El error que est? experimentando parece estar relacionado con un problema en la solicitud web enviada a Telegram, como se indica por el c?digo de estado HTTP 400 y el mensaje de error. El mensaje de error `{"code":10400,"http_code":400,"message":"Invalid request: invalid event message"}` sugiere que la estructura o el contenido de la solicitud web no cumplen con las expectativas de la API de Telegram. Aqu? hay algunos pasos que puedes seguir para solucionar este problema:

1. **Revisar la Configuraci?n de la Automatizaci?n en Jira**: Aseg?rate de que la automatizaci?n est? configurada correctamente. Esto incluye verificar que la URL del webhook y cualquier par?metro requerido por la API de Telegram est?n correctos.

2. **Validar el Formato del Mensaje**: El error menciona un "invalid event message". Esto podr?a significar que el formato del mensaje enviado a Telegram no es el esperado. Aseg?rate de que el mensaje est? en el formato correcto (por ejemplo, JSON) y contenga todos los campos necesarios que la API de Telegram espera.

3. **Revisar Documentaci?n de la API de Telegram**: Consulta la documentaci?n de la API de Telegram para asegurarte de que est?s utilizando los endpoints correctos y proporcionando los datos necesarios en el formato correcto.

4. **Probar con Datos de Ejemplo**: Realiza una prueba enviando una solicitud manualmente (por ejemplo, usando herramientas como Postman o cURL) con datos de ejemplo para ver si el problema persiste. Esto puede ayudarte a identificar si el problema est? en los datos que se env?an o en la configuraci?n de la automatizaci?n.

5. **Contactar el Soporte de Jira o Telegram**: Si despu?s de seguir estos pasos el problema persiste, considera contactar al soporte de Jira o Telegram para obtener ayuda espec?fica.

Si esta respuesta ha resuelto tu problema o te ha ayudado de alguna manera, por favor considera aceptarla haciendo clic en el bot?n de "Aceptar". Esto ayuda a otros miembros de la comunidad a encontrar soluciones similares de manera m?s eficiente en el futuro.

Saludos,  
Eugenio


Tags: cloud

jira-service-management

jira-service-management-cloud
Internal and external clients create tickets in my project
Asked by Pedro Marca Huamancha:

Hello Community,

I have a project called "Monitoring" in Jira Service Managemnet with a template type IT Service Management.

I need my internal and external clients to be able to generate a ticket, what option or configuration should I make, where tickets will be generated and displayed.

![4-01-2024 12-12-24.png](https://community.atlassian.com/t5/image/serverpage/image-id/298949i4051E29DA6DF5E66/image-size/large?v=v2&px=999 "4-01-2024 12-12-24.png")

Greetings.


Answers:
author: Kris Dewachter
body: Hi [@Pedro Marca Huamancha](/t5/user/viewprofilepage/user-id/5397238) ,

I suggest you setup a Service Management portal and project where your internal and external clients can create tickets. I presume they don't need access to the Jira backoffice to handle tickets, and it will be sufficient for them to follow-up on their tickets in the portal.

Regarding access to the portal, this depends on the kind of users. I presume the internal users are known. How about external users ? Are they also known or is anyone on the www able to create a ticket ?

For more information on portal access, have a look here <https://support.atlassian.com/jira-service-management-cloud/docs/set-up-and-manage-portal-access/>

Best regards,

Kris

comments: author: Pedro Marca Huamancha
body: Hello [@Kris Dewachter](/t5/user/viewprofilepage/user-id/4588367)

In the "IT Service Management" project template, is it possible for my external and internal clients to generate tickets through a portal?

![4-01-2024 16-17-53.png](https://community.atlassian.com/t5/image/serverpage/image-id/298979iC33C6A0B50D3F4FB/image-size/large?v=v2&px=999 "4-01-2024 16-17-53.png")

Best regards,


author: Kris Dewachter
body: Hi [@Pedro Marca Huamancha](/t5/user/viewprofilepage/user-id/5397238) ,

The different templates do not define the access settings. They only contain some examples of request types, issue types, workflows, etc ....

So yes, you can setup internal and external access for any selected template.

Best regards,

Kris


Tags: cloud

jira-service-management

jira-service-management-cloud
Banner Macro - Gray Backgroup
Asked by Pilar Desperes:

Hi! I'm trying to add an image URL to the banner I inserted using Banner Macro. It always end up gray, regardless of the image size. Any suggestion to solve this?


Answers:
author: Laurie Sciutti
body: Hi [@Pilar Desperes](/t5/user/viewprofilepage/user-id/5398230) and welcome to the Community! Can you share a screenshot of your banner configuration?


Tags: jira-service-management
Export project to a new url project
Asked by Carlos Ramirez:

Hi All,

I havee an url...... <https://myproject.atlassian.net/> with a project build in service management cloud.

I want to create another url <https://myproject2.atlassian.net/> and migrate the project that is the first url.

I can create the new url, but how can I migrate the whole project from the first url to the second url.

Thank you


Answers:
author: Kris Dewachter
body: Hi [@Carlos Ramirez](/t5/user/viewprofilepage/user-id/3864232) ,

The URL refers to a specific Cloud site / instance, and NOT a project within this Cloud site.

There is already an option to change the url to your existing cloud instance : <https://support.atlassian.com/organization-administration/docs/update-a-product-url/>

Best regards,

Kris

comments: author: Carlos Ramirez
body: Thank you [@Kris Dewachter](/t5/user/viewprofilepage/user-id/4588367)

I want to split my site, because I manage several companies in the same URL.


Tags: cloud

jira-service-management

jira-service-management-cloud
Password request when viewing order
Asked by Emiliano Lopes:

I have a Jira project that is open for requests, no username and password are required, but for a specific email, when clicking on "View Request" it asks to register with a password.


Answers:
author: Eugenio Onofre
body: Hi [@Emiliano Lopes](/t5/user/viewprofilepage/user-id/4287680)

The issue may be related with User Permissions. Please make sure that the project has the below settings:

* Go to <https://your-site.atlassian.net/jira/settings/products/servicedesk/customer-access> (please replace "your-site" with your instance name
* Make sure the box "Customers can access and send requests from the portal without logging in" is checked

Please note this configuration is not on a project-level, but instance level, meaning it would affect other existing service management portals you may have.

Please remember to accept this answer in case it helps you resolve your question as it may also help other community members in the future.

Regards,  
Eugenio


Tags: cloud

jira-service-management

jira-service-management-cloud
Changing the index of a project
Asked by Adam Rosenbaum:

I am considering changing the index of a project we have. The project contains about 8000 records and the scope includes other projects with issues that link. I am pretty sure that the 8000 records will reindex on their own, but not sure about the URL's used by other issues to reference them. Also, looking for suggestions, opinions, and any experience performing this action.


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

What do you mean by "changing the index of a project"? The index cannot be configured by project, it's a global thing, and as a Cloud user, you have no access to the indexing settings either.


Tags: cloud

jira-service-management

jira-service-management-cloud
User selector
Asked by Jamie Russell:

I have a use case in which I need to configure a service management project that:

* is only visible to specific users (HR \& Legal teams)
* has a request type with a field where reporters can select any currently-employed valid user with an Atlassian license
* prevents that user being notified and prevents that user from being able to view the case/project.

So far I can't find a good way to add the user drop-down selector; it only shows the members of the project as available choices, instead of all employees as needed.

I found this thread which seems to more-or-less address a similar use case: <https://community.atlassian.com/t5/Jira-Service-Management/Working-with-the-custom-field-User-Picker-single-user/qaq-p/1047964>

...but it presents some problems also. First off, the "Browse users and groups" permission in global permissions doesn't seem to be editable. I have full admin rights and am on the cloud product


Answers:
author: Marc - Devoteam
body: Hi [@Jamie Russell](/t5/user/viewprofilepage/user-id/4223036)

Hi Jamie, if you are not able to edit the global permissions in Jira, that means you are not a Jira admin.

You can be site admin, but this will not grant Jira admin by default.

Be aware that "Customers" don't have a Jira license if if they are in the system and therefore will not show in a user picker field.


author: Rebekka Heilmann _viadee_
body: I stumbled across the same thing today and not found a really good solution. It's odd, that the filter User function only works for Single User Picker??

I tried out creating another project role and only giving it limited permissions. The role needs at least "browse project" permission to get listed in the User Picker in portal view. If you add all employees to that role, they appear in the list. However, they also can see the project - which you don't want. You could work your way around with issue level security set to specific user roles, but that is just making it more and more ridiculous to admin.

I think the only viable workaround is using a Single User picker or you could maybe check with Adaptavists ScriptRunner. It's mighty, just not sure how it works with the portal in cloud and currently don't have an evironment where I could test that.


Tags: cloud

jira-service-management

jira-service-management-cloud
Removal of a category from the front facing Jira Portal
Asked by liam_binks:

Hello

Can anyone please advise on where to find the appropriate setting to remove the 'test2' category from our front facing portal?

<https://tituslearning.atlassian.net/servicedesk/customer/portals>

My assumption would be it is in the Jira Service Management Projects page, as that displays the other four categories which are correctly there - Network Rail eLearning, SCSS Service Desk, British Psychological Society, and NR Internal Training Support, but the test2 is not displayed there, so I dont know where to find the setting to remove it from the page.

Any help would be appreciated.

Thanks


Answers:
author: Jack Brickey
body: Hi [@liam_binks](/t5/user/viewprofilepage/user-id/5398074) , welcome to the community.

So that is not a category, but rather a project. There are two ways to remove that card/project from the portal. You could simply delete the project which I wouldn't necessarily recommend as it is useful for test purposes. The better solution in my opinion is to simply change The visibility on the portal. To do this:

1. you need to be an appropriate admin to achieve this. At the portal you should see a customize link on the right hand side. Click this and the customization panel will expand.
2. In the following screen choose edit, homepage, layout.
3. In the next screen, you will see each of your projects. Simply click on the eyeball for the test project to make it hidden.

comments: author: Jack Brickey
body: Historical note: there used to be no option to hide a project from the portal. I am so incredibly thankful for Atlassian, adding this capability.


author: liam_binks
body: Hi [@Jack Brickey](/t5/user/viewprofilepage/user-id/853369)

That is very helpful, thank you very much. I will assume I do not have the required permissions, as when clicking the customise link the only option I have is to 'manage announcements' which gives the option to 'Keep your customers updated on important news in the home page' by adding a new message, but at least knowing how to do it means I can ask someone with the correct permissions. Thanks very much.

Thanks

Liam


author: Jack Brickey
body: correct. please check with your Org Admin for assistance.


Tags: cloud

jira-service-management

jira-service-management-cloud