youngmon/atlassian-qna huggingface dataset:
Missing bamboo release commit history due to artifact download
Asked by Enrico Neuber:

Hi,

We have the following integrated Atlassian setup

* Bitbucket (Git)
* JIRA
* Bamboo

We have Continuous Integration implemented that every Git commit having a JIRA issue ID in the message triggers a bamboo CI build creating shared artifacts. It works fine, bamboo is showing the included commits with JIRA issues in the build summary.

Next step is a distribution build in bamboo taking the CI artifacts to get to a proper bamboo release that can be deployed to several environments. Bamboo has the feature to compare releases by its included commits and JIRA issues.

But, here's the problem. As the distribution build takes the CI artifacts and does not checkout any Git repository, bamboo does not have a commit history it can pass into the created release. So the nice feature of release comparison is useless as the commit history is empty for the release.

**How can we have the full commit history of the built artifacts (coming from the CI build) available in the distribution build and later bamboo release?**

I'm hoping this comes out of the box to be a bamboo feature we currently don't know how to enable. I would like to avoid making a hack or some ugly trick.

Who could help?


Answers:
author: Gonchik Tsymzhitov
body: Hi!

Do you mean in deployment plan provide some json file which contain commit with commits message?

Cheers,

Gonchik Tsymzhitov

comments: author: Enrico Neuber
body: This probably we can create by our own. But as bamboo already has the functionality in the deployment projects for every release to compare against an older release for all changes .. we would like to use it. Hindering is that bamboo does not provide the full change set internally as we just download artifacts from CI to Dist/ Release and not checkout the repository to save build time.
Atlassan bamboo with unity
Asked by CosmicS:

Hi,

Does anybody know how i can use bamboo to create a continous integration street with Unity? Let's say i have a Unity project, i'd want to automatically trigger a task once i merge / commit to master. I want that task to at least automatically build the Unity project and maybe include tests, i have never done anything with CI so any help with this is appreciated.

Thanks,

Cosmic


Answers:
author: Gonchik Tsymzhitov
body: Hi!

I hope the latest version 6.8.0 will cover your request

<https://confluence.atlassian.com/bamboo/bamboo-releases-671089224.html>

Also, please, have a look  
<https://marketplace.atlassian.com/apps/1215235/fail-build-trigger-for-bamboo>

Cheers,

Gonchik Tsymzhitov


Tags: test
I am New to Bamboo . I am creating a Build in Bamboo with different build steps !!
Asked by Srini-devops:

I don't want the next steps to be executed when the before step fails .

How can we do that ? Please help me !!


Answers:
author: Edwin Kyalangalilwa
body: Hi [@Srini-devops](/t5/user/viewprofilepage/user-id/1975174),

Use stages in the plan. This makes sure that the previous stage is successful before executing the next.

[Using stages in a plan](https://confluence.atlassian.com/bamboo/using-stages-in-a-plan-289276862.html)

comments: author: Srini-devops
body: [@Edwin Kyalangalilwa](/t5/user/viewprofilepage/user-id/255918) Thank You ..
Too many calls to the crowd rest api.
Asked by JongBum Lee:

Dear All.

My Bamboo version is 5.15.5 and using Crowd SSO.

There are 15 agents and fewer than 1\~2 concurrent users.

My Bamboo crowd.properties

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

session.validationinterval 20

bamboo.crowd.cache.minutes 60

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

others is default

By the way, bamboo calls the following Crowd rest api four to 5\~6 times per every second.

/crowd/rest/usermanagement/1/config/cookie

/crowd/rest/usermanagement/1/session/sessionkey value

Is this signal from the agent? (web : 1\~2 concurrent users)

Is this normal?

Or what am I doing wrong?


Answers:
author: Timothy
body: > /crowd/rest/usermanagement/1/config/cookie
>
> /crowd/rest/usermanagement/1/session/sessionkey value
>
> Is this signal from the agent? (web : 1\~2 concurrent users)

No. These are connections from the users accessing the application itself. Nothing to be worried about.

comments: author: JongBum Lee
body: Thank you for your kind and quick reply.  
The frequency of CROWD calls in BAMBOO is much higher than in JIRA, CONFLUENCE, and FISHEYE.  
I am afraid that CROWD server will be overloaded.


author: Timothy
body: Yes. This is something that you have to prepare for. The load of all your other products calling Crowd.


Tags: crowd
Latest build state from API out of date?
Asked by Will Payne:

I've set up a 'final' script task which requests the build status from \<server\>/*rest/api/latest/result/\<key\>/latest*

I've just noticed that a build failed last night but the results from the API showed it as successful (it had returned the previous build's data).

