youngmon/atlassian-qna huggingface dataset:
Linking multiple repositories to a YAML spec repository
Asked by Joseph Clements:

We have a single YAML specs repository that has various tools and scripts in it for conducting our tests, but not the code we're testing. We keep our code in many other repositories, and we're hoping to use the specs repository as the one stop shop for those repositories to test with.

I can't find a way to link multiple repositories to this in YAML or in the configuration, only the repository that actually has the specs. Is it possible?


Answers:
author: Daniel Santos
body: Hi [@Joseph Clements](/t5/user/viewprofilepage/user-id/1824995)

YAML specs was designed for less complex builds and therefore lacks in features if compared with JAVA Specs. Recently we had a lot of improvements in YAML specs due to a number of feature requests we received.

At the moment you cannot have other repositories configured/linked to YAML specs. Of course, you can use a script task to checkout your code, but that will not be the same scenario you have when Bamboo does that for you.

There is a JAC ticket requesting this feature to be part of YAML specs:

* [\[BAM-20563\] Integrate YAML Specs with repositories - Create and track feature requests for Atlassian products.](https://jira.atlassian.com/browse/BAM-20563?jql=project%20%3DBamboo%20%20and%20text~%22link%20repositories%20yaml%22%20order%20by%20createdDate%20)

To solve this problem now, I would recommend you migrating your YAML configuration to JAVA specs.  

In case you are not familiar with JAVA specs, the main configuration is already available for you through **Actions \>\> View plan as Java Specs** :

![Screen Shot 2019-08-02 at 10.02.56.png](https://community.atlassian.com/t5/image/serverpage/image-id/62257iD2C311501F003CEA/image-dimensions/347x119?v=v2 "Screen Shot 2019-08-02 at 10.02.56.png")  

Source or truth on JAVA Specs: [Bamboo Java Specs - Atlassian Documentation](https://confluence.atlassian.com/bamboo/bamboo-java-specs-941616821.html).


Tags: yaml
Getting error while configuring Sonarqube with bamboo
Asked by MuruganSankar:

I'm getting below error, while trying to connect sonarqube with bamboo.

Errors::

|----------------------|-----------------------------------------------------------------------------------------------------------------------|
| 31-Jul-2019 07:35:12 | INFO: ------------------------------------------------------------------------                                        |
| 31-Jul-2019 07:35:12 | INFO: EXECUTION FAILURE                                                                                               |
| 31-Jul-2019 07:35:12 | INFO: ------------------------------------------------------------------------                                        |
| 31-Jul-2019 07:35:12 | INFO: Total time: 49.671s                                                                                             |
| 31-Jul-2019 07:35:12 | INFO: Final Memory: 23M/439M                                                                                          |
| 31-Jul-2019 07:35:12 | INFO: ------------------------------------------------------------------------                                        |
| 31-Jul-2019 07:35:12 | ERROR: Error during SonarQube Scanner execution                                                                       |
| 31-Jul-2019 07:35:12 | ERROR: java.io.IOException: Cannot run program "java": CreateProcess error=206, The filename or extension is too long |
| 31-Jul-2019 07:35:12 | ERROR: Caused by: Cannot run program "java": CreateProcess error=206, The filename or extension is too long           |
| 31-Jul-2019 07:35:12 | ERROR: Caused by: CreateProcess error=206, The filename or extension is too long                                      |
| 31-Jul-2019 07:35:12 | ERROR:                                                                                                                |
| 31-Jul-2019 07:35:12 | The SonarQube Scanner did not complete successfully                                                                   |
| 31-Jul-2019 07:35:12 | 07:35:12.548 Post-processing failed. Exit code: 1                                                                     |

Kindly, help me to resolve this issue.


Answers:
author: Michael R?egg _Mibex Software_
body: Hi,

What would help me a lot to diagnose the issue is if you could show us the complete command that is invoked from the build log. You can also send us a support request to support@mibexsoftware.com together with the build log and we will get back to you ASAP.

Thanks,

Michael (app vendor)


Tags: sonar

sonarqube
Branch Creation Error through REST api
Asked by nagaraju bolleni:

Hi I am trying to create branch in bamboo project plan through REST API ... through node js code . using post .

```
var Url =  http://localhost:8085/rest/api/latest/ + 'plan/project/branch/branchName?vcsBranch="/poName"'; try{                    axios.post(Url, {}, {                    auth: {                    username:['username'],                    password: ['password']                   }
```

I am getting Request failed with status code 405 ...

"Error: Request failed with status code 405\\n at createError (c:\\BitBucketRepo\\server\\node_modules\\axios\\lib\\core\\createError.js:16:15)\\n at settle (c:\\BitBucketRepo\\server\\node_modules\\axios\\lib\\core\\settle.js:18:12)\\n at IncomingMessage.handleStreamEnd (c:\\BitBucketRepo\\server\\node_modules\\axios\\lib\\adapters\\http.js:202:11)\\n at IncomingMessage.emit (events.js:187:15)\\n at endReadableNT (_stream_readable.js:1094:12)\\n at process._tickCallback (internal/process/next_tick.js:63:19)"


Answers:
author: Hana Ku?erov?
body: Hi,

I believe your url is not correct. According to documentation it should look like this:

http://localhost:8085/rest/api/latest/plan/{projectKey}-{buildKey}/branch/{branchName}

comments: author: nagaraju bolleni
body: Sorry here i was posted wrong url . in my code i am posting correct url. for correct url aslo i am getting same error

i am posing though constant so here i am edited that ...


author: Hana Ku?erov?
body: Method PUT should be used, but it looks like you are sending POST request.

Did you try something like "axios.put"?


author: nagaraju bolleni
body: thanks , tried with put getting 400


author: nagaraju bolleni
body: Thank you , Put has been worked for me..
using bamboo specs with maven
Asked by falkeckert:

Hello,

how can i execute maven within bamboo-specs?

My bamboo.yml

version: 2  
plan:  
project-key: P  
name: p  
key: PP

stages:  
- Deploy to Test:  
jobs:  
- run maven  
#- clean

run maven:  
tasks:  
- script:  
- mvn -U -e clean compile install

Best regards


Answers:
author: Alexey Chystoprudov
body: See snippet in documentation <https://docs.atlassian.com/bamboo-specs-docs/6.9.2/specs.html?yaml#task-maven>
Branch builds
Asked by Mikkel Thomsen:

Hi,

I started experimenting with the branch build feature.

The scenario is super simple:

1. Pull the source (php project)
2. Run a script file (phplint.sh)
3. Fail if errors are reported

Now, this seems to work fine when not doing branch builds.

After turning on branch builds, I suddenly started seeing this error:

```
simple	30-Jul-2019 20:48:48	Starting task 'Check PHP' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script'error	30-Jul-2019 20:48:48	Command [/var/atlassian/application-data/bamboo/xml-data/build-dir/WEB-RA0-JOB1/scripts/phplint.sh] is not executable, trying to run anyway.
```

I have configured the script to run a script file, and not in-line, so I supposed bamboo would take care of setting up the right permissions on the file so that it can run. At least it seems to be the case when just running it on the master branch..

In addition to this, I started worrying a little bit.  
The linked repository is configured to use a "dev" branch. So when I make branch builds, is it safe to assume it will actually build the specific branches, and override this "dev" branch setting?


Answers:
author: Mikkel Thomsen
body: It appears bitbucket does pull the right branch, regardless of the linked repository's branch.

In addition I made a script to chmod a+x on the script file, and it started working.
Change ActiveMQ SSL certificate
Asked by Kiril:

Currently the SSL certificate of Bamboo's ActiveMQ is expired.

There is a \<home\>/xml-data/configuration/broker.ks with jmsbrokerkey alias.

Where is configured the Key Store Password of this file?


Answers:
author: Gabriel Ribeiro
body: Hi Kiril,

You can just delete the \<home\>/xml-data/configuration/broker.ks and restart Bamboo that a new key file will be created.

If you're running a Bamboo 6.8+ version, the new certificate will be valid for 20 years. Please see the following BUG report for details:

* <https://jira.atlassian.com/browse/BAM-20164>

Thanks!


author: Kiril
body: Note: Bitbucket v4.14.4
what is log count limitation for bamboo?
Asked by Mahesh Pawar:

we have already crossed 30000 log count in our bamboo.

I want to know what is the limitation for the log count in bamboo?


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

I'm curious about what specific log count you are referring to.

* Are you talking about build results?
* Or are you referring to other server logs?

If you clarify that I can probably investigate that for you.

comments: author: Mahesh Pawar
body: Hi Daniel,

i am looking for build results only.


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

The hardcoded number limit is the size of INT in JAVA which is 2,147,483, 647.   
We can't guarantee you will be able to reach this number considering other resources like DB size, disk space, artifacts storage etc.  

I was able to run a test with the queries from [Solved: Can I edit the Bamboo build number](https://community.atlassian.com/t5/Bamboo-questions/Can-I-edit-the-Bamboo-build-number/qaq-p/219743) and I could verify that it is possible to run the build 2,147,483, 647 but not another one after that.

![Screen Shot 2019-08-01 at 11.03.11.png](https://community.atlassian.com/t5/image/serverpage/image-id/62154i21338844D9A612F6/image-dimensions/502x156?v=v2 "Screen Shot 2019-08-01 at 11.03.11.png")

I think you are far away from that number.
How to link Bamboo to Bitbucket Cloud
Asked by Rob Langley:

Hi

Until recently we have been running Bamboo 6.3 on site and had a linked repository to <https://bitbucket.org> with a number of projects running with out issue.

Recently the plugin in Bamboo for Bitbucket has reported this API has been depreciated and upon investigation the method seems to suggest creating a Application link to <https://bitbucket.org>

Reading around I see conflicting information with reference to the following article suggesting I use linked repositories (which are now depreciated)

This is the issue I see  
<https://community.atlassian.com/t5/Bamboo-questions/URL-for-Bamboo-application-link/qaq-p/1018882>

This is the reported fix, which is what we used to use but now reports depreciated, I have even tried setting up a new repo  
<https://confluence.atlassian.com/bamboo/bitbucket-cloud-289277000.html?_ga=2.237005897.872645129.1564383421-454126904.1534436079>

Could you advise on how we fix this issue so we can start building our code in bamboo again from bitbucket/.

Thanks

Rob


Answers:
author: Rob Langley
body: Hi Guys....

Since posting I see the 'recommendations' with the answer

Upgrade Bamboo to 6.8.3

<https://community.atlassian.com/t5/Bamboo-questions/problem-with-connecting-from-self-hosted-bamboo-to-cloud/qaq-p/1118611>
Why i am able to see tickets of all the projects in a single project?
Asked by Rafeh Joshua Marshall:

I am able to view tickets of all the projects in one specific project, when they are not related to it.


Answers:
author: Mohamed Benziane
body: Hi,

This is not possible, an issue belong to one project.

What do you mean by "in one specific project" ? Do you mean in a board ?

comments: author: Rafeh Joshua Marshall
body: In Queues


Tags: cloud

jira-service-management

jira-service-management-cloud
Scriptrunner: establish connection to library/documentation via proxy
Asked by Martin Frehmann:

I am using Scriptrunner in our Jira data center instance inside a dmz that does not allow any direct connections into the www.

Therefore the plugin tells me that it is unable to connect to it's library and documentation:

![documentation.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/326570iED1978F71CEECB98/image-dimensions/207x56?v=v2 "documentation.jpg")![scripts.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/326571i44891A1685A09EA4/image-dimensions/446x130?v=v2 "scripts.jpg").

Is it possible to tell either Jira or the plugin itself to use a proxy for these communications outside the dmz? Any configurations I can utilize?

Thanks in advance.


Answers:
author: Ram Kumar Aravindakshan _Adaptavist_
body: Hi Martin

There is no direct approach via ScriptRunner to do this.

You could, however, try to use an outbound proxy, as shown in this [Atlassian Documentation](https://confluence.atlassian.com/jirakb/configure-an-outbound-proxy-for-use-in-jira-server-247857187.html).

I hope this helps. :-)  

Thank you and Kind regards,  
Ram

comments: author: Martin Frehmann
body: Hi Ram,

thanks for your input. Sadly we are not able to use this approach since it would violate the guideline for the VM on which Jira is running on. Even with the configuration of the http.nonProxyHosts option we are not able to ensure that every outgoing connection but the one for ScriptRunner will not use the proxy.

But we might be able to configure an access control list in which we would like to enter the URLs that ScriptRunner is trying to access.

Can you provide me a list of URLs that we would need to allow?

Thanks  
Martin


Tags: documentation

jira-service-desk-data-center

jira-service-management

jira-service-management-data-center

jira-service-management-server

proxy

scriptrunner

server
Moving app data to Sandbox
Asked by Lukasz Grobelny:

Hi,

Quick question - anyone played with moving app data (Scriptrunner for example) between Prod and Sandbox on Cloud?

Since the application data is not being moved, I'm playing with an idea of writing some sync, but the API endpoints that are publicly available will not do, so it will most likely need to utilise internal api.


Answers:
author: Sagi Bracha Salto_io
body: What type of data are you trying to move?  

[Salto](https://marketplace.atlassian.com/apps/1225356/salto-configuration-manager-for-jira?tab=overview&hosting=cloud) can help you move ScriptRunner scripts from sandbox to prod and vice versa (demo [here](https://www.youtube.com/watch?v=MFbVX5u8b68)) but we only support configurations.

comments: author: Lukasz Grobelny
body: Entire app config - Scriptrunner and Email This Issue. We do not have many post-function scripts, mostly listeners so it's not that bug deal, but moving Email this Issue config is painful


author: Sagi Bracha Salto_io
body: We don't support Email This Issue for the time being, but you can [try it out](https://app.salto.io/) for ScriptRunner. Similar to the other marketplace apps, we offer a 30-day free trial.   

Notice that during the migration process you'll also gain visibility into the objects' dependencies and you can cherry-pick what to include in the deployment package.


Tags: cloud

jira-cloud

jira-service-management

jira-service-management-cloud
email connection disconnected
Asked by rakshita malik:

Yesterday Since 4 PM our email to jira service management connection disconnected  
we have reconnected this in Morning around 10:47 AM, but emails received during this time not available in our project, so please repush them manually   

Exact Duration for manual repush is   

28-5-24 - 4 PM  
29-5-24 - 10:47![email connection fail to jira.PNG](/t5/image/serverpage/image-id/326548iA5042B4F78427AF8/image-size/large?v=v2&px=999 "email connection fail to jira.PNG")![image.png](/t5/image/serverpage/image-id/326549i3FCA9E56268F3BD6/image-size/large?v=v2&px=999 "image.png") AM


Answers:
author: Bruna Silva
body: Hello [@rakshita malik](/t5/user/viewprofilepage/user-id/5149590)

Thanks for reaching out to Atlassian Community!

As mentioned in [this document](https://confluence.atlassian.com/jirakb/email-request-connectivity-log-showing-failed-due-to-rate-limited-status-and-the-details-are-could-not-retrieve-access-token-for-connection-1318891498.html) related to this scenario, when you successfully reconnect, emails that were previously received and in unread status will not be processed.

To get them processed, it's necessary to contact [Atlassian support](https://support.atlassian.com/contact/). With that in mind, I created a ticket on your behalf. You should have received a notification about it by email.

Regards,  
**Bruna**


Tags: cloud

jira-service-management

jira-service-management-cloud
Enabling Portal-Only SSO Access to our Customer (internal employees)
Asked by Steve Currie:

We have established SSO with Entra AD as our Identity Provider. This is working as expected for licensed users. We are looking to provide an SSO experience for our employees (customers) when they log incidents/requests via the help center.

If this possible?


Answers:
author: Aditya_miniOrange
body: Hi [@Steve Currie](/t5/user/viewprofilepage/user-id/5507969)

Yes, your requirement can be fulfilled with the help of miniOrange's [SAML/OAuth SSO for JSM Customers](https://marketplace.atlassian.com/apps/1229212/saml-oauth-sso-for-jsm-customers?hosting=cloud&tab=overview) app.

You can provide an SSO experience for your employees (customers) when they log requests via the help center with the help of our app. You can also integrate multiple help centers with this app.

You can map your employees to JSM Organizations based on their IDP groups/domains and have them authenticated via Entra AD to **provide secure portal access.**

If you would like a demo of the app please raise a service request [here](https://miniorange.atlassian.net/servicedesk/customer/portal/2) and a miniOrange representative will help you with all the details.

PS: I work for miniOrange, One of the Security vendors in Atlassian Marketplace.

Thanks,

Aditya


Tags: cloud

jira-service-management

jira-service-management-cloud
Sending CSAT link via JIRA Automation to Slack
Asked by ?????? ?????_Florian Valiente_:

I've combined the two below and have been able to send the CSAT link as a direct message on slack via JIRA automation

* <https://community.atlassian.com/t5/Automation-articles/Mention-someone-directly-in-Slack-via-Jira-Automation/ba-p/1528605>
* <https://confluence.atlassian.com/jirakb/how-to-send-csat-link-to-customer-using-custom-notification-via-automation-when-default-request-resolved-customer-notification-disabled-1086405958.html>

However, trying to set a CSAT rating on the form that appears results in an error  

**Unable to save rating**  
**We were unable to save your feedback rating. Reload the page and give it another try. If the problem persists please contact your Administrator.
<br />**My guess is something is wrong with the generated token/token saving process. Has anyone else tried to generate the feedback token on their own and make it work?


Answers:
author: ?????? ?????_Florian Valiente_
body: Solved with the help of Atlassian support.  

I was using issue.key instead of issue.id as stated in the tutorial!  

All working now, able to send the CSAT reminder via slack.


Tags: cloud

jira-service-management

jira-service-management-cloud
how to find current automations
Asked by Anthony Escamilla:

How do I find automations that I currently have set up?


Answers:
author: Brant Schroeder
body: [@Anthony Escamilla](/t5/user/viewprofilepage/user-id/5507884) Welcome to the Atlassian community

As a project admin you can go to project settings -\> automation to see what automations exist and who the owner is (This is usually who created them but can be changed).

As a Jira admin you can go to settings -\> Global automation and see what automations exist throughout your whole instance. The owner, scope and when it was last updated.


Tags: jira-service-desk-cloud

jira-service-management

jira-service-management-cloud
Can we find who has removed the agent access for user in JSM?
Asked by shivani shirguppi:

Can we find who has removed the agent access for user in JSM?


Answers:
author: Tushar Gohel
body: Hi [@shivani shirguppi](/t5/user/viewprofilepage/user-id/5241115)

You can go to the Project settings \> audit logs and find the user who has removed your agent from the Service Desk Team role.

Thanks,

Tushar


Tags: cloud

jira-service-management

jira-service-management-cloud
Time to First Response configuration
Asked by Tony Ciniglio:

Hey,

So I have my SLA setup for Time to Resolution, and this all seems fine.

But I have need to setup

i.e. Highest response issues need to be responded by within 30 mins

Hight tickets to be responded within 120 mins

Medium tickets to be responded within 24hrs

Everythign else within a week  

I cant see anywhere in the JSM documentation on how to configure 'time to first response'  

As when I currently report on any tickets created by the client, that field is blank.

Any help greatly appreciated.


Answers:
author: Jack Brickey
body: Hi [@Tony Ciniglio](/t5/user/viewprofilepage/user-id/5301225) ,

do you mean this?

![IMG_4140.jpeg](https://community.atlassian.com/t5/image/serverpage/image-id/326470iF7DFE5DD79209981/image-size/large?v=v2&px=999 "IMG_4140.jpeg")

comments: author: Tony Ciniglio
body: Yes - facepalm...

Sorted thanks


Tags: cloud

jira-service-management

jira-service-management-cloud
Custom fields are unformatted in Issue View
Asked by Owen Scott:

Hey there,

I have a custom field in Jira: "Steps to Reproduce." Its type is Paragraph which supports rich text.

Now I have JSM form with a Steps to Reproduce question that is linked to the aforementioned Jira custom field.

If I format the answer in the portal like so:

![CleanShot 2024-05-28 at 19.19.28.png](https://community.atlassian.com/t5/image/serverpage/image-id/326462iB5F5BE506D161179/image-dimensions/410x164?v=v2 "CleanShot 2024-05-28 at 19.19.28.png")

And then display this field in the Agent's issue view, *it's unformatted:*

![CleanShot 2024-05-28 at 19.18.24.png](https://community.atlassian.com/t5/image/serverpage/image-id/326463iDD74BC3817F078D2/image-dimensions/195x181?v=v2 "CleanShot 2024-05-28 at 19.18.24.png")

Why does the formatting get dropped in the issue view?


Answers:
author: John Funk
body: Hi Owen,

You will need to update the Field Configuration used by the project. Select that field and change the Renderer to Wiki-style.

comments: author: Owen Scott
body: Thanks John---that did it!


author: John Funk
body: Great! Glad you got it sorted .


Tags: cloud

jira-service-management

jira-service-management-cloud