youngmon/atlassian-qna huggingface dataset:
Is it possible to trigger a Bamboo plan from JIRA?
Asked by Vijender Singh:

Is it possible to trigger a Bamboo plan from JIRA?

I want to trigger automation Plan in bamboo , when a issue is assigned to say a development team,


Answers:
author: Vijender Singh
body: Question to Atlassian -- Invoking Bamboo plan from JIRA , is it done?


author: Vijender Singh
body: thanks I will explore it.


author: Jobin Kuruvilla [Adaptavist]
body: You can trigger the Bamboo REST API URL from a webhook in JIRA. See the following links for webhooks:

<https://developer.atlassian.com/server/jira/platform/webhooks/>

<https://confluence.atlassian.com/adminjiraserver/managing-webhooks-938846912.html>


Tags: jira
Will "Source Code Checkout" Bamboo task checkout the branch
Asked by Venkat Pasula:

Hello All,

I am new to Atlassian world . I am creating a new build plan . As part of the build plan, I am creating a "Source Code Checkout" Bamboo task. I am confused with the word Checkout . I want to know if this task would really checkout the branch for the build?.


Answers:
author: Edwin Kyalangalilwa
body: Hi Venkat,

Yes. This task will checkout the branch you have set in the configuration.

Here is some documentation.

[Linking to source code repositories](https://confluence.atlassian.com/bamboo/linking-to-source-code-repositories-671089223.html)

[Checking out code](https://confluence.atlassian.com/bamboo/checking-out-code-289277060.html)


author: Venkat Pasula
body: Edwin .Thank you so much for your reply.See the branching model attached.

I am planning to setup a build plan for all the code that is being pushed to **Develop** branch. If the branch is checked out during the build , that means I am not allowing developers to push their changes from their DEV_Feature branch to Develop Branch. I do not want to stop the developers from pushing their code. Please advice ..![Branch_Demo.png](https://community.atlassian.com/t5/image/serverpage/image-id/19706iCAEC470C2275E9F5/image-size/large?v=v2&px=999 "Branch_Demo.png")

comments: author: Edwin Kyalangalilwa
body: Venkat,

I would look into plan branches, DEV_feature-1,2 branches should also have their own builds triggered by commits and merges. Then you can automate and auto merge the code into Develop after successful builds in the feature branches or merge manually.

[Using plan branches](https://confluence.atlassian.com/bamboo/using-plan-branches-289276872.html)

When you merge to Develop, it should trigger a build there as well .. then you can move to Release.


Tags: check-out

task
Run Jira Server from bamboo. copy test database and install plugin
Asked by Former user:

Hi community!

We are trying to automate testing of a Jira add-on and I wonder if anyone has experience and is ready to share it.

At this stage we need to do following from bamboo:

1) Run specific version of Jira;

2) Push h2db test database to it;

3) Push the add-on;

4) Wait till Jira starts and launch tests only after it has started;

I have some clue how to accomplish 1, 2 and 3 and I guess should manage it in few hours. What worries me most is "how to wait till Jira is started".

Would be very grateful for any hints.


Answers:
author: Steffen Opel _Utoolity_
body: Regarding question 4, you might want to look into the following:

