youngmon/atlassian-qna huggingface dataset:
migrating bamboo to external database
Asked by daneshrao:

i need to migrate my Bamboo to an external database, but i could not afford doing custom installation. can anyone please suggest a way.


Answers:
author: Daniel Santos
body: Hi [@daneshrao](/t5/user/viewprofilepage/user-id/3148394)

We have a document that describes the process of migrating your data from one database to another which is described in this page [Moving your Bamboo data to a different database](https://confluence.atlassian.com/bamboo/moving-your-bamboo-data-to-a-different-database-289277250.html).

If you found this document and struggled in one of its steps, can you described where exactly you are facing issues? That would allow me to give you some guidance.
Skip JUnit if no tests found
Asked by Sentinel:

Hello,

I have a JUnit parse step, which awaits for test results, but according to build script configuration the tests are not always generated.

Is there possibility to not fail build, if there are no tests?

As I know other other famous CI/CD tools provide such option "don't fail build if there are no test results".

Thanks


Answers:
author: Jimmy Seddon
body: Hi [@Sentinel](/t5/user/viewprofilepage/user-id/3097339) ,

Out of the box I don't think there is an option that will allow this.

At the same time, could you please provide a little more detail as to why tests aren't being generated? Is it possible that your developers changes the location of the test results output without telling you? It might be a simple as needing to change the directory you are looking for results in.

Just a thought.

I hope that helps!

-James

comments: author: Sentinel
body: Hi [@Jimmy Seddon](/t5/user/viewprofilepage/user-id/512822) ,

We have implemented some code, according to which build script will decide to execute tests or no and generate reports.

Current build configuration with JUnit Parses awaits, that test results are available everytime.


Tags: junit

test
Bamboo variable encryption
Asked by swap .:

We have bamboo version 6.2.5 which does not contain option "Specs encryption"   
Please suggest any option to do encryption.


Answers:
author: Petr Van??ek
body: Hi,

if you are not able to do upgrade then easiest way is encrypt what you need into Base64. I't not secure, but if you encrypt whole line(s) of code then it will not be interesting for someone encrypting everything what can be seen.  

Another option what I see is calling file system script to which normal user don't have access.  

<br />

comments: author: swap .
body: [@Petr Van??ek](/t5/user/viewprofilepage/user-id/1811075) - Thank you for response. Please help me out for below queries.

Could you please guide on "calling file system script"?   

Can we encrypt the variable inside the bitbucket repository and used in bamboo?  

How to encrypt whole line inside bitbucket?  

<br />


author: Petr Van??ek
body: With calling script I mean this: <https://confluence.atlassian.com/bamboo/script-289277046.html>

You can use one of them - variable or encrypted code in scripts.

About encrypting whole line you can inspire for example here: <https://linuxhint.com/bash_base64_encode_decode/>

So you will encode to Base64 when you will programming script and inside os script you will decrypt it.


Tags: spec
Bamboo error - ImportError: no module named pandas
Asked by Bharath_Venkat_Rajan:

I have created a Bamboo task which runs the python code from a BitBucket Repo.

Bamboo config:  
I am running the script as a \`**file** \`.  
I have selected interpreter as \`**Shell** \` and given this in the Script Body to execute the script \`*python create_issue.py -c conf.yml*\`

After I click on '**Run Plan** ', the build fails with ImportError: No module named pandas. The rest of the libraries are working fine, like, \`*requests* \`, \`*itertools*\`, etc.


Answers:
author: stevejonn
body: In most cases this error in Python generally raised:

* You haven't installed Pandas explicitly with pip [install pandas](http://net-informations.com/ds/err/pderr.htm).
* You may have different Python versions on your computer and Pandas is not installed for the particular version you're using.

You can run the following command in your Linux/MacOS/Windows terminal.

```
pip install pandas
```

To be sure you are not having multiple Python versions that are confusing, you should run following commands:

```
python3 -m pip install pandas
python3 -c 'import pandas'
```
We couldn?t deliver this payload: Couldn't connect to server
Asked by Vineesh:

I am trying to setup webhooks in GitHub.

As per the url given in the Bamboo linked repositories given below,

[http://172.28.80.1:8085/rest/api/latest/repository/scan?repositoryId=\<repo_id](http://172.28.80.1:8085/rest/api/latest/repository/scan?repositoryId=<repo_id)\>

tried to set up the Webhooks in GitHub, could not connect to the server.

Error Message:- **We couldn't deliver this payload: Couldn't connect to server**

How do I solve this issue.


Answers:
author: Gonchik Tsymzhitov
body: Hi!

Github does not know about your server location

[http://172.28.80.1 is private address](http://172.28.80.1/)

<https://en.wikipedia.org/wiki/Private_network>

comments: author: Vineesh
body: Then how do I test the GitHub commit in Bamboo on local machine.


Tags: github

webhook
How do I link my plan to a repo that is not part of the YAML Specs repo?
Asked by Vinh Hong:

According to the best practice where Specs are live in a separated repo from the application's repo. But how would one link the plan's repo for YAML Specs implementation? Nothing is mentioned in the doc.

<https://docs.atlassian.com/bamboo-specs-docs/6.9.2/specs.html?java#creating-linked-repositories>


Answers:
author: Daniel Santos
body: Hi [@Vinh Hong](/t5/user/viewprofilepage/user-id/3396571)

You need to add **bamboo-specs/bamboo.yaml** in the root of the source repository used to checkout your code in Bamboo. YAML specs is only able to process one repository and this repository needs to be the same where the **bamboo.yaml** file is located.  

> YAML Localization {#toc-hId--1413484335}
> ----------------------------------------
>
> Every YAML Specs file should be inside the `bamboo-specs` folder, on the root of your repository.
>
> The `bamboo.yaml` is the root file for all your definitions.

I consider that this information is not very easy to find today and that is why I opened a feature request to improve its location:

* [\[BAM-20535\] Move the section "Understanding YAML in specs" to Introduction in specs reference](https://jira.atlassian.com/browse/BAM-20535#)

I hope that helps.
Anyway to prevent Jira creating a ticket when booking meeting rooms
Asked by Khuram Khalil:

Hi Team,

So when we book out a meeting room, with the email address which is the same email address as the "connected email address" it will generate a new ticket.

Anyway to stop this or is there no way around with the same email address?

Thanks!


Answers:
author: Benjamin
body: HI [@Khuram Khalil](/t5/user/viewprofilepage/user-id/5334524) ,

As long as the e-mail address is used, JSM will pick it up and parse it. However, you can block certain e-mails from using it. Hope this helps.

[https://support.atlassian.com/jira-s](https://support.atlassian.com/jira-service-management-cloud/docs/manage-your-blocklist/)[ervice-management-cloud/docs/manage-your-blocklist/](https://support.atlassian.com/jira-service-management-cloud/docs/manage-your-blocklist/)


Tags: cloud

jira-service-management

jira-service-management-cloud
Notifications: Send notification when task isn't moving (x days)
Asked by Marta:

Hi there,

Could anyone confirm my unfortunate suspicion that it's not possible to Send automatic notifications when a task isn't moving?

For example:

WHEN: issue is assigned

WAIT: 2 days

IF: task status is not "done"

THEN: send notification

Thanks! :)

JIRA PAID PLAN


Answers:
author: Jack Brickey
body: You can certainly do this using Automation. Have you attempted to do so as yet?

comments: author: Marta
body: Yes, I don't see a way, that's why I asked here. Sorry for not clarifying that earlier :)  

I couldn't find anything that sounds like "WAIT: X time"


author: Jack Brickey
body: You could do something like this...

* trigger - scheduled daily with a JQL qualifier e.g. updatedDate \<= startOfDay(-2) AND statusCategory != done

* conditions - as needed to qualify your action
* action - send email


author: Marta
body: Thank you so much, I'll try! :D


author: Marta
body: I set up the automations yesterday but haven't tested them yet. I'll let you know.


author: Jack Brickey
body: Feel free to share a screenshot of your automation here if you have issues.


author: Jack Brickey
body: [@Marta](/t5/user/viewprofilepage/user-id/5480818) , to be clear you can do this natively w/o the need for addons.


author: Marta
body: ![Screen Shot 2024-06-03 at 14.34.13.png](https://community.atlassian.com/t5/image/serverpage/image-id/327540i6E204F741994CD25/image-size/large?v=v2&px=999 "Screen Shot 2024-06-03 at 14.34.13.png")

JQL:

duedate \>= now() AND duedate \<= 1d AND statusCategory != Done AND assignee != null

Is this correct? :)  

Hope my colleagues don't get upset with too many notifications XD


author: Iryna Komarnitska_SaaSJet_
body: My comment is here to get updated answers to this question


author: Paul Stephens
body: Sounds like something you might want to consider setting SLAs up for

comments: author: Marta
body: Oh! I didn't realize we could set up SLAs for regular issues (I only think of SLAs for service tickets).

Can you set up SLAs for issues? I'll look into it


Tags: cloud

jira-cloud

jira-service-management

jira-service-management-cloud
Jira smart value compare two dates and get the latest comment
Asked by Neville:

```
{{#if(equals(

{{issue.comments.reverse().get(0).created.jqlDate}}, {{now.jqlDate}}

))}}{{issue.comments.reverse().get(0).body}}{{/}}
```

But it return syntax error.  

I would like to compare the latest comment create date and today's date.  
If yes, show the comment.  
Thanks


Answers:
author: Kalyan Sattaluri
body: Hello [@Neville](/t5/user/viewprofilepage/user-id/5295825)

If I understand your ask correctly, if there is a comment which was put in today, you want it?

Please try below:

{{#if(equals(comments.last.created.jiraDate, now.jiraDate))}}{{comments.last.body}}{{/}}

If thats not the requirement, please clarify.

Also please share your rule sceenshot so we can look at your rule.

Hope it helps. Thanks!


Tags: cloud

jira-service-management

jira-service-management-cloud
I have to make 3 SLA's on Time to first response in JSM, and they breach every 5 minutes 1 by 1
Asked by Muhammad Tahir:

I have to make 3 SLA's on Time to first response in JSM, and they breach every 5 minutes 1 by 1 like one is run and assign a user then after next min next SLS is run and assign to next user and same for third.  
I have done with 2 SLA's but my third SLA is not working it move with second SLA which i don't want.


Answers:
author: Christian
body: Hi Muhammad

Would you be able to send a screen shot of the SLAs and how they are programmed? I think that could help us figure out what the issue is.

Cheers,

Christian


Tags: cloud

jira-service-management

jira-service-management-cloud
Difference between Users and Customer
Asked by Dinonath Khan:

Hi There,

can anyone please tell the exact difference in details in between the below roles

a) Users  
b) Customers

for reference attached a screenshot

![Screenshot from 2024-05-28 14-34-35.png](https://community.atlassian.com/t5/image/serverpage/image-id/326271iFA821333A133C281/image-size/large?v=v2&px=999 "Screenshot from 2024-05-28 14-34-35.png")


Answers:
author: Kai Becker
body: Hi [@Dinonath Khan](/t5/user/viewprofilepage/user-id/5487871)

thank you for your question. To clear things up, these are two different products and they share different user roles.   
I'll try to explain as simple as possible:

**Jira Service Management**

* **Customer** = A non licensed user, who is only allowed to raise requests via the portal or email
* **Agent** = A licensed user, who is able to work with JSM projects and process customer requests

**Jira**

* **User** = A licensed user, who is able to fully use Jira projects (formerly Jira Software and Work Management)

Hope this helps.

comments: author: Dinonath Khan
body: Thanks [@Kai Becker](/t5/user/viewprofilepage/user-id/1178079)


author: Joseph Chung Yin
body: [@Dinonath Khan](/t5/user/viewprofilepage/user-id/5487871) -

[@Kai Becker](/t5/user/viewprofilepage/user-id/1178079) provided a well written definition. Just keep in mind that Customers for JSM are free/unlimited while Agent required actual license. On the Jira side, all users must be licensed as there are no concepts of "Customer" account for the product unlike of JSM.

Best, Joseph Chung Yin


Tags: cloud

jira-service-management

jira-service-management-cloud
How can I change the email address of outgoing notifications from Jira Service Management?
Asked by Emilia KASPRZYK:

Good morning,

I need your support.

How can I change the email address of outgoing notifications from Jira?

We have a dedicated email where user submissions go in. I would like them to get replies from the same address they report to.

I have not found where I can set this up. Help!

Kind regards,

E.


Answers:
author: Carla Ann Rowland
body: at project level go to project settings, notifications and change the e-mail settings there. for the cloud instance go to system and check the outgoing mail address; I am on free version so I cannot see all the settings. In cloud sending the email from your project domain is the easiest.

comments: author: Emilia KASPRZYK
body: Hi, thank you for your reply, but it is not possible to change the way I want to do it.

I can only change the alias for the email, not the full email.

![2024-05-29 07h36_10 CWM-Notificationemail-Serviceproject-JiraServiceManagement-GoogleChrome .png](https://community.atlassian.com/t5/image/serverpage/image-id/326507iF65C885DA2E96649/image-size/large?v=v2&px=999 "2024-05-29 07h36_10 CWM-Notificationemail-Serviceproject-JiraServiceManagement-GoogleChrome .png")


Tags: cloud

jira-service-management

jira-service-management-cloud
Automation: Want to fill custom field with Issue reporter
Asked by Marta:

Hi there!

Automation: Is it not possible to fill a custom field with Issue reporter?

![Screen Shot 2024-05-28 at 08.14.48.png](/t5/image/serverpage/image-id/326229i80678D3132A9700C/image-size/large?v=v2&px=999 "Screen Shot 2024-05-28 at 08.14.48.png")

This is a **Company-owned Business project (Service license)**

Any help including a workaround will be greatly appreciated.

Thanks!


Answers:
author: John Funk
body: Hi Marta,

Click the 3 dots next to the field and select Copy from. Then change the bottom field to Reporter.


author: Mohamed Benziane
body: Hi,

What is the type of the customfield that will get the info ?


Tags: cloud

jira-service-management

jira-service-management-cloud
Can we edit Send button as Submit?
Asked by shivani shirguppi:

Can we edit Send button as Submit?![image-20240527-122913.png](/t5/image/serverpage/image-id/326214i39BE6A0CD9E0F759/image-size/large?v=v2&px=999 "image-20240527-122913.png")


Answers:
author: Sebastian Krzewi?ski
body: Hi [@shivani shirguppi](/t5/user/viewprofilepage/user-id/5241115)

Unfortunately this is not possible. Buttons name are hardcoded.

Regards,

Seba


Tags: cloud

jira-service-management

jira-service-management-cloud
JIRA Automation Picks only the first IF Condition
Asked by Prem Kumar S:

Hi I am having a JIRA Automation that i am trying to use for Tasks Assignments based on set of rules. The Automation runs smooth for the First If Condition and if does not match, then it does not go to the next If condition but exits. How do i create automation rule that has IF Elseif Else IF and then.

![22.png](/t5/image/serverpage/image-id/326221i40B1E616D4C63BCA/image-size/large?v=v2&px=999 "22.png")


Answers:
author: John Funk
body: Hi Prem,

Yes that is how it works if you do not use the IF/ELSE conditions. You will need to replace each one of the IF conditions you have now by starting with an IF/ELSE condition. Then you can move the Actions under each of those.


Tags: automation

cloud

jira-service-management

jira-service-management-cloud
Show all comments by default
Asked by George G:

Hi,  
We require all comments to be visible by default on all issues. Currently it only shows the last 5 comments, the rest are hidden and must be expanded manually.  
Our issues have ongoing discussions and as a result clients are missing comments and it is causing problems.  
This would be fine if used for its intended purpose of leaving internal comments, but when paired with JSM and used in a help desk context it is severely falling short. Is it possible to change this default behaviour?  
Thank you


Answers:
author: Brad Simpson
body: There should at least be a user preference for "Always show all comments." We are also having issues with team members and clients missing older comments because they don't notice the "view older comments" button.


author: Dave Mathijs
body: Hi [@George G](/t5/user/viewprofilepage/user-id/4889938)

The public comments are available for customers and can be seen in the portal request. May an extra expand click be necessary? Yes. A lengthy thread of dozens of comments doesn't seem particularly useful either. Mostly, it's the last comments that indicate the next step, feedback or action to be taken.

In case of ongoing discussions back and forth you may ask yourself if the issue/request is the best channel going forward. Maybe a video call with the customer to sort out any questions may be the better option.

PS: I like your avatar, D-FENS!

comments: author: Harri
body: Hi Dave, I second George's request. Hiding information is a bad default, esp for a bug tracker. The old on-premises Jira was better in this respect.  

It should be easy to improve without breaking Jira. You could improve visibility of the button saying "View 37 remaining older comments" by using more eye-catching colors, you could make it look less like a separator and more like a button, you could allow the user to increase the number of comments shown by default in his preferences, etc.

Just a suggestion, of course. Regards  
Harri


Tags: cloud

comment

jira-service-management

jira-service-management-cloud
Slack Chat went wrong while committing issue
Asked by Xie Yujie:

Hi all,

Today we got an error when using JSM Chat app in slack to create an request. The message reported by Assist is as shown in the picture. I would like to ask where I should check the error log to locate the reason why the request cannot be committed![20240528-110201.jpeg](https://community.atlassian.com/t5/image/serverpage/image-id/326171iB00C5884BA91F2EF/image-size/large?v=v2&px=999 "20240528-110201.jpeg").


Answers:
author: YY Brother
body: Hi [@Xie Yujie](/t5/user/viewprofilepage/user-id/5368031)

Welcome to our Community.

I suggest you try to delete this app and reinstall it again.

Thanks,

YY?


Tags: cloud

jira-service-management

jira-service-management-cloud
Is there a way to create buttons in service requests?
Asked by Emmanuel_A:

In the service request, i want to be able to create buttons like

1. Log work

2. Acknowledge Ticket

3. Close ticket

i want to be able to make buttons front and centre for tickets.

![Screenshot 2024-05-28 105121.png](/t5/image/serverpage/image-id/326165i7A0340400365C726/image-size/large?v=v2&px=999 "Screenshot 2024-05-28 105121.png")


Answers:
author: Nic Brough -Adaptavist-
body: Welcome to the Atlassian Community!

Atlassian Cloud does not (yet) allow us to add things like that, but your "acknowledge" and "close" sound like they should be part of the workflow, and "log work" also sounds like your people could use the built-in "log work" functions to record the time they are spending.

I think we might need a bit more detail about what you are trying to do here, and why you think you might need extra buttons to duplicate all the options you already have.

comments: author: Emmanuel_A
body: Thanks Nic, fully aware of the workflows and where the log work, close ticket, etc.

But really what i am looking for is to be able to customise what appears front and centre of the service request.

I want the buttons here "yellow"

![Screenshot 2024-05-30 095246.png](https://community.atlassian.com/t5/image/serverpage/image-id/326829i7A56FFAD64FAC4E3/image-size/large?v=v2&px=999 "Screenshot 2024-05-30 095246.png")


author: John Funk
body: Hi Emmanuel - Welcome to the Atlassian Community!

You won't be able to create custom buttons like that. But these are steps in your workflow, and are available when you click on the status of the workflow on the issue.

comments: author: Emmanuel_A
body: Thanks John,

It's a shame, because it seems like an easy feature to add, which in turn will create a much easier and better experience for the user.

Thank you for your response though.


Tags: cloud

jira-service-management

jira-service-management-cloud
Best practices for inbound and outbound references in Asset
Asked by Sal:

Sometime I catch myself struggling in deciding when to add an inbound and when an outbound reference. Do you have any advice or best practises?

Examples:

- Object type "Server"

- Object type "Application"

Do you go for Server "has installed" Application 1, 2 and 3 or Application "is installed on" Server 1, 2 and 3?

Another example would be "Server is clusterhost for" or "cluster has clusterhosts"

Cheers!


Answers:
author: Dave Mathijs
body: Hi [@Salomon H?seli](/t5/user/viewprofilepage/user-id/4898714)

From the documentation: *"Outbound references point from the current object to another object, while inbound references point from another object towards the current object. The direction of a reference is relative; it will change depending on which object you are examining."*

In this case you have a many-to-many relationship. However, I would choose Server has Applications x, y and z installed as you cannot have an application without a server.

* Server A may have Applications X and Y.
* Server B may have Applications Y and Z.

When looking at the Application Y, you will then see it's installed on Servers A and B.

comments: author: Sal
body: Hi [@Dave Mathijs](/t5/user/viewprofilepage/user-id/2662590)

Good point, thank you! I'll give it a thought. We currently went for the opposite as in practise the applications change more often than a Server. Which means when adding a new application object you don't need to remember to switch to the server and add the application there.

From your answer I interpret there is no right or wrong way on how to implement it as it depends on your needs.


Tags: asset-management

assets

cloud

jira-service-management

jira-service-management-cloud