youngmon/atlassian-qna huggingface dataset:
When can we use GitHub instead of ONLY Bitbucket to Enable Repository-stored Bamboo Specs
Asked by Craig Solinski:

Have Bamboo Specs stored in Github (Plan Configuration as Code). Yet it appears Atlassian has ignored the most popular Repo on earth:

'You must use the Bitbucket Server repository type to have Bamboo Specs executed automatically by Bamboo.'

REF: <https://confluence.atlassian.com/bamboo/enabling-repository-stored-bamboo-specs-938641941.html>


Answers:
author: Alexey Chystoprudov
body: Hello [@Craig Solinski](/t5/user/viewprofilepage/user-id/664901),

There's improvement request to add this functionality: <https://jira.atlassian.com/browse/BAM-18970>

Please vote on it and watch for progress. It's on Bamboo team short term roadmap.

comments: author: Jeyanthan I
body: Just for records, Bamboo 6.5 now supports multiple repository types other than Bitbucket Server.

* Git
* Bitbucket Cloud
* GitHub
* Subversion

Upon using one of these, users will need to set up proper webhooks. The webhooks must send HTTP requests to Bamboo on commits. More info on these can be found here in the [release notes](https://confluence.atlassian.com/bamboo/bamboo-6-5-eap-release-notes-947857721.html).


Tags: spec
I want to integrate PMD checkstyle with bamboo 6.0.3 version
Asked by sravyakunagu:

Hi ,

we are trying to integrate pmd/checkstyle with bamboo 6.0.3 version, could you please know the compatiable version of plugins for pmd and checkstyle

any other requirements to complete this integration please suggest us

Thanks in advance.


Answers:
author: Bill Carreon
body: Hi Sravyakunagu,

The following PMD and Checkstyle plugins are offered on the Bamboo Marketplace and are compatible with Bamboo 6.0.3. I've also included instructions for installing plugins for reference.

* [Instructions for installing plugins](https://confluence.atlassian.com/upm/installing-add-ons-273875715.html)

<!-- -->

* [View PMD/PHPMD (mess detector)](https://marketplace.atlassian.com/plugins/eu.markusschulte.atlassian.bamboo.pmd-pmd-plugin/server/overview)
* [PMD Plugin Documentation](https://bitbucket.org/MarkusSchulte/atlassian-bamboo-pmd-pmd-plugin/wiki/Home)
* [View Checkstyle/CodeSniffer](https://marketplace.atlassian.com/plugins/eu.markusschulte.atlassian.bamboo.plugin.report-checkstyle/server/overview)
* [Checkstyle Plugin Documentation](https://bitbucket.org/MarkusSchulte/atlassian-bamboo-checkstyle-plugin/wiki/Home)

Also, here is the support email for the vendor of both plugins if more in-depth support of the plugins is needed:

* Support Email: markusschulte.work@gmail.com

Best Regards,

Bill


Tags: bamboo-administration

bamboo-app
Xcode Bamboo Plugin
Asked by stumpHC:

I am trying to run a build that contains an Xcode task. The Xcode task is provided by the Xcode Bamboo plugin. Bamboo will not execute the task because it claims that the agent does not meet the job's requirements. Specifically, it claims that the required capability { iphoneos11.0, exists } is not included in the default agent. However, when I select 'Configure Agent' and navigate to the Default Agent, I see that the iphoneos11.0 is indeed a capability of the default agent (in fact, I added it). I also verified that it is indeed supported on the agent by executing 'xcodebuild -showsdks' in the terminal and locating the target sdk. Any idea what could be going wrong?


Answers:
author: stumpHC
body: I abandoned the plugin and just used a script task to kick off the build. Works fine


Tags: xcode
I want to use elk for bamboo
Asked by Paranthaman Sriramulu:

I want to use ElasticSearch for bamboo logs and build logs. Are there any plugins, documentation available .Please can any one help.

Thanks  
Paranthu


Answers:
author: Vetrivel
body: I m trying to do the same by adding cURL statements in the bamboo stages and jobs.

comments: author: WarrenPAM
body: What if it fails in one stage? How do you handle that?


author: Vetrivel
body: what's your setup ?  

<br />

I tried curl and I didn't proceed because it was cumbersome.

I'm trying out the same with bamboo rest API but it does not have reports on stages and tasks.


Tags: elastic-search
Bamboo trigger - Multiple Repository
Asked by Saugat Chowdhury:

If I have multiple repositories (say of type Stash) added to a Bamboo Build plan and a repository polling trigger defined with more than one repository selected, is there a way to find in bamboo which repository commit triggered the build ?


Answers:
author: robhit
body: Hi Saugat,

Yes, you can do that. Use the below query to get the desired result.

```
SELECT 
BUILD_KEY,
BUILD_NUMBER,
BUILD_STATE,
BUILD_DATE,
COMMIT_FILE_NAME,
COMMIT_FILE_REIVISION,
NAME AS 'Repository Name',
COMMIT_COMMENT_CLOB AS COMMIT_COMMENT,
AUTHOR_EMAIL,
AUTHOR_NAME
FROM
buildresultsummary a,
repository_changeset b,
commit_files c,
repository_changeset d,
vcs_location e,
user_commit f,
author g
WHERE
a.BUILDRESULTSUMMARY_ID = b.BUILDRESULTSUMMARY_ID
AND e.vcs_location_id = d.vcs_location_id
AND f.COMMIT_REVISION = d.CHANGESET_ID
AND f.REPOSITORY_CHANGESET_ID = d.REPOSITORY_CHANGESET_ID
AND f.REPOSITORY_CHANGESET_ID = b.REPOSITORY_CHANGESET_ID
AND g.author_id = f.author_id
AND c.commit_id = f.commit_id;


```

Please note: The above query is built for MYSQL and you may have to change the syntax if any other database.

Please accept the answer if you find it's useful so that others can also take benefit from it.

Thanks,

Robhit

comments: author: Saugat Chowdhury
body: thanks...good info

But I need the repo name available during the execution of the plan (like through bamboo variable or something else) as the plan have some processing on the repo which triggered the build. I don't think querying Bamboo DB is a suitable option here.


author: robhit
body: There is a Bamboo generic repository variable "bamboo.planRepository.\<position\>.name" which could give you the name of the repository but it will always give you the name of the default linked repository to the plan.

<https://confluence.atlassian.com/bamboo/bamboo-variables-289277087.html>

Moreover, looking at your first question - "is there a way to find in bamboo which repository commit triggered the build ?"  
Let's say you have 2 repo's "RepoA" and RepoB" and you commit changes to "RepoB" then, in this case, the complete build plan will be triggered because we have a repository polling trigger.

But, if the source code checkout task in the plan configuration is configured to use the "RepoA" then this question is not valid in this case because you commit changes to the "RepoB" and the "RepoA" is being checked out or else if you have multiple tasks to checkout multiple repositories then they all will be triggered by bamboo for checkout because the entire build plan is triggered.


Tags: poll

repository
Trouble installing Bamboo 6.2 on Mac
Asked by stumpHC:

I followed the installation directions and set my home directory. I have jdk1.8 from Oracle installed and the java_home is set. I checked the error logs and I have only INFO messages, no errors. However, when I try and access the bamboo site from localhost:8085 I get "server not responding". Any hint on where to look for help or tips would be greatly appreciated.


Answers:
author: stumpHC
body: reboot fixed the issue
Where are the Bamboo Historical Deployment Records?
Asked by Christopher Heritage:

How can we get our hands on deployment history in Bamboo? We just need to know the Release, Date/Time \& the Trigger (who pushed the button).

We deploy 1-2 times a week. We currently have our Expiry set to expire after 10 days because of limited storage space on the Bamboo server.

I have search through the Atlassian Community \& Support forums and I can't find where this information lives either in the Bamboo Database or in a log file somewhere. Surely, it is kept somewhere, right? I've tried to search through the log files, but haven't found anything.

The Expiry screen says it excludes Historical Deployment Records. Where are those records?

Thanks!

![deploymenthistory.png](/t5/image/serverpage/image-id/7867iD6842CBA2C081CF7/image-size/large?v=v2&px=999 "deploymenthistory.png")![expiry.png](/t5/image/serverpage/image-id/7868i9FC3489326C484BC/image-size/large?v=v2&px=999 "expiry.png")


Answers:
author: Anik Sengupta
body: Please check this <https://confluence.atlassian.com/bamkb/how-to-find-historical-deployment-records-in-bamboo-1047554224.html>


author: Christopher Heritage
body: The Expiry screen says it excludes Historical Deployment Records. Where are those records?
How to visualise full name of the SLA on tickets
Asked by Enrique Bello:

Hello! when i Open a Jira ticket, the names of the SLAs are not shown fully and the are "cut" and show 3 points. How can i read the full name of the SLA when looking at a ticket?

In the picture i want to diferentiate between both SLAs that as " SDM- Change Mana..." and see the full names

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


Answers:
author: Jack Brickey
body: Hi [@Enrique Bello](/t5/user/viewprofilepage/user-id/5436892) , I have never really contemplated this to be honest. I am wondering if it is restricted by the window size itself? If not, then the only solution would be to shorten the name, e.g. Time to resolution becomes TTR.

comments: author: Enrique Bello
body: when changing the window size it does not change...


author: Jack Brickey
body: Thanks for confirming. You might want to provide feedback to Atlassian using the in-app feedback link.


Tags: cloud

jira-service-management

jira-service-management-cloud
form notification
Asked by ???_??_:

I would like to add the form content to the notification as well. Is this possible?

{{issue.form}}   
is this right?

Also, can you send a link to the issue in the notification?


Answers:
author: Sreenivasaraju P
body: Hi [@???_??_](/t5/user/viewprofilepage/user-id/4704901) ,

Please refer

<https://confluence.atlassian.com/jirakb/send-jsm-forms-information-with-automation-send-email-action-1252330399.html>

comments: author: ???_??_
body: [@Sreenivasaraju P](/t5/user/viewprofilepage/user-id/853354)

Great!


author: Nikola Perisic
body: Hello [@???_??_](/t5/user/viewprofilepage/user-id/4704901)

Unfortunately, this is not possible as per: <https://jira.atlassian.com/browse/JSDCLOUD-10697> request is made and this is not yet in the Atlassian roadmap.


Tags: cloud

jira-service-management

jira-service-management-cloud
Azure AD App registration
Asked by Nils Waser:

Hello everyone

I recently set up our Jira Service Management. Now I would like to change the Default email account.

After Login with the Support Mail, i get the message, that the admin has to give his consent.

For the past days, I've tried to find a documentation on how to setup the app registration in Azure AD, but I haven't found it.

Could someone could please point me in the right direction.

Thx for your help.


Answers:
author: Marc - Devoteam
body: Hi [@Nils Waser](/t5/user/viewprofilepage/user-id/5436871)

Welcome to the community.

I think this is an Azure problem.

You can look at the following articles:

* [user-gets-an-error-jira-cloud-atlassian-needs-permission-to-access-resources-in-your-organisation-when-setting-an-office-365-account-as-an-incoming-mail-server](https://confluence.atlassian.com/jirakb/user-gets-an-error-jira-cloud-atlassian-needs-permission-to-access-resources-in-your-organisation-when-setting-an-office-365-account-as-an-incoming-mail-server-1116278124.html?)
* [https://learn.microsoft.com/en-us/entra/identity/enterprise-apps/grant-admin-consent](https://learn.microsoft.com/en-us/entra/identity/enterprise-apps/grant-admin-consent?pivots=portal)

comments: author: Nils Waser
body: [@Marc - Devoteam](/t5/user/viewprofilepage/user-id/3796976)

Please excuse the delay.  
I was able to solve the problem. I have logged in with an admin and thus granted the authorisations.  
I then changed the email address to the desired one. Now it worked.


Tags: cloud

jira-service-management

jira-service-management-cloud
Possible to hide "Share with customer" button using ScriptRunner?
Asked by Tobias Lindell:

Other ways of doing this is also appreciated of course.


Answers:
author: Brant Schroeder
body: [@Tobias Lindell](/t5/user/viewprofilepage/user-id/5436830) Welcome to the Atlassian Community

Since you are on server you could use CSS to hide this. If you can share with me the HTML element I can help you with the CSS. You can get the HTML by inspecting the element on the page. You can share a screenshot of it and I can then write the CSS for you.

comments: author: Tobias Lindell
body: Thank you Brandt, appreciate that. Screentshot attached:  

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


author: Tobias Lindell
body: Please note btw that this button/functionality appears in other places as well;

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


author: Brant Schroeder
body: If you want to hide the button identified in the screenshot below, then you will need to use the following CSS.

.sd-external-submit{display:none;}

This is the CSS you would need to use. It will hide the button on all service desks throughout your entire instance when you apply it via the announcement banner.

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


author: Tobias Lindell
body: Ok, thanks Brant! Is there anywhere else I can put the CSS except in the announcement banner?


author: Brant Schroeder
body: [@Tobias Lindell](/t5/user/viewprofilepage/user-id/5436830) that is the only way I know to do it without editing Jira files or using an app.


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

I'd like to be able to say you can do this with [Scriptrunner's fragments](https://docs.adaptavist.com/sr4js/latest/features/script-fragments), but I am not sure that the "share" button is a single element on its own, if you use fragments to hide it, then you may hide more than you actually want to.

comments: author: Tobias Lindell
body: Hi Nic, which fragment would you suggest hiding?


Tags: jira

jira-service-desk-data-center

jira-service-management

jira-service-management-data-center

jira-service-management-server

jira-software

server
Modify error message from validator
Asked by Jos? Antonio Mora P?rez:

I applied a validator in a text field that can only contains 5 digits (regular expression: \[0-9\]{5}). My problem is, ?how do I change the message the user sees? Because "X field is not \[0-9\]{5}" gives no information.

Thanks in advance!


Answers:
author: Jos? Antonio Mora P?rez
body: Up. Still need an answer for this...


Tags: cloud

jira-service-management

jira-service-management-cloud
Migrate Jira ITSM issue to AzureDevops
Asked by Okan Zengin:

Hi There,

I want to migrate when a jira issue created to AzureDevops backlog. How can i do it without 3rd part apps. Is it possible ?

Thanks,

Okan


Answers:
author: Sebastian Krzewi?ski
body: Hi [@Okan Zengin](/t5/user/viewprofilepage/user-id/5406178)

Do you need 2-way integration between jira and azure devops ticket?

If not you can use automation for jira and "Send web request" to create ticket in Azure Devops via Rest API.

Regards,

Seba


Tags: azure-devops

cloud

jira-service-management

jira-service-management-cloud
How can I remove Jira Service Management (Cloud) Agent licenses
Asked by Takuma Hanaya:

1. I go to User Management \> Users

2. Filter users by "Jira Service Management"

3. Click Three dots \> "Show product access"

4. I cannot uncheck "Jira Service Management"

5. Go to "User Management \> Groups" ... I cannot find which group has control to "Jira Service Management" Agent access


Answers:
author: Rebekka Heilmann _viadee_
body: Hi [@Takuma Hanaya](/t5/user/viewprofilepage/user-id/5436824) and welcome to the Community.

There are two different user management experiences. Can you confirm which one you have? Check this for details: [Remove product access for users \| Atlassian Support](https://support.atlassian.com/user-management/docs/remove-product-access-for-users/)

It almost sounds like you are still on the old one. The article provides instructions for that two. It also states the following:
> If the user is an admin or a trusted user, you won't be able to remove their product access this way. You'll need to change their admin permissions first.

Maybe that's the case?

comments: author: Takuma Hanaya
body: I can see the Original (old one?).

And yes I was struggling to remove access from site-admins or trusted users.

Do I switch to new interface, and it will be easier for me to fix this issue?


author: Takuma Hanaya
body: Thank you


author: Nikola Perisic
body: Welcome to the community [@Takuma Hanaya](/t5/user/viewprofilepage/user-id/5436824) !

Are you a site admin? When you hover over the toggle button, which error message do you see?

comments: author: Takuma Hanaya
body: Thank you

This is the message I see when I click on the User Management \> Users \> three dots

![Screenshot 2024-02-23 at 16.01.42.png](https://community.atlassian.com/t5/image/serverpage/image-id/308338i79D6F6794D282EFA/image-size/large?v=v2&px=999 "Screenshot 2024-02-23 at 16.01.42.png")


author: Nikola Perisic
body: Understood, this is a trusted user. In that case you would need to look for a group jira-servicemanagement-users-\<your organisation name\> group, since there aren't specified groups for service desk agents.

Additionally, you can create a group that will be dedicated only for the service desk agents to avoid the confusion.

You will see that this group has a product role of User (agent).

![Screenshot 2024-02-23 at 10.09.50.png](https://community.atlassian.com/t5/image/serverpage/image-id/308340i3E6D1048EB47FFC5/image-size/large?v=v2&px=999 "Screenshot 2024-02-23 at 10.09.50.png")


author: Takuma Hanaya
body: Thank you, I will try to look for that group!


author: Nikola Perisic
body: Let me know if it worked for you.


Tags: cloud

jira-service-management

jira-service-management-cloud
Can't pick assets as a customer
Asked by Simon:

Hello everyone,

I have noticed that we can no longer select assets in the JSM portal - at least it no longer works for customers.

Does anyone else have this problem and can help me?  
JSM version 5.12.1 on DC

The setting is activated in the asset schema, but it looks different in the portal.

Same screenshot, different user - once customer, once agent

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

*** ** * ** ***

![image.png](/t5/image/serverpage/image-id/308314iB70E008F9121EF02/image-size/large?v=v2&px=999 "image.png")Thanks


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

I don't have a DC instance at my disposal to test, but there's only 2 possible things I can think of:

* check permissions on your Assets scheme and the separate object type(s) you're using behind your custom fields to ensure they are not restricted to internal users.
* I have a vague memory that in the config of your Asset custom fields you could specify that your fields should be enabled for JSM. Have a look at the custom field context and assets configuration more specifically

Hope this helps!

comments: author: Simon
body: Hi [@Walter Buggenhout](/t5/user/viewprofilepage/user-id/783225) ,

We have checked everything again and also tested your ideas and were unable to rectify the error.  
Here is the documentation

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

*** ** * ** ***

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

*** ** * ** ***

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

*** ** * ** ***

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

*** ** * ** ***

Do you have any other ideas or is this a bug in version JSM 5.12.1?


Tags: data-center

jira-service-management

jira-service-management-data-center
I would like to include the issue details in the notification email.
Asked by ???_??_:

When assigning issue personnel,  
I would like to include the issue details in the notification email.

The reason is that the assigned person wants to check the contents of the issue without having to access the Jira project.

Currently, 'JSM issue was just updated!!' This message is sent.  
I would like to include issue details whenever the issue status changes.


Answers:
author: Mark Higgins
body: Hello,

You may want to look at this ticket from a few years ago:

<https://community.atlassian.com/t5/Jira-Software-questions/Modify-text-in-notification-sent-to-the-agent-when-assigning-a/qaq-p/1087345>

It explains that you turn off the default notification, and create an automation rule, that allows you to put what ever you want in your ticket.

This may chew into your automation count though, which wasn't a problem when this solution was suggested.

Hope that helps

mark

comments: author: ???_??_
body: Hi, [@Mark Higgins](/t5/user/viewprofilepage/user-id/3517340)   

Thank you for answer.  
It was helpful enough. :)


author: ???_??_
body: [@Mark Higgins](/t5/user/viewprofilepage/user-id/3517340)

I would like to add the form content to the notification as well. Is this possible?

{{issue.template}}  
is this right?

Also, can you send a link to the issue in the notification?


author: Mark Higgins
body: Hello,

Yes, you can create Links to Forms.

From the Form you have created, go to settings and click pn

Create a Sharable Link, you can select the Request Type(s) and then acopy the link and put that into your automation.

I've not actually done this, so pls let me know if this works as I suspect.

Cheers

Mark


Tags: cloud

jira-service-management

jira-service-management-cloud
Redirect email requests to another project
Asked by Laura Jan??kov?:

Hello,

I have the original project A, where tickets are coming in from five differnt email addresses of our customers. However, I need to redirect one of these addresses to project B. So when this one customer submits a request via that email, it will automatically come to project B.

Is this possible? If so, how?

Thank you for your advice.

Laura


Answers:
author: Mikael Sandberg
body: Hi [@Laura Jan??kov?](/t5/user/viewprofilepage/user-id/5436518),

Welcome to Atlassian Community!

When you say that you have 5 different email addresses, are you saying you have 5 aliases that are all going to the single email address for the project? If that is the case then yes, it is possible. We are using Google Workspace and our email aliases are just groups where the project email is a member, so changing one email alias to a different project would just mean that we change the group membership. JSM itself does not have email aliases, so that has to be managed outside of it.


Tags: cloud

jira-service-management

jira-service-management-cloud