youngmon/atlassian-qna huggingface dataset:
We want use bamboo for deploy our app. We want to use centos and for deploy operation but our app wd
Asked by Sinan K?yl?:

How can we use bamboo for deploy app on windows .We want to use centos for deploy operation to windows machine .. what is The procedure to install bamboo for deploy app to windows over centos


Answers:
author: Daniel Santos
body: Hi [@Sinan K?yl?](/t5/user/viewprofilepage/user-id/2610265),

There are multiple ways to do this. It will rather depend on how you want to do it and what are your constraints.

Some options I can think:

1. Your remote windows has an API that can be called to load the deployment results - In this case, you could use a script task to call the API and do what you need.
2. Your remote windows has open SCP and open SSH (you may want to install it) - You do the work manually by remote copying the deployment results (using SCP) and reloading the remote services using remote SSH commands. You could use the SCP task and SSH task for this or just a script task with all commands.
3. You have a remote agent on the windows server you want the deployment results to be delivered - Use the tasks needed to deploy your code on the local remote agent machine.
Make bitbucket ignore bamboo build result from particular build plan?
Asked by Jay McCure:

Hi Atlassian community,

i have a repo, the repo has two build plans X and Y.

X is the normal build plan which tells me that the build for the repo is successful. I want this reflected in bitbucket pull requests.

Y is a small task that runs every 15 minutes and is not related to the build status of the repo.

My problem is that if a PR for the repo is raised and Y is run and succeeds, it looks as if the PR has been successfully built.

How can I ignore the build status from Y ?


Answers:
author: Steffen Opel _Utoolity_
body: I'm not aware of any way to configure Bitbucket to ignore particular Bamboo build results.

