youngmon/atlassian-qna huggingface dataset:
Bamboo setup
Asked by Tomer Jan:

Hi,

I'm having some issues configuring a linked repository.

I'm trying to authenticate via ssh key which I already use in my TortoiseGit, and I also tried to use username and password authentication.

In either case I get the same error message "We couldn't connect to the repository. The details you provided were invalid".

Am I missing something here?


Answers:
author: Jobin Kuruvilla [Adaptavist]
body: Doesn't look like it is an authentication issue. What are the other details you provided? You might want to add a screenshot.

comments: author: Tomer Jan
body: There aren't many options, I have successfully loaded all my repositories with the configured details in the Shared Credentilas section. Then i tried test connection with these same credentials.


Tags: bitbucket
Bamboo currently exporting
Asked by Jermaine:

I'm currently getting the following message:

"Bamboo is currently exporting. Depending on the number of builds and test results, the time until Bamboo is Available will vary. Bamboo will automatically become available as soon as this task is complete."

The export has been running since 2017-07-15 00:00:03...Any idea when the export will finish....


Answers:
author: somethingblue
body: Hi Jermaine,

Hopefully your instance is not still exporting. If it is done, I would review the logs and see what the issue was to see where it got hung. Depending on the number of builds and tests this can also be a factor.

As a test, I would also [verify the disk speed](https://confluence.atlassian.com/kb/testing-disk-access-speed-for-a-java-application-818577561.html) is within limits as that can also have an effect on the amount of time this takes.

Cheers,

Branden
How to create an artifact from my plugin
Asked by Amin Habash:

Hello,

I'm developing a plugin that creates files on the remote agent. I need to create an artifact and publish it in Bamboo.

1. How do I create the artifact? Is creating an ArtifactDefinition and an Artifact enough?

2. If so, how do I link the ArtifactDefinition to the Plan which runs my plugin? I'm unable to figure out how to get the "current plan".

3. Do I need to copy the files from the Agent to the server first? If so, how?

4. Do you have a simple code example that can help explain (In addition to answering the questions above)?

Please assist me as I've been struggling with this for so long and it's becoming quite urgent.

Thank you


Answers:
author: Alexey Chystoprudov
body: If you're generating artifact it means build produces some file.

The best place to manage it is to create Task plugin which user adds to his build. Then user can configure his plan configuration and add Artifact definition.

comments: author: Amin Habash
body: Thank you for the quick response.

Regarding your answer, you mean to tell me that it's the user's responsibility to make sure that the artifacts are eventually published in Bamboo? This doesn't really make sense to me. Isn't there a way to do so code-wise?


author: Alexey Chystoprudov
body: it's possible to create ArtifactDefinition programatically, bit it doesn't make sense to manage file upload from agent manually, Bamboo should do it. So artifact shoulb defined before build started and sent to agent.

Can you describe the result you want to achieve with your plugin, what is business needs?


author: Amin Habash
body: I'm creating a plugin for a program that runs a load test on the application the user specifies. It basically emulates a group of "virtual users" that access a web application and records the results. After the test run the results are saved on the agent, and that's where I'm stuck now.

I wanted to collect the result and publish them in Bamboo without having the user do any action manually. Is this possible?


author: Alexey Chystoprudov
body: Ok, it's become a little clear now. Good way to handle this situation is to create artifact definition for build reacting on some user actions.

As sample you can look at source code of Bamboo Clover plugin (it's part of Bamboo source code available for customers at my.atlassian.com). Plugin creates ArtifactDefinition for Clover report generated at agent side and then visible to user at additional tab of Build result. It's created when user enables Clover support for Job See com.atlassian.bamboo.clover.builder.coverage.CloverBuildProcessor#customizeBuildRequirements

```
ArtifactDefinitionImpl artifact = new ArtifactDefinitionImpl(CLOVER_REPORT_ARTIFACT_LABEL, reportDir, "**/*.*");
artifact.setProducerJob(job);

artifactDefinitionManager.saveArtifactDefinition(artifact);
```


Tags: bamboo-app

bamboo-development

developer

java
bamboo 5.9.7 upgrade to 6.0.3 problems
Asked by sachinmw:

I am trying to upgrade from bamboo 5.9.7 to 6.0.3

I followed these instructions

<https://confluence.atlassian.com/bamboo/bamboo-upgrade-guide-720411366.html>

bamboo starts up but

I am not able to run plans

add linked repositoires (these did not get migarted from 5.9.7)

some of the errors from the log

```
2017-07-13 17:43:52,898 FATAL [20-ImmutablePlanCacheServiceImpl.initialiseCache:pool-35-thread-1] [InstanceSecretStorage] Database part of instance key is una
vailable
2017-07-13 17:43:52,898 FATAL [20-ImmutablePlanCacheServiceImpl.initialiseCache:pool-35-thread-1] [InstanceSecretStorage] Cipher initialisation vector is unav
ailable
2017-07-13 17:43:52,898 FATAL [20-ImmutablePlanCacheServiceImpl.initialiseCache:pool-35-thread-1] [SecretEncryptionServiceInternalImpl]
java.lang.IllegalArgumentException: Unable to read cipher data for 0




2017-07-13 17:43:53,031 INFO [20-ImmutablePlanCacheServiceImpl.initialiseCache:pool-35-thread-1] [RetryingTaskExecutor] Task 'Retrieving ABCXYZ-AAABBB3' thre
w java.lang.IllegalArgumentException: Legacy Bitbucket Server repository found, this should not happen, aborting.
```


Answers:
author: Alexey Chystoprudov
body: Did you have any exceptions/errors in logs during upgrade phase? If yes please include them to your question

comments: author: sachinmw
body: there were no exceptions/errors in the logs during the upgrade

I got around the issue by starting again and upgrading from scratch i.e. revert to a snapshot before upgrade and and upgrade again
how to use bamboo api to retrieve the current status of a deployment project?
Asked by IanYifanChan:

I need to use bamboo API to retrieve the current status of a deployment project, it should be able to return something like:

isBuilding/isDeploying: true/false

I don't need the latest result of a deployment.


Answers:
author: Steffen Opel _Utoolity_
body: You can retrieve the current status of a deployment environment from the [Bamboo REST API](https://developer.atlassian.com/bamboodev/rest-apis) via a GET to [/deploy/environment/{environmentId}/results](https://docs.atlassian.com/bamboo/REST/6.0.3/#d2e1545):

The response contains related properties such as 'deploymentState', 'lifeCycleState', 'queuedDate' etc. - in particular, 'lifeCycleState' should offer what you are looking for, with values such as 'IN_PROGRESS' and 'FINISHED'.


author: IanYifanChan
body: WOW!

That is exactly I want! Amazing! Thank you for your prompt, valuable and accurate answer, Steffen!

comments: author: Steffen Opel _Utoolity_
body: Glad it helps [@IanYifanChan](/t5/user/viewprofilepage/user-id/716632) - please also 'accept' my answer as solution via the checkmark on the left side so that it doesn't show up as unanswered anymore, thereby keeping others and myself focused on and motivated to assist with new questions :)


author: Victor Sz
body: [@IanYifanChan](/t5/user/viewprofilepage/user-id/716632) FYI , we required some similiar functionality recently , and we ended up scripting all the REST Calls. I posted a Gradle example at <https://gist.github.com/vicsz/b04c31f27a91b0d32b55b1bf718ab705>


author: Devendar Gangapuram
body: [@IanYifanChan](/t5/user/viewprofilepage/user-id/716632) , could you please how di you implement this " [/deploy/environment/{environmentId}/results](https://docs.atlassian.com/bamboo/REST/6.0.3/#d2e1545):" API call. Thank you
SocketTimeoutException when clicking release button in JIRA
Asked by Cristiano Mariano:

Hi guys!

When we click release button in JIRA, we get "Failed to execute request: java.net.SocketTimeoutException: Read timed out". This is not happening all the time, but it seems to be related to a heavy load in Bamboo server.

We use some old versions of JIRA and Bamboo and we are in the way to update it, but we would like to solve this before the upgrade.

Our versions are:

JIRA 6.3.14 / Bamboo 5.7.2 / JIRA Bamboo Plugin 7.2.0

Is there any way we could configure socket timeout for this request?

I have tried -Dhttp.socketTimeout=\<miliseconds\>, but it did not work.

PS: Timeout is ocurring after 50s.

Thank you very much!

Cristiano


Answers:
author: somethingblue
body: Hi Christian,  

I see you opened a ticket a while ago for this and Tim pointed out [JSWSERVER-11775](https://jira.atlassian.com/browse/JSWSERVER-11775) that appears to match this issue. It appears this is resolved in 7.2.7. Please review [JSWSERVER-11775](https://jira.atlassian.com/browse/JSWSERVER-11775) and if you agree that is the culprit please follow the listed workaround in [JSWSERVER-11775](https://jira.atlassian.com/browse/JSWSERVER-11775).  

Cheers,  

Branden


Tags: jira
Stop people replying to jira@company.atlassian.net
Asked by Harry Schilbach:

Hi - We have ticket notifications that go to the customer. Sometimes instead of hitting reply - the customer will fish out the jira@company.atlassian.net email address and send to this. These email do not end up as new tickets - How can I configure this address?

I can't find it in the Project settings or the global settings.


Answers:
author: Walter Buggenhout
body: Hi [@Harry Schilbach](/t5/user/viewprofilepage/user-id/4118155),

To create tickets from emails, you would need to set up the email channel to your JSM project. You can find the configuration in project settings \> Email requests. In addition, you also need a *request type* in your project specifically to receive emails:

* Add a request type with the *summary, description and attachment*fields on it;
* In project settings \> email requests click the **...** button near the top right of the screen and select *configure email request types* to select that request type

That should make sure you can receive requests from email. In addition, you can connect an existing email address of your own (1) to pull in emails from. For more details on how to set that up, click the *learn how to connect a custom email account* link on that same email requests page.

Hope this helps!


Tags: cloud

jira-service-management

jira-service-management-cloud
Jira Service Desk Shows Workflow
Asked by gamze:

Hi,

For one of the request types in our project, when that type of ticket is edited on service desk portal, a workflow is shown on the right side. I don't know where this is coming from and how to configure/disable it and also this is not the correct workflow we have. It does not show up for the other request types, just for the one of them and that one has a form attached, not sure if it is related with that. Is there a way to disable it?![workflow.png](https://community.atlassian.com/t5/image/serverpage/image-id/306062i6B8FEA27E6FCD2C2/image-size/large?v=v2&px=999 "workflow.png")


Answers:
author: Kai Becker
body: Hi [@gamze](/t5/user/viewprofilepage/user-id/4708458)

thank you for your question.

Viewing you screenshot I think it is the third party app [Feature Bundle -- Boost Customers UX on portal](https://marketplace.atlassian.com/apps/1218221/feature-bundle-boost-customers-ux-on-portal?hosting=cloud&tab=overview) vom Appsvio.

comments: author: gamze
body: That was it, thank you!


Tags: cloud

jira-service-management

jira-service-management-cloud
How can I make a automation to send an email with the start date?
Asked by Salma Sobhi:

![WhatsApp Image 2024-02-13 at 12.45.35 PM.jpeg](/t5/image/serverpage/image-id/306070i5C1C71A06C4049BC/image-size/large?v=v2&px=999 "WhatsApp Image 2024-02-13 at 12.45.35 PM.jpeg")


Answers:
author: Marc - Devoteam
body: Hi [@Salma Sobhi](/t5/user/viewprofilepage/user-id/5428534)

Welcome to the community.

There is an error in your JQL statement.

You JQL starts with "(Start date" change this to ("Start date"

comments: author: Salma Sobhi
body: Thank you for pointing out the error in my JQL statement. I will make the necessary adjustments.

Thank you.


author: Salma Sobhi
body: Good morning [@Marc Koppelaar](https://community.atlassian.com/t5/user/viewprofilepage/user-id/3796976)

The email was sent empty without an issue name.![WhatsApp Image 2024-02-18 at 11.32.54 AM.jpeg](https://community.atlassian.com/t5/image/serverpage/image-id/307189i83C4FBB9C600A942/image-size/large?v=v2&px=999 "WhatsApp Image 2024-02-18 at 11.32.54 AM.jpeg")


author: Salma Sobhi
body: ![WhatsApp Image 2024-02-19 at 12.11.38 PM.jpeg](https://community.atlassian.com/t5/image/serverpage/image-id/307190i4F6A68D43ED0AD33/image-size/large?v=v2&px=999 "WhatsApp Image 2024-02-19 at 12.11.38 PM.jpeg")![WhatsApp Image 2024-02-19 at 12.11.24 PM.jpeg](https://community.atlassian.com/t5/image/serverpage/image-id/307191i201C1446433E4EB6/image-size/large?v=v2&px=999 "WhatsApp Image 2024-02-19 at 12.11.24 PM.jpeg")


author: Salma Sobhi
body: Good morning [@Marc - Devoteam](/t5/user/viewprofilepage/user-id/3796976)

The email was sent empty without an issue name.

![WhatsApp Image 2024-02-18 at 11.32.54 AM.jpeg](https://community.atlassian.com/t5/image/serverpage/image-id/307084i68F82E22A33D361E/image-size/large?v=v2&px=999 "WhatsApp Image 2024-02-18 at 11.32.54 AM.jpeg")


Tags: cloud

jira-service-management

jira-service-management-cloud
How to disable customer sharing option as i dont want customers to access or view other customers
Asked by Lakshmi Kumari:

How to disable customer sharing option as i dont want customers to access or view other customers in the service desk portal page. For now I dont see any oprion to disable it. Below is the snapshot for your reference.

![Screenshot 2024-02-13 at 1.52.06?PM.png](https://community.atlassian.com/t5/image/serverpage/image-id/306051i358E32CC86DFDC3F/image-size/large?v=v2&px=999 "Screenshot 2024-02-13 at 1.52.06?PM.png")


Answers:
author: Kai Becker
body: Hi [@Lakshmi Kumari](/t5/user/viewprofilepage/user-id/5203874)

thank you for your question. Do you use Organizations?

If not, option 1 would solve your problem. Setting this without using Organizations will prevent customers from sharing requests.

comments: author: Lakshmi Kumari
body: Hi Kai,

Thank you for your response. I was using Organisation before but not now.

I have tried using the first option, now I just need to see what is the result of changes made. I will keep you posted.

Regards,

Lakshmi


Tags: cloud

jira-service-management

jira-service-management-cloud
How to Search for a ticket without an internal review date with JQL
Asked by Matt Torr:

Hi All,

I was hoping someone could assist me, I am trying to write a filter to search for tickets created \> 6 months ago AND do not have an internal review date attached.

Currently, my query reads:

project = ESD AND "Internal Review Date\[Date\]" = "blank" AND created \<= -24w order by created DESC

However, I know something is wrong with the **AND "Internal Review Date\[Date\]" = "blank" section** as I get the error "Date value "blank" is invalid.

If someone could help that would be great.

KInd Regards,


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

Try "is empty" instead of "= blank"

comments: author: Matt Torr
body: Hi Nic,

Yes that works thank you!


Tags: cloud

jira-service-management

jira-service-management-cloud
lost asset
Asked by Hassan Said:

Dear All

I hope you are doing well

i have free premium trail and it become finish and was deactivated i send emial to support and it![jira.PNG](/t5/image/serverpage/image-id/306037i842E46D2DE906A55/image-size/large?v=v2&px=999 "jira.PNG")![jira2.PNG](/t5/image/serverpage/image-id/306035iABFE1BF7E23FDF48/image-size/large?v=v2&px=999 "jira2.PNG")![jira3.PNG](/t5/image/serverpage/image-id/306036iB78C7D37C88511DE/image-size/large?v=v2&px=999 "jira3.PNG") reactivated again and work well

but the problems i lost important data after reactivated

i need help emergency

thanks


Answers:
author: Sharu - Empyra
body: Hi [@Hassan Said](/t5/user/viewprofilepage/user-id/5411177)

I would suggest you raise a support ticket with Atlassian - [Atlassian Support](https://support.atlassian.com/contact/#/)

Do choose the priority based on the severity and the ticket will be addressed by the team ASAP.

Thanks,

Sharu


Tags: cloud

jira-service-management

jira-service-management-cloud
Steps to migrate from Freshservice to Jira Service Management
Asked by Kamilia Julaihi:

Hello,

I am currently overseeing the migration of our company's ticketing system from Freshservice to Jira Service Management (JSM). I have a few questions regarding this process:

1. What key considerations should I be aware of before initiating the migration?

2. What strategies do you recommend for improving the quality of our ticketing system within JSM?

I would greatly appreciate your suggestions and feedback on these matters.

Thank you.


Answers:
author: Dan Breyen
body: Hi [@Kamilia Julaihi](/t5/user/viewprofilepage/user-id/5428303) I found this youtube video that might contain some information to assist you. [Freshservice to JSM.](https://youtu.be/NbbEhhVbj5o?si=fMuedOP73mdA36Ch)


Tags: cloud

freshservice

issue

jira-service-management

jira-service-management-cloud

migration
JSM Asset Management
Asked by Myles Boyd:

When looking at the discovery tool, it seems to imply it on works on-network.

Does the discovery agent work on remote computers not connected via a VPN?


Answers:
author: Hakan Bahadir _Pio_
body: Hi Myles,

If you are asking the Assets Discovery application, then the answer is; it works both with agents and agentless.

- Agentless: is the default mode. You can scan you subnets without needing to install an agent. This is good if your devices (i.e. Servers, network switches, load balancers, firewalls, ip cameras, network printers etc.) are always online and accessible.

- With an agent: You need to install the agent on the windows device. (It doesn't support MacOS, Linux, etc.). The agent can run at the background and transfer the output to a common folder, or to JSM Cloud directly. In case, you want to collect all the outputs in a common folder, you would need the device to be connected to your VPN and have access to the common folder.

I hope this helps.

Cheers

Hakan Bahadir

comments: author: Tyler Krzanowski
body: Hey [@Hakan Bahadir _Pio_](/t5/user/viewprofilepage/user-id/5287747),

If we have multiple shifts where some users may or may not be on the VPN, we would like to be able to use the agentless scan. How long does the scan take? Does it bog down or slow down the network and/or computers?

My thinking is if we could run the scan a few times a day/week we would eventually get 95% of the assets.

Thank you


author: Hakan Bahadir _Pio_
body: Hello,

Yes, that would work. Here are some notes:

- The scan takes a few seconds per device.

- Users wouldn't recognize it. No serious impact on the device or the network.

- You can find the list of commands executed on the following page:

<https://support.atlassian.com/jira-service-management-cloud/docs/commands-executed-by-asset-discovery/>

- You can enable or disable the list of commands as you wish. Disabling the ones that you don't need would speedup the scanning.

- Please have a look at the configuration details of Assets Discovery. You need to be able to have WMI, SSH or SNMP access to the device that you will scan.

The duration highly depends on your network structure. If you have large subnets with few devices, it would take some time to check the unused IP Addresses.

For that reason, you will get the real answers once you install and try. My recommendation is to start with 1 laptop. Measure the duration. Then scan 10 and note the duration again. Then scale up to 100, 1000 etc...

In case you have thousands of devices and very large networks, then you may run multiple Assets Discovery applications in parallel for different subnets. Since there is no licensing and cost, you can scale horizontally in this way.

FYI

Hakan Bahadir


Tags: jira-service-desk-cloud

jira-service-management

jira-service-management-cloud
how does a customer include screenshots inline on request creation
Asked by PNG Jira Lead:

Jira Service Management Data Center 5.4.7

A customer raises a request for support via \[base-jira-url\]/servicedesk portals.

Because of the nature of the requests, the customer often desires to insert screen-shots as they're writing out the problem they're experiencing.

Unlike the 'agent's view' (which is 'classical Jira') where you can insert a screen-shot in the Issue's Description field as you type it out, this doesn't seem possible in the customer-facing servicedesk portal view.

Is this something that needs to be enabled, somehow?


Answers:
author: Sharu - Empyra
body: Hi [@PNG Jira Lead](/t5/user/viewprofilepage/user-id/4995777)

Currently, adding attachments/screenshot in the description is not possible. Atlassian have a ticket in their backlog, you can vote \& watch to know the progress. - <https://jira.atlassian.com/browse/JSDSERVER-4436>

But as an alternative, you can add the Attachment field to the customer portal. Customer must be able to attach files there.

Hope this helps!

Thanks,

Sharu

comments: author: PNG Jira Lead
body: thanks [@Sharu - Empyra](/t5/user/viewprofilepage/user-id/5306820)

yeah, thought as much (I just didn't know if we were missing something or if there was a 'trick' somehow...)

Anyway, the way our customer get around it is they create the request, and then immediately add a comment where they _can_ do the inline screen-shots.


author: Marc - Devoteam
body: Hi [@PNG Jira Lead](/t5/user/viewprofilepage/user-id/4995777)

Make the attachment field available on the request type on your portal.

This will solve your problem.

comments: author: PNG Jira Lead
body: hi [@Marc - Devoteam](/t5/user/viewprofilepage/user-id/3796976)

It wasn't about attaching files, it was about attaching images inline to a description.

Actually, [@Sharu - Empyra](/t5/user/viewprofilepage/user-id/5306820) above found that it's a known problem:

[\[JSDSERVER-4436\] Attachments/Screenshots in the description from the Customer Portal - Create and track feature requests for Atlassian products.](https://jira.atlassian.com/browse/JSDSERVER-4436)

the use-case described in that issue is precisely ours:

*For instance, customer comes to the Service Desk portal and starts creating a ticket. In the description they want to say:
I can't log in. Here is a screenshot of the login screen:
(screenshot of login screen)
When I supply my username and password I get this error:
(screenshot of the error screen)*

*Today you cannot do this from the Customer Portal. You can attach images but you cannot easily relate those images to the text in the description.*

<br />

Anyway, as I mentioned to Sharu, the way our customers get around it is they create the request, and then immediately add a comment where they _can_ do the inline screen-shots.  

Oh well, it is what it is :)


Tags: jira-service-management

jira-service-management-server

server
Event listeners best practices
Asked by __Ashok Kumar Chava:

We have created an event listener that listens to task events like updates, status changes, attachments, etc. and we are processing these events in our code.

What is the best practice here, is recommended to have separate event listener per event type like for comment_updates one event listener and another event listener for other events.

please suggest.


Answers:
author: Asha Goyal
body: Hello [@__Ashok Kumar Chava](/t5/user/viewprofilepage/user-id/3840077)

It is recommended to use shared listeners for the events and kindly refer to the following document for further reference:

<https://docs.adaptavist.com/sr4js/8.3.0/features/listeners/listeners-tutorial>.

Please Accept and Vote my answer if it helps.

Thanks


Tags: cloud

jira-service-management

jira-service-management-cloud