* Official Jira status URL, see [Document the /status URL for JIRA (JRASERVER-63928)](https://jira.atlassian.com/browse/JRASERVER-63928)
  * available as of 7.1.0 only, which is enough if you just need to cover versions not [EOL](https://confluence.atlassian.com/support/atlassian-support-end-of-life-policy-201851003.html) yet
  * lacks documentation other than this issue
  * not 100% positive 'RUNNING' implies the desired stable state for app testing, but given its used for the load balancing health checks, it better be
    * please note that you seemingly need to explicitly check for RUNNING rather than just HTTP 200 as one would expect, because MAINTENANCE counter intuitively returns 200 too (see Tom Jackson's resp. [comment](https://jira.atlassian.com/browse/JRASERVER-46458?focusedCommentId=1516351&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-1516351))
* Application Links /rest/applinks/latest/manifest URL, see [Status URL for monitoring?](https://community.atlassian.com/t5/Jira-questions/Re-Status-URL-for-monitoring/qaq-p/146532/comment-id/61578#M61578)  
  * works across all products, and for older versions too
  * no explicit notion of or relation to 'RUNNING' regarding the host product
  * not entirely positive its availability implies the desired stable state for app testing, but given app links are a dependency for several other plugins, I'd hope/assume they are instantiated early on purpose (seems to be the case at least)

comments: author: Former user
body: Thank you Steffen!

Looks like what I need. Moreover your answer made me think that I can try to rely on some Jira REST API method checking till it returns the expected response.


author: Mirek
body: You can try to use Docker for this :)

<https://www.atlassian.com/blog/archives/docker-all-the-things-at-atlassian-automation-and-wiring>

comments: author: Former user
body: Hi Mirek,

Thank you for the suggestion.

I do no have much hands-on experience with docker so this will bring additional complexity. Moreover seems I am able to cover 1, 2 and 3 (at lease did it in the console) so the only open question is "how to wait till Jira is started".


Tags: jira-development
What websites does Bamboo access on the Internet?
Asked by Scott Foster:

Our security department will not allow Bamboo to access the Internet for updates and other needs without knowing what those sites are via IP or FQDN. We have not been able adequately determine a comprehensive list of sites/IP addresses on the Internet along with associated port number that Bamboo uses for updates and other needs. Can anyone help us out on this?


Answers:
author: Foong
body: Bamboo will send the analytic data to <https://btf-analytics.s3.amazonaws.com>

For more information, refer to [Collecting analytics for Bamboo](https://confluence.atlassian.com/bamboo/collecting-analytics-for-bamboo-720411358.html)

It can be disabled at **Administration \> System \> Analytics**

Bamboo will also connect to <https://marketplace.atlassian.com> to check if there is any update for add-on.

It can be disabled at **Administration \> Add-ons \> Manage add-ons \> Settings \> Connect to the Atlassian Marketplace**

comments: author: Scott Foster
body: Is this the same for the server and the agents?


author: Foong
body: That is for Bamboo server only.

For the remote agent, it need access to:

1. your Bamboo server URL
2. the IP address and port (default 54663) configured at **Administration \> System \> General configuration \> Broker configuration \> Broker client URL**


author: Scott Foster
body: So the agents don't need any access to the Internet for updates or anything else? Just confirming.


author: Alexey Chystoprudov
body: Yes, the only connection agent does is Bamboo server and tasks, for example checkout or SCP tasks require access to hosts configured for those tasks.
How do I point remote agents to a new bamboo server?
Asked by Rob McGinty:

Other than initially starting the remote agent, I don't see where this is configured.


Answers:
author: Jeremy Owen
body: Hey Rob,

The address is stored in the *\<bamboo-agent-home\>/conf/wrapper.conf.*Example below:

```
wrapper.app.parameter.2=http://bamboo-url/agentServer/
```

The */agentServer/*part is also a static requirement.

Cheers,

Jeremy

comments: author: Rob McGinty
body: Thanks. Do you need to reboot the agent to make the change take effect or just restart the bamboo-remote-agent service or what?


author: Jeremy Owen
body: You're welcome. :) For the wrapper.conf changes to Base URL, you'll just need to restart the agent.

There's also one other address the agent uses for connections which is configured on the Bamboo Server side at:

* *Bamboo Administration \>\> Overview \>\> General configuration \>\> Broker Client URL*

If this particular URL needs to be changed, both the Bamboo Server and then agent need to be restarted.

Cheers,

Jeremy


author: Rob McGinty
body: You're fast. Ok just to double check, I don't need to update the base URL since it's tcp://0.0.0.0:54663 right?

Thanks again


author: Jeremy Owen
body: That sounds like the *Broker URL* (which is the listener address and 0.0.0.0:54663 is fine). The Broker **Client** URL is what gets distributed to the remote agent when it first connects (via the HTTP address you configured in the wrapper.conf earlier) and is the address the agent will connect to for messaging between server and agent.

If the current Broker Client URL is a connectable address from the remote agent, then no need to change it. You can test with a *telnet*if needed.

Cheers,

Jeremy


author: Rob McGinty
body: You're right, I meant the Broker URL. Looks good from here then!

Cheers to you Jeremy
Atlassian Universal Plugin Manager incompatible for Bamboo 6.2 or superior
Asked by Pablo Scheveloff:

Hi!

I want to upgrade Bamboo from v5.15 to 6.3 but for my surprise, I've noticed that there are 2 main addons that are not compatible from v6.2. These are:

* **Atlassian Universal Plugin Manager Plugin**
*

  #### Support**Tools Plugin** {#toc-hId-1401228222}

Could I have further issues with other add-ons later if "UPM" seems to not be supported? Is it planned to be updated soon as it's supposed to be a critical add-on?

Thanks in advance!


Answers:
author: Pablo Scheveloff
body: Thanks Jeremy.

Do you think I won't have any issue as I'm upgrading instead of having a clear installation?

Best,

Pablo

comments: author: Anonymous Coward
body: Simon says:

" You won't have any issues with the plugins. As a good practice please backup your urrent Bamboo installation before you perform the upgrade"

I hope this helps.


author: Pablo Scheveloff
body: Thanks Simon, plugins seem to be working fine after updates.


author: Jeremy Owen
body: Hey Pablo,

It seems like the version on Marketplace listing isn't up to date but I can assure you that Bamboo 6.2 and above, all come with bundled (pre-installed) versions of the add-ons that are compatible.

Hope this helps.

Cheers,

Jeremy

comments: author: Pablo Scheveloff
body: I've upgraded Bamboo to v6.3 and it seems all add-ons are working OK after manual update. Thanks for your help Jeremy!

Best,

Pablo


Tags: atlassian-support
i will use ssh to connect all my project and repository but i have that err Someone has already regi
Asked by magatteTop:

Need help.

Hello i get this error

Someone has already registered this as an account SSH key.

when i will add the ssh-key on a other repository, thank you to help me and excuse me i was a beginning on english.


Answers:
author: Foong
body: If you have already added your SSH key into your **Bitbucket account Setting \> Security \> Access Key** , it is not possible to add the same SSH key into the project or repository.

If your user has the Read or Write access permission to those repository, there is no need to add **Access Key** (SSH key) to those repositories.


Tags: bitbucket-cloud
Upload artifacts from Bamboo to Confluence
Asked by Aby12345:

Hello All,

We have a build jobs running for our project which create certain artifacts. These artifacts constitute the various deliverable of a release. We wanted to know if there is a way these artifacts can be uploaded to the linked confluence space for our project.

The idea is to have a release note page which has all the uploaded the artifacts from bamboo and the JIRA tickets from the current release.

Please do let me know if its possible internally or if we have a plugin that could do this for us.

TIA,

\~Aby


Answers:
author: Steven F Behnke
body: Use a task in a deployment environment to create the page and upload the files using the REST api. Should be straight forward.

comments: author: Aby12345
body: Hello Steven,

Thanks for addressing this. We do not have a deployment environment or a deployment project.

What we have is a build project with stages and our scripts added to these stages. From what I understood we can still have a script as a part of the stage which accesses the Confluence REST API and uploads the artifacts generated by the build to a confluence page.

Please correct me if I am wrong. Also please do suggest.


author: Steven F Behnke
body: I would suggest handling this in a Deployment Project attached to your Build Plan. This way only successful builds will deploy to Confluence.

Regardless, the approach is the same in a deployment project or build plan -- They both use Tasks.

The Script Task would allow you to select a script that has the appropriate calls. You can call the createContent endpoint with the XML for the page, and then call the createAttachment endpoint with all the files you're adding.


author: Aby12345
body: Hello Steven,

Thanks for your inputs.

Is it necessary to have a Deployment project additionally. Can this script be added to an existing build plan?

I already have a running build plan which validates the bitbucket code.

TIA.


author: Steven Behnke
body: > Regardless, the approach is the same in a deployment project or build plan -- They both use Tasks.

Yes, as stated the script just needs to be ran. Whether or not that is a buildplan or a deploymentplan is up to you.


Tags: artefact

build

confluence
Bamboo git lfs checkouts fail
Asked by Stefan Sassenberg:

When I try to checkout from my repo using a "Source Code Checkout" task, I get an error. The created command is "/bin/git lfs fetch ssh://some-uuid@127.0.0.1:40050/misc/main.git refs/heads/master". The output of that command ist "stderr:Invalid remote name "ssh://some-uuid@127.0.0.1:40050/misc/main.git".

That seems to be a misbuilt command. The Bamboo version is 6.0.3 build 60004. The Linked Repository is configured with "Use shallow clones", "Verbose logs" and "Enable LFS support". I also have "filter.lfs.required = true" in the config of the apache user, but "git config --get filter.lfs.required" has return code 1. Is there something I can do?


Answers:
author: Jeyanthan I
body: Hi Stefan,

I believe Git LFS is installed on both Server and on the agent side. Can you check if the Git checkout command with the same local account works outside?

I ask this because there was a bug ([BAM-18339](https://jira.atlassian.com/browse/BAM-18339)) in Bamboo 5.15.x where GIT LFS doesn't work correctly if 'Fetch whole repository' option is set in the linked repository.

As a workaround, you will have to disable 'fetch whole repository' option.

comments: author: Stefan Sassenberg
body: Hi Jeyanthan,

thank you very much. "Fetch whole repository" wasn't enabled anyway. But I've found the reason now. The version of git-lfs was a 1.x which does not support URLs as remote. Details are described [here](https://github.com/git-lfs/git-lfs/pull/1085 "Accept raw remote URLs as valid"). I'm on a 2.4.0 now and it works perfectly.

Best regards

Stefan


Tags: git-lfs
Bamboo Script Task with Curl
Asked by Malentaqui:

When trying to build (on a plan with one taks, to test), an script curl task.

I get the error "'curl' is not recognized as an internal or external command,  
operable program or batch file."


Answers:
author: Anonymous Coward
body: Simon says:

"

The error message you see is caused by the fact that the curl binary cannot be found and therefore cannot be executed.

Please check that the following apply (and if not corect):

- curl is installed in your system

- curl is in a directory that is listed in the $PATH environment variable

If curl is installed on your system you can also call the curl binary with the full path instead of just 'curl' and then you would not have to set the environment.

"

I hope this helps.


Tags: curl
Exposing Object attributes to forms
Asked by Allan Herejias:

Hello everyone,

I am working on a form and my intent is to use my main field 'Position number' (a field linked to an asset object 'Position') as the value that the users will select. Once the user have selected a value in Position Number. Other fields in the form will automatically populate (e.g. Supervisor's position number and Position name)

![Position attributes on forms.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/313199i14E498D3F22A5D8A/image-size/large?v=v2&px=999 "Position attributes on forms.jpg")

is there a way for Jira form to do this? Position Name and Supervisor position number is expected to just be a read only field that gets populated depending on the Position Number


Answers:
author: Rudy Holtkamp
body: HI [@Allan Herejias](/t5/user/viewprofilepage/user-id/5457016) and welcome to the community,

This is not possible in the way you want (auto-populate), you can restrict the number of selections in the other fields. But my question is, why does a user need to give this information as it is already known by the asset? If a user selects the correct object, you can show the attributes in the agent view.

comments: author: Allan Herejias
body: Hi [@Rudy Holtkamp](/t5/user/viewprofilepage/user-id/636802) ,

Thanks for your reply. Really appreciate it.

The user does not need to give all the information, the intent is for them to see on a glance the other details of the specific object in the asset schema by just providing the position number. Also I forgot to mention that this is all in context of user populating a form through ticket portal - which I believe from that view does not have any visibility of assets/object details \& graph.


author: Rudy Holtkamp
body: Correct, portal users do not have access to asset details.


Tags: cloud

jira-service-management

jira-service-management-cloud
Workflow Transition Condition
Asked by agallaway:

Our users report issues via email and those issues get pulled into the helpdesk using the email integration. All issues that get created have the "Issue Submitted via Email" Request Type. We ask our service desk team to update the Request Type to the correct relevant request type. In order to try to enforce this I have a condition on our Resolved transition that does a string comparison and says the Request Type will have to be not equal to value "Issue Submitted via Email" (see screenshot). However, that is not working. If an issue still has the "Issue Submitted via Email" request type the resolved transition is still visible and they can use the transition without any errors. Am I missing something?

![Resolved Transition.png](/t5/image/serverpage/image-id/313161i20278AA1D2E14BBC/image-size/large?v=v2&px=999 "Resolved Transition.png")


Answers:
author: Walter Buggenhout
body: Hi [@agallaway](/t5/user/viewprofilepage/user-id/1302045),

To use request types in workflow conditions, you should not refer to their visible name, but to the ID that is used to identify behind the scenes.

Have a look at [this related post](https://community.atlassian.com/t5/Jira-Service-Management/Using-Customer-Request-Type-in-a-Workflow-Condition/qaq-p/709177) for a detailed description of how to find and apply it.

Hope this helps!

comments: author: agallaway
body: [@Walter Buggenhout](/t5/user/viewprofilepage/user-id/783225) Thank you! I checked out the post you referenced and figured out the object ID for the request type and updated the condition rule and now it is working correctly. I appreciate your help.


Tags: cloud

condition

jira-service-management

jira-service-management-cloud

workflow
How can a user unsubscribe from all notifications?
Asked by Sierra Navarro:

I have a couple of specific users that no longer want to receive any Jira/Atlassian notifications. Both users currently have open tickets as well.

How can the users disable all notifications?


Answers:
author: Dexter de Vera
body: You may ask the user who dont want to receive issue activity to do the following.

From the top right of your screen, select Personal settings

Under Notification settings in the side navigation select Projects and issues

Switch the toggle off for Receive email notifications for issue activity

You won't receive any notifications for issue activity but may still receive other email notifications like updates on your Jira site, updates for filter subscriptions, and those regarding your Atlassian account.


author: Benjamin
body: HI [@Sierra Navarro](/t5/user/viewprofilepage/user-id/5307178)

Welcome to the community.

Here's a post that discuss the notification options that can be disable for a user:

<https://community.atlassian.com/t5/Jira-Service-Management/How-to-remove-notifications-for-a-specific-user/qaq-p/1797205>

Hope this helps.


Tags: cloud

jira-service-management

jira-service-management-cloud

notifications
Can I configure the /jira create command in slack?
Asked by Elena Balasa:

I created a project in JSM (FooBar) and i am trying to have an / command configured in slack so that everyone can open an incident under Foobar project.   
When i use the '/ jira create' command in slack i see listed all the projects, the user is also asked to select the issue type   
I'd like for the project to default to Foobar and the issue type to default to Incident

Is this possible?

<br />

Additionally the user gets displayed over 20 optional fields (severity, source) that i'd like to remove but i cannot find documentation on how to do that.


Answers:
author: Benjamin
body: HI [@Elena Balasa](/t5/user/viewprofilepage/user-id/5456772) ,

Found an article that should point you in the right direction of limiting the projects:

<https://community.atlassian.com/t5/Jira-Software-questions/How-do-i-restrict-slack-access-to-certain-Jira-projects/qaq-p/1408413>

As for the fields, there is a ticket raised with Atlassian:

<https://jira.atlassian.com/browse/API-157>

comments: author: Elena Balasa
body: Thank you!


Tags: cloud

jira-service-management

jira-service-management-cloud

slack
Can't find Notifications Helper
Asked by Dmytro Danylov:

Notifications Helper is supposed to be under System/Admin Helper/

But it's not there. I only see Permissions Helper. Tried a few alternative ways, and still can't find it anywhere. What could be the reason?


Answers:
author: Nikola Perisic
body: I see, I don't have this option as well and I know why. Recently, Atlassian posted an article with the changes of personal Jira settings, and they have made some changes. Apperantely, this change was not being mentioned.


author: Nikola Perisic
body: Hello [@Dmytro Danylov](/t5/user/viewprofilepage/user-id/2455640)

As mentioned here <https://community.atlassian.com/t5/Jira-Software-questions/Notification-Helper-Permission-Helper-Issue/qaq-p/403479>, do you have a global permissions to browse the users?

comments: author: Dmytro Danylov
body: Hi Nikola,

Thanks for your answer.

Yes, I am org and site admin and I do have permissions to browse users.

![Screenshot 2024-03-20 at 12.27.42.png](https://community.atlassian.com/t5/image/serverpage/image-id/313267i5F8F22F1C87F630E/image-size/large?v=v2&px=999 "Screenshot 2024-03-20 at 12.27.42.png")


author: Nikola Perisic
body: Can you post a screenshot of your menu?


author: Dmytro Danylov
body: Sure. This is the one you meant?

![Screenshot 2024-03-20 at 14.13.38.png](https://community.atlassian.com/t5/image/serverpage/image-id/313297i8ABA53D7D9ADAE75/image-size/large?v=v2&px=999 "Screenshot 2024-03-20 at 14.13.38.png")


author: Dmytro Danylov
body: Thank you. I wonder how to ask Atlassian team about it?


author: Nikola Perisic
body: You can raise a support ticket for them here: <https://support.atlassian.com/contact/#/>


author: Nikola Perisic
body: [@Dmytro Danylov](/t5/user/viewprofilepage/user-id/2455640) Found it. Try using the dot on your keyboard, on the home page of Atlassian. Notification helper should appear there.


author: Dmytro Danylov
body: Hi [@Nikola Perisic](/t5/user/viewprofilepage/user-id/5166624) ,

I checked the menu you suggest and it does mention Notifications Schemes, but no Notifications Helper.

![Screenshot 2024-03-20 at 16.38.36.png](https://community.atlassian.com/t5/image/serverpage/image-id/313350iAEC502313198230F/image-size/large?v=v2&px=999 "Screenshot 2024-03-20 at 16.38.36.png")


author: Nikola Perisic
body: This is indeed strange.


Tags: cloud

jira-service-management

jira-service-management-cloud