That being said, the build status API for both [Bitbucket Server](https://developer.atlassian.com/server/bitbucket/how-tos/updating-build-status-for-commits/) and [Bitbucket Cloud](https://bitbucket.org/blog/introducing-the-build-status-api-for-bitbucket-cloud) are based on associating the build status against a particular commit, so in case your auxiliary plan Y does not actually use the resp. source code, you might be able to achieve your goal by removing the [Source Code Checkout](https://confluence.atlassian.com/bamboo/checking-out-code-289277060.html) task within that plan.

comments: author: Nagomi
body: Hi Steffen,

In par with above example, What if we still have the requirement of performing any task say (source code check out, build, sonar) in auxillary plan Y and need to ignore the build results of plan Y ?

Can we do that in bamboo


author: Steffen Opel _Utoolity_
body: Hi [@Nagomi](/t5/user/viewprofilepage/user-id/4742654) , welcome to the Atlassian Community!

I haven't tried this and am just brainstorming here, but given "the build status APIs \[...\] are based on associating the build status against a particular commit", maybe you could forego the source code check out in plan Y and pass the source code from plan X as a [Bamboo artifact](https://confluence.atlassian.com/bamboo/configuring-a-job-s-build-artifacts-289277071.html) instead (i.e. you can zip the source code, maybe even [git archive](https://git-scm.com/docs/git-archive) works)?

Good luck,  
Steffen


Tags: bitbucket
Bamboo REST API - Search by multiple label values
Asked by MD:

Hello,  

I have a bamboo plan that generates builds with two labels, version and country. Each label can have different values.

<br />

For example, I have this two builds:  
One contains "**version=1_8_1** " and "**country=us** "  
Another one contains "**version=1_8_1** " and "**country=fr** "  

I need to find the build number of the one matching version 1_8_1 and country fr, but I can't figure out how to ++match by both values++   

"${url}/rest/api/latest/result/${PROJECT}-${PLAN}.json?expand=results\&start-index=0\&label=version=1_8_1\&label=country=fr" \| jq -r .results.result\[\].buildNumber  
24  
23  

"${url}/rest/api/latest/result/${PROJECT}-${PLAN}.json?expand=results\&start-index=0\&label=version=1_8_1,country=fr" \| jq -r .results.result\[\].buildNumber  
24  
23  

"${url}/rest/api/latest/result/${PROJECT}-${PLAN}.json?expand=results\&start-index=0\&label=version=1_8_1\&country=fr" \| jq -r .results.result\[\].buildNumber  
24  
23  

If I only try to match the country label it works as expected.  
"${url}/rest/api/latest/result/${PROJECT}-${PLAN}.json?expand=results\&start-index=0\&label=country=fr" \| jq -r .results.result\[\].buildNumber  
23  

What am I doing wrong? How should the request be formed?  

Cheers.


Answers:
author: MD
body: I did a test changing the labels so they have only the value but it doesn't work either.

"${url}/rest/api/latest/result/${PROJECT}-${PLAN}.json?expand=results\&start-index=0\&label=1_8_1\&label=fr" \| jq -r .results.result\[\].buildNumber  
24  
23

"${url}/rest/api/latest/result/${PROJECT}-${PLAN}.json?expand=results\&start-index=0\&label=version=1_8_1,fr" \| jq -r .results.result\[\].buildNumber  
24  
23

"${url}/rest/api/latest/result/${PROJECT}-${PLAN}.json?expand=results\&start-index=0\&label=version=1_8_1\&fr" \| jq -r .results.result\[\].buildNumber  
24  
23

comments: author: Noel O'Sullivan
body: It does say labels should be a comma-separated list ... but that doesn't work either.
How can I download artifacts from failed builds?
Asked by Benjamin Wilcox:

I am using shared artifacts and then the task Download Artifact -- but it only downloads an artifact from the last successful build.

I need the artifact from the most recent build regardless of whether it passed or failed.


Answers:
author: Daniel Santos
body: Hi [@Benjamin Wilcox](/t5/user/viewprofilepage/user-id/2606913)

That is not the way Bamboo was designed to work and this is why you will need to do some extra work in order to make it happen.

I would try this:

1. Remove the task download artifact
2. Add a script instead, with commands to perform these 2 steps:
   1. Find what is the last build from the plan you are trying to get the artifact from  
      The information you need is returned in this REST API

      ```
      GET <Bamboo_URL>/rest/api/latest/result/<PLAN_KEY>
      ```

   2. Download the artifact using this REST API

      ```
      GET <Bamboo_URL>/browse/<PLAN_KEY>-<BUILD_NUMBER>/artifact/shared/<ARTIFACT_NAME>/<ARTIFACT_FILE>
      ```

I would rather prefer fixing the build and rerunning the same one to make sure the artifacts will be exactly the same and the build is now passing.
Why can i not find my project when i try to configure a plan?
Asked by jlu:

I am trying to create a plan under a project. I am the administrator of this project. However, I cannot find this project in project drop down when I try to configure the plan.

Please help..


Answers:
author: Daniel Santos
body: Hi [@jlu](/t5/user/viewprofilepage/user-id/2606598),

* What is the Bamboo version affected?
* Is this happening to other plans or just this one?
* Was this project created through specs?
* Can you share what is configured in **Admin \>\> Global Permissions** and the **Project permissions**for the affected user?

I'm just trying to get enough information to try reproducing this issue.
Any fields removed in the bamboo 6.4.0 version?
Asked by radhakrishna swamy K:

Did any of the below bamboo fields removed in 6.4.0 version?

self.l_build_num, self.latest_build_key, self.base_name, self.latest_build_label, self.latest_build_num, self.latest_revision, self.latest_completed, self.latest_state, self.latest_link


Answers:
author: Daniel Santos
body: Hi [@radhakrishna swamy K](/t5/user/viewprofilepage/user-id/1481545),

I see you are mentioning those fields with "self." in the beginning. Is this a python code?

* Can you share from where those fields are coming from?
* Are they database columns?


Tags: bamboo-development
Bamboo Specs and masked variables
Asked by Mahesh Pawar:

Hi,

i have already defined variable

DAILY_BUILD=True

RELEASE_BUILD_NUMBER=2

If DAILY_BUILD==true then;

${bamboo.RELEASE_BUILD_NUMBER}=2_daily

But it is not allowed in bamboo. So i am using INJECT VARIABLE.

So now,

If DAILY_BUILD==true then;

RELEASE_BUILD_NUMBER=2_daily

echo "RELEASE_BUILD_NUMBER=${bamboo.RELEASE_BUILD_NUMBER}"_daily\>dailyBuild.properties  
cat dailyBuild.properties

This will create properties file tat can be used in further stages.

but to access new value i have to

${bamboo.inject.RELEASE_BUILD_NUMBER} but want ${bamboo.RELEASE_BUILD_NUMBER}

How to do that??or is there any way


Answers:
author: Daniel Santos
body: Hi [@Mahesh Pawar](/t5/user/viewprofilepage/user-id/387388),

You cannot change the variable **bamboo.RELEASE_BUILD_NUMBER** from the build itself, you will need to inject a different one.

Injecting a variable will require a different namespace right after **bamboo,** e.g.**bamboo.\<NAME_SPACE\>.\<VARIABLE\>** .The namespace can be defined in the inject task. It doesn't need to be **inject**, but it needs to exist.

comments: author: Mahesh Pawar
body: hey Thanks Daniel for confirmation.


author: Daniel Santos
body: You are welcome!


Tags: spec
Identificar o Issue_id de um menu suspenso
Asked by Renan Alves do Nascimento:

Ol?, eu quero criar uma automa??o com uma condi??o de preenchimento.

Eu tenho um campo de menu suspenso dependente e quando ele for igual a x, quero que ele fa?a uma a??o especifica. Ocorre, que n?o encontro o campo para usar nas condi??es.

Creio que s? conseguirei localizar com o issue_id, mas, ao usar o F12, tenho uma informa??o como: data-testid="issue-field-heading-styled-field-heading.field"

Ou seja, n?o tenho o id do custom field.

Conseguem me ajudar a localizar o issue_id e entender o motivo de eu n?o conseguir usar o campo de menu suspenso dependente para automa??es como eu uso o menu suspenso?


Answers:
author: Fernando Eug?nio da Silva
body: [@Renan Alves do Nascimento](/t5/user/viewprofilepage/user-id/5487304) , bem vindo ? comunidade Atlassian!

Voc? pode dar mais detalhes de que tipo exato de campo est? se referindo? ? um campo Select List (Single Choice) ou um Cascade Field? Al?m disso, existe uma raz?o espec?fica para voc? querer usar o ID da op??o ao inv?s ela nominalmente?

Sinta-se livre para compartilhar qualquer print de tela que ache pertinente para nos ajudar a entender melhor seu contexto.


Tags: cloud

jira-service-management

jira-service-management-cloud
Can users who submit a ticket in Service Management but don't have Jira access see ticket updates?
Asked by Nina Barley:

We have Jira cloud. We use Jira Service Management templates to allow users without access to our Jira instance to create stories for our team. Will those users who are NOT Jira users be able to see the status \& updates to the story they submitted?


Answers:
author: Vijay Dadi
body: Hello [@Nina Barley](/t5/user/viewprofilepage/user-id/5022398) ,

If the user doesn't have access to jira, he can submit tickets only via customer portal. Access to customer portal doesn't require a license.

Vijay


Tags: cloud

jira-service-management

jira-service-management-cloud
Signup Link is nor Sent
Asked by Sava? ?ahin:

Hi,

As a mistake, I have changed my gmail accounts e-mail address. Then, Jira changed my contact e-mail address and said signup e-mail fired. However, there has been no mail in old or new e-mail address.

Is there any way to recover old e-mail or get signup mail?

BR

Savas


Answers:
author: RobertRipple
body: Contact Jira support and explain the situation. They should be able to assist you in recovering the signup email or updating your email address appropriately.


Tags: jira-service-desk-cloud

jira-service-management

jira-service-management-cloud
Webhook Automation
Asked by Aaron Micallef:

Hey Guys,

I am new for when it comes to automate webhooks and wanted to gather some help.

I have 2 service desk project where I want to open a ticket from one to another for example from project A when a transition status goes from open to in-progress it would trigger the automation to post via webhook to project B.

I would like to send the summary and the description fields from the project A ticket to the one being opened in project B ticket.

I am try to do a custom data but not sure where to start.

Cheers

Aaron


Answers:
author: Kalyan Sattaluri
body: In Project A, you would send web request to Project B URL and in the custom data, you put the below as payload

{"key": "{{issue.key}}", "summary": "{{issue.summary}}", "description": {{description}}}

Then in Project B, you would have trigger as "Incoming webhook" and you would reference the payload as:

{{webhookData.key}} , {{webhookData.summary}}, {{webhookData.description}} etc

Please try and share screenshots of the 2 rules if you get stuck.. along with audit logs for both..


Tags: cloud

jira-service-management

jira-service-management-cloud
Auto Assign Automation
Asked by Luis Andino Rodriguez:

Im attempting to do an auto assing in JSM bases on hours of the day  

the hours are:  

9am-12pm  
12pm-6pm

6m-8pm  

I want to be able to have different users assigned in each block. Is there a way to do this using automation?


Answers:
author: Vijay Dadi
body: Dear [@Luis Andino Rodriguez](/t5/user/viewprofilepage/user-id/5437614) ,

You can use date smart values to validate your issue creation date. Example given below

{{now.jiradate}}

this returns 2024/05/02

{issue.created.shorttime}}