At what point is the 'latest' data updated? After all tasks (including final ones) are completed? I'm just wondering if a small delay in the script is enough to avoid this issue or if the script needs to complete before the data will be up to date..


Answers:
author: Gonchik Tsymzhitov
body: Hi!

For more consistency, have you tried to change trigger as

<https://bitbucket.org/chystoprudov/bamboo-failtrigger-plugin/src/master/>

Then provide as shared artifacts or something like that,

Just interesting your use case.

Cheers,

Gonchik Tsymzhitov


Tags: api
Can we specify the name of the remote agent when executing the jar file?
Asked by xil355:

As the question states, I'd like a way to pass an option to set the name of the agent, so that I don't have to manually do it every time in the Bamboo Server.

We're currently using Docker to run the agent in a container; so it's setting the name as a unique identifier for the container, by default.


Answers:
author: Edwin Kyalangalilwa
body: Hi [@xil355](/t5/user/viewprofilepage/user-id/1959965),

You can either run the container with

```
--hostname 
```

or modify

```
bamboo-agent-home/bamboo-agent.cfg.xml
```

```
<agentDefinition>
<id>1114113</id>
<name>agent</name>
<description>Remote agent on host agent</description>
</agentDefinition>?
```

For example here I used

```
--hostname agent
```

![Screen Shot 2018-09-12 at 2.32.57 PM.png](https://community.atlassian.com/t5/image/serverpage/image-id/32116i2883AFC311D8A3D6/image-dimensions/230x43?v=v2 "Screen Shot 2018-09-12 at 2.32.57 PM.png")

comments: author: xil355
body: Thank you, the container --hostname sounds like it would work.
Is it possible to grant view only permissions to deployment plans?
Asked by Joan:

I've been trying, and it seems that view only permissions at environment level, only allows to see that the environmnet it self exist and the deployment executions results. But it is not posible to see the deployment plan definition itself, that is, the tasks of the deployment plan. Even if you are also giving view permissions at the deploy project level.

<br />

Is this intentional? Is there a way to achieve this goal? Is it possible to view the deployment plan of a deployment environment without the Edit permission?

Thank you,


Answers:
author: Daniel Santos
body: Hi Juan,

If I understood you correctly the behavior you describe is expected.  
The view permission will allow you to view any UI screens not related to configuration changes. The details you are trying to see are not designed to be exhibited as read only fields. This happens to be the same for Bamboo plans. Any configuration screen can be seen/edited if you have the related edit permission.
> Is this intentional?

I'm not sure, but it could be. You might want to keep safe details in your environment tasks like users, passwords, server addresses and special commands used in your deployment. If every user able to see the deployment were able to see all its configuration details that could expose too much your infrastructure.
> Is there a way to achieve this goal?

There is aways a way, but I'm afraid that if you consider using the native features the answer is no.
> Is it possible to view the deployment plan of a deployment environment without the Edit permission?

No, as shared before, the native features of Bamboo won't give you that option.

I hope it helps to clarify the things up a bit.


Tags: bamboo-administration

deployment

permission

plan
Run builds concurrently on a single Remote Agent using Docker
Asked by jamesmatlock:

I know that you can normally only run builds sequentially on a single remote agent but is it possible to run builds in parallel on a single remote agent if you use the Docker runner to isolate each build in its own container? At one point we used VMware to accomplish this by creating many virtual machines but it was difficult to manage and required a lot of computing power. Docker would be much easier to manage and with the container isolation I would think it has the potential to solve the problem of only one build per agent at a time.


Answers:
author: Edwin Kyalangalilwa
body: Hi [@jamesmatlock](/t5/user/viewprofilepage/user-id/1961185),

No, since it will still be running in a single remote agent.

You'll have to run multiple containers each as a remote agent and docker can be a capability in each one. If your Bamboo server has Docker then you'll only add one more remote agent.

comments: author: jamesmatlock
body: @\[deleted\] Kyalangalilwa, Thank you for your response. I'm really new to Bamboo. So if I understand correctly, I can run multiple agents on a single remote piece of hardware which has the functional capability to do so. Each agent just needs to have its own space to work out of. Is that correct? I don't, necessarily, need Docker to make that happen. There are other reasons to have a standardized Docker container for testing though.


author: Edwin Kyalangalilwa
body: Basically each server counts as an agent.
> I can run multiple agents on a single remote piece of hardware which has the functional capability to do so.

Bamboo server itself counts as an agent (local agent). So this is where Docker would come into play.

How much remote agents are you licensed for?

So for example to run builds in parallel in Docker - you would have Docker installed on the local agent and another installed in a Docker container as a remote agent. Bamboo will recognize that there are two capabilities of Docker.


author: jamesmatlock
body: Right, so it would seem that there is no issue with having multiple Docker containers in existence with their own remote agents installed in them executing different plans simultaneously on the same computer. Is that a correct assessment?


author: Edwin Kyalangalilwa
body: Yes, that is correct.


author: jamesmatlock
body: Thanks again. I guess terminology was the sticky point for me. Once the terminology became clear everything fell into place (ie what's an agent vs the hardware it runs on). I had been reading questions from other people and I think it was their use of the terminology that had me confused. You cleared that up for me.
Adding a popup box or banner when clicking 'Reply to Customer'
Asked by Graham Bruce:

We are looking to see if its possible to add a popup box or prompt when someone clicks reply to customer, we have a guided response to the client and we want a popup to remind our analysts to follow the correct procedure.


Answers:
author: Ste Wright
body: Hi [@Graham Bruce](/t5/user/viewprofilepage/user-id/5470372)

Is this a workflow Status? Or just adding a Comment?

If it's a Status, you could...

* Have a Screen appear
* Have a read-only text field which provides a link to the procedure, or tells them to remember it

But, if this is just a Comment, there isn't a native way of doing this.

---

What about a [canned response](https://support.atlassian.com/jira-service-management-cloud/docs/create-a-canned-response/) instead? That way if there's a specific method of responding or content to include, it could be drafted as a template. See some best practices for these responses on [this help page](https://support.atlassian.com/jira-service-management-cloud/docs/best-practices-for-creating-canned-responses/).

Or for more advanced actions, what about using [Automation](https://support.atlassian.com/cloud-automation/docs/jira-cloud-automation/)? For example if a Status triggers the action, it could add a comment, and take other actions within the ticket as required?

Ste


author: Joseph Chung Yin
body: [@Graham Bruce](/t5/user/viewprofilepage/user-id/5470372) -

Welcome to the community. I agreed with [@Ste Wright](/t5/user/viewprofilepage/user-id/1166470) suggested. He is correct there is no native way when one is accessing the commenting UI outside of the WF transition status.

In our env, we established a proper business process training for all agents during their on-boarding process outside of Jira. This become the standard that they follow when handling issues in the JSM project(s).

Hope this helps.

Best, Joseph Chung Yin

Jira/JSM Functional Lead, Global Technology Applications Team

Viasat Inc.


author: Stanley Duback
body: Where someone clicks "Reply to customer" is this the workflow specifically you are referencing?   

If so, you can associate a screen to that workflow that will make a modal appear that can guide them toward your process.


author: Graham Bruce
body: Hi all,

thanks for the response, much appreciated. Yes, I was looking for a way to 'remind' our agents to follow the process but if there is no native way of doing this I'll look to use the Canned response.

Thanks again,

Graham


Tags: cloud

jira-service-management

jira-service-management-cloud
How do I update the reporter field on automated linked issues that were created by another issue
Asked by Aileen:

I have an automation set up for a "service desk A" where an issue is created and creates issues with a specific request type for "service desk B" and "service desk C"

How do I update the reporter for issues on Service Desk B and Service Desk C AFTER the automation runs?

My current one keeps failing because it's trying to run at the same time as the other automation. So it says the reporter is *automation for jira,*instead of the reporter from service desk A.


Answers:
author: Marcus Jones
body: Hi [@Aileen](/t5/user/viewprofilepage/user-id/4675287) ,

Unless I'm not understanding the question correctly, you should be able to simply set the reporter as part of the clone process in your automation.

![CloneIssue_Jira.png](https://community.atlassian.com/t5/image/serverpage/image-id/318080i7B702C7A218D1939/image-size/large?v=v2&px=999 "CloneIssue_Jira.png")

comments: author: Aileen
body: Hello [@Marcus Jones](/t5/user/viewprofilepage/user-id/5132701)

Thank you for your response!

When I tried the Clone action, it doesn't allow me to copy over the request type from the trigger issue.

Is there a way to do this in the same automation?


author: Aileen
body: Oh I think I figured it out...

If I do this branch, it seems to update the Cloned Issue request type...

![created issues.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/318107i0DF7B0608CD36601/image-size/large?v=v2&px=999 "created issues.PNG")


author: Marcus Jones
body: Awesome! Yes, that is exactly what I was going to suggest you do. Great job figuring it out!


author: Aileen
body: YAY! \& a Happy Friday to you!! Thank you for your support through the community!


Tags: automation

cloud

jira-service-management

jira-service-management-cloud

reporter
Add new options to a select list via automation
Asked by Daniel Bermudez:

Hello, I would like to know if I can add new options to a single choice select list through automation or some other way.

What I want to do is that when an epic ticket is created in the project, the name of that ticket is automatically added to the dropdown list.

Is this possible? How could I achieve it? preferably with automation.


Answers:
author: Matthew Challenger
body: Would it not be doable by using something like this approach?

<https://confluence.atlassian.com/jirakb/automation-to-append-the-dropdown-select-list-options-based-on-customer-input-1388151280.html>


author: Ste Wright
body: Hi [@Daniel Bermudez](/t5/user/viewprofilepage/user-id/5254821)

Do you still have JSW alongside JSM, or just JSM?

I'm asking to clarify if Epic Link is available - or restricted due to product choice.

Ste


author: Joseph Chung Yin
body: [@Daniel Bermudez](/t5/user/viewprofilepage/user-id/5254821) -

Unfortunately, you cannot use automation rule to update options associated with a custom field (select list data type).

Options is done at the system level where admins configure for the field configuration for the specific context.

Lastly, adding the name of the Epic ticket to the option list doesn't seem to be valid. Can you provide more clarification on why/reasoning to add the name of the ticket? So, we can further assist you. What do you mean by the name of the ticket?

Best, Joseph Chung Yin

Jira/JSM Functional Lead, Global Technology Applications Team

Viasat Inc.

comments: author: Daniel Bermudez
body: What happens is that in my company, we used to use JSW, and now we switched to JSM. In JSM, you can't create epic links, so one way I thought of doing it was that. Now, if that can't be done, do you know of any way to include epic links in JSM?

Also, we use a self hosted JSM, not cloud


author: Joseph Chung Yin
body: [@Daniel Bermudez](/t5/user/viewprofilepage/user-id/5254821) -

In JSM by default, you can use Issue Link functionality to reference back to the Epic issue. Typically, Epic issue type is used primarily for Jira Software Application product and not JSM product.

Hope this helps.

Best, Joseph


Tags: cloud

jira-service-management

jira-service-management-cloud
Add a group to Organisation
Asked by Ronah Kabagambe:

I want to add a group of users into an organisation of which there are several in Jira Service Management project.

Is that possible or is this done solely by adding one user at a time to an organisation?


Answers:
author: Kishan Sharma
body: Hi [@Ronah Kabagambe](/t5/user/viewprofilepage/user-id/5474963)   

Welcome to the Atlassian Community!

From UI, you can add customers email addresses one by one or enter multiple email addresses separated by commas.

If you are familiar with REST APIs, you can also use "**[Add users to organization](https://developer.atlassian.com/cloud/jira/service-desk/rest/api-group-organization/#api-rest-servicedeskapi-organization-organizationid-user-post)**" method to add customers via a script.

comments: author: Ronah Kabagambe
body: Thanks and i have tried the first albeit it just does one by one though comma separated. Will test the REST APIs.


author: Ste Wright
body: Hi [@Ronah Kabagambe](/t5/user/viewprofilepage/user-id/5474963)

Assuming you mean a user Group - then this isn't possible natively at this time. There is a feature request though - check out: [JSDCLOUD-4867](https://jira.atlassian.com/browse/JSDCLOUD-4867)

There's also a separate feature request for adding existing Customers in bulk to an Organization, which might be of interest - check out: [JSDCLOUD-9265](https://jira.atlassian.com/browse/JSDCLOUD-9265)

---

I did find a few workarounds...

1. Use REST API as [@Kishan Sharma](/t5/user/viewprofilepage/user-id/554991) suggests above to add Customers, see [this POST call](https://developer.atlassian.com/cloud/jira/service-desk/rest/api-group-organization/#api-rest-servicedeskapi-organization-organizationid-user-post)
2. Use an App; for example, check out this free app - [Group \& Organization Sync](https://marketplace.atlassian.com/apps/1232869/group-organization-sync?hosting=cloud&tab=overview) - or look for another App on the [Marketplace](https://marketplace.atlassian.com/search?hosting=cloud&product=jira-service-management&query=group%20organization)
3. Copy the emails in bulk from Excel \> *Customer email box.* This is similar to the manual option mentioned on [this help page](https://support.atlassian.com/jira-service-management-cloud/docs/add-customers-in-bulk-to-your-service-project/)

---

For **(3),**this is how to do it...

1. Export a list of users - either from the user directory or the customer list
2. In the CSV, copy just the email addresses as one column
3. Go to your Organization
4. Select *Add customers*
5. Copy the list into the box
6. Press *"+ Add"*
7. Check all looks okay, then press *Ok*

---

I tried **(3)**with 100 email addresses and it worked.

Let us know if this helps :)

Ste

comments: author: Ronah Kabagambe
body: Thanks for the extensive info and am happy to try all of the above if not for future use.


Tags: cloud

jira-service-management

jira-service-management-cloud
How to generate report to track Confluence & JSM linkage to view KM user participation?
Asked by Sanskriti Ramtek:

Hello there, is it possible to generate a report utilizing Viewtracker in Confluence, potentially in conjunction with JSM, to monitor participation data for Knowledge Management (KBAs/KCS)?

We have Trial access to Viewtracker right now and the Global Report has been helpful however we want to build a report where we can track linkage and participation from our engineers when they Link Confluence pages in JSM.   
Our engineers tag these articles(refer screenshot) from Confluence when resolving JSM tickets, and we wish to analyze this participation on monthly basis. The data, which will be maintained in our reports, gives us insight into their engagement with the creation and edits of the Knowledge Base Articles (KBAs) within Confluence.

We aim to track this across various team levels, which will provide us with insights into how they have progressed or regressed over time in terms of upholding Knowledge Management.

Has anybody ever had such type of requirement or something similar in the past![1jsm.png](https://community.atlassian.com/t5/image/serverpage/image-id/318014i7F2AD0E40BE66375/image-size/large?v=v2&px=999 "1jsm.png")![2jsm.png](https://community.atlassian.com/t5/image/serverpage/image-id/318013i896AE5D50B72167E/image-size/large?v=v2&px=999 "2jsm.png")


Answers:
author: Rodrigo
body: Good day [@Sanskriti Ramtek](/t5/user/viewprofilepage/user-id/5215315),

We thank you for creating a helpdesk ticket with us and for sharing your question on the Atlassian Community.

As mentioned, it is currently not possible to track the linking of Confluence pages in JSM. However views and edits on the knowledge articles happening through the helpdesk are tracked.

We hope that an insight here in the community can be helpful for you and your team.

With friendly regards  
Rodrigo \& the bitvoodoo team


author: Sanskriti Ramtek
body: ![1jsm.png](https://community.atlassian.com/t5/image/serverpage/image-id/318011iC7311BED1C21019A/image-size/large?v=v2&px=999 "1jsm.png")![2jsm.png](https://community.atlassian.com/t5/image/serverpage/image-id/318012iB428FA6A3237B92E/image-size/large?v=v2&px=999 "2jsm.png")

comments: author: Sanskriti Ramtek
body: Mistakenly added screenshots here, wanted to post along with the question.


Tags: cloud

jira-service-management

jira-service-management-cloud