this returns - 7:50 AM

So, you can use {issue.created.shorttime}} in your automation validation and assign the issues to individuals as per your need.

Hope this helps !

Vijay

comments: author: Vijay Dadi
body: here is the link to all the date/time smart values you can make use of.

[Jira smart values - date and time \| Cloud automation Cloud \| Atlassian Support](https://support.atlassian.com/cloud-automation/docs/jira-smart-values-date-and-time/)

Vijay


Tags: cloud

jira-service-management

jira-service-management-cloud
The lookup objects automation action does not show all schema, only 25 schema's are displayed
Asked by Nico Lenaerts:

The lookup objects automation action does not show all schema, only 25 schema's are displayed.

Is there a way to find out what causes this?

Kind regards,

Nico


Answers:
author: Nico Lenaerts
body: When I type the name of the Assets schema, I can find it, but automation does not work and shows a number instead of the schema name:  

![2024-04-30_13h18_11.png](https://community.atlassian.com/t5/image/serverpage/image-id/321290iEB915480692B031F/image-size/large?v=v2&px=999 "2024-04-30_13h18_11.png")

comments: author: Kai Becker
body: Hi Nico,

thanks for your question. This is the expected behaviour. The preload of such dropdowns is limited to 25 entries. If you need to dig deeper you need to search via auto compete.


author: Nico Lenaerts
body: ok, I found out that it works, even when the name of the schema is not visible in the automation rule, thank you for your help!


Tags: cloud

jira-service-management

jira-service-management-cloud
Unable to disable search bar in jira service desk portal (help center)
Asked by Emilia Zubkowicz:

Hi,

Since I have no knowledge base linked to my project and I just want customers to have access to their tickets I would like to disable entirely the search bar. I found info (see screen) that one can disable search in Portal Settings but I do not have this option.  

Do you have any suggestions how to hide it?  

<br />

<br />

![Screenshot 2024-04-30 at 12.48.46.png](/t5/image/serverpage/image-id/321287iDF0B76EFBC8CE78A/image-size/large?v=v2&px=999 "Screenshot 2024-04-30 at 12.48.46.png")![Screenshot 2024-04-30 at 12.56.10.png](/t5/image/serverpage/image-id/321288iC744C58E9DE7E7C0/image-size/large?v=v2&px=999 "Screenshot 2024-04-30 at 12.56.10.png")


Answers:
author: Hameed Saudagar
body: Hi [@Emilia Zubkowicz](/t5/user/viewprofilepage/user-id/5487157)

Hope this finds you well. I understand you are unable to disable the Search bar from the Portal Settings under Project Settings.

We are curious to know what version of the Jira Data Center you are running.

Please be informed this feature has been introduced from the Jira Service Management 4.18.1 onwards.

You can refer to [Release Notes](https://confluence.atlassian.com/servicemanagement/jira-service-management-4-18-x-release-notes-1072467369.html) for more information.

I hope this answers your queries.  

Regards  
Hameed

comments: author: Rajan Dangol
body: [@Hameed Saudagar](/t5/user/viewprofilepage/user-id/4592474) Are JSM auto upgraded to latest release note? How can i check which version for JSM I am using?


author: Hameed Saudagar
body: Hi [@Rajan Dangol](/t5/user/viewprofilepage/user-id/5527757)   

No, JSM won't be auto-upgraded. If you use Jira Software Datacenter along with JSM Datacenter, then you will need to upgrade Jira Software first and then JSM.

If you just JSM installed then you will have to perform the upgrade of your JSM as well.

You can follow one of the approaches mentioned in the [Upgrade methods.](https://confluence.atlassian.com/adminjiraserver/upgrading-jira-applications-938846936.html)

To check which version of JSM you are using you can check from

**? \> Application \> Version and Licensing**   

Regards  
Hameed


author: Rajan Dangol
body: Is this not applicable for Jira Cloud? Or Jira Service Management via Web?


Tags: cloud

jira-service-management

jira-service-management-cloud
Bulk update "request type" possible?
Asked by Oliver:

Dear Community,

I am looking for a way to update the field "request type" in a mass processing. Unfortunately, the mass processing or the filter does not offer the possibility that I only output such processes.

I would therefore like to ask the community whether you know a sensible way to determine all processes that do not have a "request type" and how to assign them?

Many thanks and best regards  
Oliver


Answers:
author: Hannes Obweger - JXL for Jira
body: Hi [@Oliver K?hnast](/t5/user/viewprofilepage/user-id/4536093)

you should be able to edit the request type using Jira's built-in bulk editing flow. Go to *Filters ? View all issues*, search for the relevant issues (e.g. using a query like

```
project = <your project> AND "Request Type" IS EMPTY
```

) and then trigger the bulk editing flow via *? ? Bulk change*.

Does that work?

*Edit: Apologies; I only tried this for Cloud; it may not work for Data Center.*

comments: author: Oliver
body: Good morning [@Hannes Obweger - JXL for Jira](/t5/user/viewprofilepage/user-id/4289506),

Thank you for your reply. Unfortunately, this field is not available in the value list, so I cannot filter on it. That's why I was hoping that there was some kind of workaround.


Tags: jira-service-desk-data-center

jira-service-management

jira-service-management-data-center
What is the difference between JIRA2 and JIRA3?
Asked by Rooon Tony:

I have my projects included under JIRA3 and if I need to move that to JIRA2 what has to be done.


Answers:
author: Valerie Knapp
body: Hi [@Rooon Tony](/t5/user/viewprofilepage/user-id/5487116) , welcome to the Atlassian Community and thanks for your question.

Please can you share a screen, anoymised is fine, of what you are trying to do? I don't understand enough to be able to help at this time.

Thanks


Tags: jira-service-desk-unknown-hosting-type

jira-service-management
How to stop a custom field being edited to blank?
Asked by Kirsty Mcloughlin:

On one of create screens we have a mandatory field called 'Project Manager' which is a user picker field.

We have found however, that people are later deleting their name out of this field, leaving it blank which is bottle-necking our process.

How do I implement it so that if someone tries to remove their name from this field then an alternative name MUST be inserted and not left as blank?


Answers:
author: Salzi
body: Remove the field from the edit screen and make it only editable in one tranistion to itself (with a separate mask for this) then you can then use a validation that checks whether the field is filled out.


Tags: jira-service-desk-data-center

jira-service-management

jira-service-management-data-center

jira-service-management-server

server
JIRA Field that holds description of developers' fix
Asked by Rachel Frechette:

I used to work at a company that had a field where developers could enter what they did to fix the issue. This was a different field than the "Comments" field. At the company that I'm currently at, I can't find this field. Does that mean that my old company had probably added a custom field for this? We really don't want the fix description to be included with all the comments.

Can someone please help me?

Thanks in advance.

Rachel


Answers:
author: Vijay Dadi
body: Hello [@Rachel Frechette](/t5/user/viewprofilepage/user-id/5476530) ,

You can create a new custom field may be as "Resolution Comments". Add that field to an issue edit screen and that should do the magic !

comments: author: Rachel Frechette
body: Thank you [@Vijay Dadi](/t5/user/viewprofilepage/user-id/5408989)


Tags: cloud

jira-service-management

jira-service-management-cloud
Remove organization from project
Asked by nicole liliana bassi:

Hello, I need to delete some organizations from the list of organizations of a particular project

<br />

If possible I will user api rest, but with the code I read from

https:///developer.atlassian.com/cloud/jira/service-desk/rest/api-group-organization/#api-rest-servicedeskapi-Servicedesk-servicedeskid-organization-delete

under the voice **Remove Organization** the answer gets an error with code 415

<br />

What can I do?

Is there an updated guide of your rest api?

thanks

Nicole


Answers:
author: Andras M_
body: Hey [@nicole liliana bassi](/t5/user/viewprofilepage/user-id/5487040)

The HTTP **415** error is likely the result of a missing Content Type header. Since the endpoint requires the organization id to be passed as part of the request payload, the Content Type header has to be passed. When this is not done, or an incorrect header is sent, a HTTP **415** error is returned.

Please ensure your request has the following header:

```
Content-Type: application/json
```

The above may need to be formatted to suit the application or code you are using to interact with the API.


Tags: cloud

jira-service-management

jira-service-management-cloud
?? ??????
Asked by ???????:

?? ?????? ?????? ?????? ?????? ????????? ????????? ????..???????


Answers:
author: Waseem Haddad
body: ??? ????? ??? ???? ???? ?? ???? ?? ???????? ????? ?????? ?????? ??????????


author: ???????
body: ?????? ??? ???????

???? ???? ???? ???????


Tags: jira-service-management