youngmon/atlassian-qna huggingface dataset:
Bamboo failing to bind to Active Directory (LDAP) Server
Asked by Rob Griffiths:

I'm attempting to configure Bamboo to talk to our active directory server following the instructions at <https://confluence.atlassian.com/bamboo/integrating-bamboo-with-ldap-289277210.html> - I've ended up with an xml file that looks quite similar to <https://confluence.atlassian.com/dev/files/164870/8203/3/1214540227491/atlassian-user.xml>

Whenever I try and load this config, though, it looks as though Bamboo is not attempting to authenticate and bind before it executes queries against AD. Whenever I switch i get a stack track with the "must bind before executing query" error.

I've validated several options as below to try and narrow down the problem:

Incorrect hostname: Failed to lookup host error (Good)

Incorrect port: Failed to connect error (Good)

Incorrect username: Failed to bind error (so it is even trying? - I'd expect an "invalid credential" error)

Incorrect password: Failed to bind error (so it is even trying? - I'd expect an "invalid credential" error)

Has anyone seen this before and know why its happening? I'm hoping its just a missing setting. Please be aware that this is a customer project and as such I'm unlikely to be able to post logs directly. Thanks in advance for any help!


Answers:
author: Joseph Allen
body: Verify you have the correct username/password to connect to the AD server. I believe the "bind" refers to authenticating to AD and establishing a connection.

I had the issue with my crowd server and I had to fully qualify the username something like this...

CN=BAMBOO_AD_USER,OU=Domain1,OU=SubDomain1,DC=company,DC=com

If you don't know the fully qualified name, download AD Explorer (Free tool from microsoft) connect to your AD server and search for your user and it should tell you.

comments: author: Rob Griffiths
body: Thanks for the reply!

I've tried with both the fully qualified name and the abbreviated "user@domain" style names and neither works - both of these can query AD succesfully through ldapsearch on a Linux command line.

When I deliberately get the password or username wrong through a direct LDAP lookup, it comes up with an "Invalid Credentials (49)" error as opposed to the error Bamboo is throwing:

"LDAP: error code 1 - 000004DC: LdapErr: DSID-0C090752, comment: In order to perform this operation a succesful bind must be completed on the connection"

Which is seems to throw whether the user and password is right or wrong.


author: Rob Griffiths
body: Thanks again - I've double checked by pulling the user CN from AD directly and pasting into the xml file - and the password has been reset to something simple and double checked. Unfortunately (as it would be the simplest answer!) both look completely correct, but still getting the bind error.


Tags: active-directory

ldap
Does Atlassian provide a tool to manage nuget packages?
Asked by Maarten_Buth:

We would like to build C# software with bamboo, package the dll's into a nuget package with the nuget tool and then distribute and manage the nupkg files.  
To use it in visual studio a source is needed, can anyone provide some usefull tips/tools or howto?


Answers:
author: Vladimir Petrov
body: I think that [@Maarten](/t5/user/viewprofilepage/user-id/96702) Buth talking about some additional Atlassian Bamboo tool/widget or any other possibility that will provide the supporting of .Net packages distribution (like a private Bamboo-Nuget server that will support any package publishing and restoring if specify this server as a PackageSource while restoring), it's like Maven for Java, I think there is similar thread here since 2011:  
<https://community.atlassian.com/t5/Bamboo-questions/Nuget-support-on-Bamboo/qaq-p/126514>


author: Jeyanthan I
body: If you can build a package via command prompt, it is possible to execute with Bamboo.

I see there is an [existing thread](https://community.atlassian.com/t5/Bamboo-questions/Nuget-support-on-Bamboo/qaq-p/126514) that explains this. Maybe this [nuget - command line](https://docs.nuget.org/consume/command-line-reference) documentation might also help you construct your plan via [script task](https://confluence.atlassian.com/bamboo/script-289277046.html).

comments: author: Jeremy Stafford
body: I think the challenge is that the nuspec is part of the csproj now, so we need a way to update a value in there as part of the build process. My experience tells me "no there is no task solution for this." So we would have to either write our own task or a script/executable on the build server that can patch the csproj before packing the nuget packages.


author: Jeyanthan I
body: > we need a way to update a value in there as part of the build process

I do not know much about the package you are referring to. But if your intention is to pass a variable during the build process, it is possible with Variables.

You either use [Inject variable plugin](https://marketplace.atlassian.com/apps/1210847/inject-variables-plugin-for-bamboo?hosting=server&tab=overview) so that you can inject new Bamboo variables from a file or use [Run customised..](https://confluence.atlassian.com/bamboo/running-a-plan-build-manually-289276898.html#Runningaplanbuildmanually-Runningacustomizedmanualbuild) to manually **Override a variable** in the plan with a custom one and run the plan with that.

Did that help you?
Bamboo as a service uses a different configuration
Asked by Grant Huddlestone:

Hi,

I recently configured my Bamboo instance to run as a Windows service.

Subsequently all Git checkouts contained Windows line-endings (CRLF), which was undesirable.

When reverting to starting Bamboo with the startup.bat files line-endings were once again the desired Linux line-endings (LF).

It therefore appears as though Bamboo as a service uses a different config. How do I go about making the service instance use the manual startup config?

Thanks


Answers:
author: Jeyanthan I
body: If you are starting Bamboo as a Windows service, setting in setenv.bat will not work.

You have to set the system properties either via the command line or in the Windows registry. This page explains just that - [Configuring your system properties](https://confluence.atlassian.com/bamboo/configuring-your-system-properties-289277345.html).

Hope that helps.
How do I register an event listener in Bamboo?
Asked by Kaushik Veluru:

Hi,

I am on Bamboo 6.1.1 version running locally with atlassian SDK. I would like to create an event listener. How do I proceed with this?


Answers:
author: Kaushik Veluru
body: Added

```
<bambooEventListener key="jobCompleteListener"
 class="com.vmware.bamboo.plugin.listener.JobCompleteListener"/>
```

in the atlassian-plugin.xml. That fixed the problem. Thanks for your input guys.


author: Alexey Chystoprudov
body: There're two options available:

add to atlassian-plugin.xml

```
<bambooEventListener key="environmentDependencyListener" 
class="com.test.MyListener"/>
```

```
public class MyListener {
 @EventListener
  public void onChainCompleted(final ChainCompletedEvent event) {
    System.out.println("chain complete ");
  }
}
```

It's also possible that your class can register itself

```
private final EventPublisher eventPublisher;

@PostConstruct
private void postConstruct() {
 eventPublisher.register(this);
}

@PreDestroy
private void preDestroy() {
 eventPublisher.unregister(this);
}

@EventListener
public void onChainRemoved(@NotNull ChainDeletedEvent chainDeletedEvent) {
 System.out.println(chainDeletedEvent.getPlanKey());
}
```

comments: author: Kaushik Veluru
body: Thanks


author: Jeyanthan I
body: Hi Kaushik,

I hope this [Developer documentation](https://developer.atlassian.com/bamboodev/bamboo-plugin-guide/bamboo-plugin-module-types/bamboo-event-listeners) helps you to create a sample event listener. With this, you can extend a *BuildEvent* or a *BuildResultEvent*. [This page](https://developer.atlassian.com/bamboodev/bamboo-plugin-guide/bamboo-plugin-module-types/notification-plugin-modules/notification-type-module/building-a-notification-plugin) has an example of a very basic notification listener.

Hope that helps!

comments: author: Kaushik Veluru
body: Thank you!


Tags: bamboo-development
Bamboo 6.03 remote agent support enable is missing
Asked by Carl Eckhardt:

The documentation says to find a tab to enable or disable remote agents, but all I see are tabs for local agents.


Answers:
author: Jeyanthan I
body: I hope you have already installed Remote agents. If not, please click **Install remote agent** button in *Overview -\> Agents* page.

Once installed, it should get listed under Remote agents section in the same page.

You should find an Enable/Disable button when you click on the respective agent name listed under Remote agents section.

If you cannot find it, can you share the screenshot of what you are seeing?

comments: author: Carl Eckhardt
body: I will check it out when I get in the office this morning and let you know. Thanks.


author: Carl Eckhardt
body: ![Screenshot_2017-09-13_09-12-08.png](https://community.atlassian.com/t5/image/serverpage/image-id/6158iAD6DC38CE34C75C5/image-size/large?v=v2&px=999 "Screenshot_2017-09-13_09-12-08.png")


author: Carl Eckhardt
body: Unfortunately, I don't have any such button for installing the remote agent feature. Could it be a certain license we have to have to allow that to work?


author: Jeyanthan I
body: Are you using [Bamboo starter pack](https://www.atlassian.com/software/bamboo/pricing)? With that, you can only create local agents and not remote agents.

You can [purchase](https://www.atlassian.com/purchase/product/bamboo) remote agent licenses after [evaluating for 30 days](https://www.atlassian.com/software/bamboo/download).

Hope that clarifies.


author: Carl Eckhardt
body: Yahhhh!!!! Local agents are just about useless for our needs. I think our buyers/admins didn't know much about tools like these. But then again, your documentation makes you "think" you have that capability, until you dig DEEP into the mountain of information.

:-(


Tags: bamboo-administration
Suppress Comment Prompt
Asked by AJohnston:

Is there a way to suppress the prompt for comment when a **customer** transitions a ticket? I've seen more than a few requests about making it required, but not about suppressing the pop-up altogether.


Answers:
author: Joseph Chung Yin
body: [@AJohnston](/t5/user/viewprofilepage/user-id/4783609) -

Can you clarify what you mean by Customer transition an issue? I am assuming you are referring to the Portal UI?

Typically, transition of an issue via the workflow, if there is a pop-up transition window associated with the transition, then "Comments" will away show up by default.

Please advise, so we can assist you further.

Best, Joseph Chung Yin

Jira/JSM Functional Lead, Global Technology Applications Team

Viasat Inc.

comments: author: AJohnston
body: Yes, when in the portal UI. The comment box appears even when there is no other field to be changed.


author: Joseph Chung Yin
body: [@AJohnston](/t5/user/viewprofilepage/user-id/4783609) -

Thanks for your updates. Based on my experience and knowledge, it is not possible to hide the comments pop-up when customers transition the issue via the portal at this time. It is a default behavior of the JSM.

You can contact Atlassian Support (<https://support.atlassian.com>) to obtain further assistance if needed.

Sorry. If my suggestion helped you, please click on "Accept answer" button when you have a chance, so others with similar asks with see this posting as an answered one in the community.

Best, Joseph


Tags: cloud

jira-service-management

jira-service-management-cloud
Automa??o para o Jira Service Management sem pluggin JMWE
Asked by Leticia Pereira:

Ol?!

? poss?vel automatizar a transi??o de tarefas atrav?s do Jira Service Management **sem utilizar o app JMWE?**

1. Exemplo: ao transicionar uma tarefa na sprint do Jira mover o chamado do Jira Desk para em andamento
2. Exemplo 2: ao inserir a tarefa em uma sprint no Jira mudar o status do chamado no Jira Service Management

Enfim, a inten??o ? criar automa??es entre os projetos sem utilizar nenhum app, apenas as automa??es nativas. ? poss?vel?


Answers:
author: Leticia Pereira
body: [@Joseph Chung Yin](/t5/user/viewprofilepage/user-id/396739) the process is this:

1. Ticket opens in Jira Service Management
2. Task created in Jira Service and assigned to the responsible developer

With automation, I want that when the developer moves the task in Jira Service (changing the status to IN PROGRESS) the ticket in Jira Service Management also has its status updated to provide status.

<br />

With an example of how to create this automation, I can continue here with the rest!

Thanks!


author: Joseph Chung Yin
body: [@Leticia Pereira](/t5/user/viewprofilepage/user-id/5407624) -

Based on the English translation of your ask -

"

```
Is it possible to automate the transition of tasks through Jira Service Management without using the JMWE app?1. Example: to transition a task in the Jira sprint to move the Jira Desk schedule to start2. Example 2: insert a task into a sprint in Jira to change its status in Jira Service ManagementIn fact, the intention is to create automations between projects without using the app, only the native automations. Is it possible?
```

Without add-on, such as JMWE, it can be done via Automation for Jira's automation rule. However you will need to identify what is the triggering condition(s) (i.e. Edit Issue triggering) + what are your other criteria.

Once you can provide more details on your ask, then we can better assist you on the design of your automation rules between Jira Software Application project and your JSM project.

Best, Joseph Chung Yin

Jira/JSM Functional Lead, Global Technology Applications Team

Viasat Inc.


Tags: automation

cloud

jira-service-management

jira-service-management-cloud
Adding Items to Select List (multiple choices) Custom Field has no effect
Asked by Brad Hadfield:

I've created a Select List and although I can add items they never show on the screens to which this custom field has been added. Only the original items show.

Is adding items to this field type even possible?


Answers:
author: Joseph Chung Yin
body: [@Brad Hadfield](/t5/user/viewprofilepage/user-id/2564096) -

A few thing that you need to check -

1) Verify the custom field configuration is setup for your project context from Clog wheel icon "Settings" with your site admin rights \>\> Issues \>\> Custom fields. In the UI, select your custom field then access "Contexts and default value" option

![2024-02-19_7-57-05.png](https://community.atlassian.com/t5/image/serverpage/image-id/307284i21CCA2CF4355CDFC/image-size/large?v=v2&px=999 "2024-02-19_7-57-05.png")

![2024-02-19_7-56-37.png](https://community.atlassian.com/t5/image/serverpage/image-id/307285i5083B4B9FF414599/image-size/large?v=v2&px=999 "2024-02-19_7-56-37.png")

2) Access your project's Request Types via Project settings and ensure the field is exposed both in Request form (if this something that a customer will fill out via the portal UI) and Issue view (this is for one accessing the issue via the project UI)

Hope this helps.

Best, Joseph Chung Yin

Jira/JSM Functional Lead, Global Technology Applications Team

Viasat Inc.


author: Ashok Barik
body: Hi [@Brad Hadfield](/t5/user/viewprofilepage/user-id/2564096) , Please ensure that the custom field is associated with the screens used in the relevant project or issues, and verify its inclusion in the appropriate field configuration for the project, ensuring it is associated with the relevant issue type(s) to determine where and how the custom field appears.

Could you please provide more details or, if possible, include a screenshot of the issue for further clarification?

comments: author: Brad Hadfield
body: Hi,

Thanks, I appreciate your help.  

The custom field *is*present in the projects. It just didn't change when I changed what I thought was the config. (Choosing 'Edit details' for the field). Apparently, that just changes the description and not the items.

I discovered that I was in the wrong place. Instead, I needed to go to

**Settings-\>Issues-\>Custom Fields-\>\[The Field\]-\>Contexts-\>[Create, edit or delete contexts](https://pitchpointsolutions.atlassian.net/secure/admin/ConfigureCustomField!default.jspa?customFieldId=10115)-\>Edit Options**

Another usability victory for JIra.


Tags: cloud

jira-service-management

jira-service-management-cloud

jira-software
Customised Automated responses
Asked by Matt Torr:

Hi all,

I am writing some automated responses for customers and was wondering if there was a way I could customised it to the reporter's name.

Example: Joe Blogs raises a request

Automated Response:

Hi Joe.....

Is this possible? If so, could someone please assist?

Kind Regards,

Matt


Answers:
author: Joseph Chung Yin
body: [@Matt Torr](/t5/user/viewprofilepage/user-id/5140675) -

Hi Matt:

Can you advise how you are triggering the automated response when issue is created in your JSM project?

Via project's Customer notifications associated with "Request created" out of the box setup, or via your project's automation rule?

Please advise, so we can assist you further.

Lastly, please take a look at this resolved posting where myself and the other community leader's response - <https://community.atlassian.com/t5/Jira-Service-Management/I-d-like-the-first-name-of-the-issue-reporter-in-the-canned/qaq-p/2415847>

Hope this may help.

Best, Joseph Chung Yin

Jira/JSM Functional Lead, Global Technology Applications Team

Viasat Inc.

comments: author: Matt Torr
body: [@Joseph Chung Yin](/t5/user/viewprofilepage/user-id/396739)

Hi Joseph and thanks for responding.

I am using the customer automation rule.

And thank you for the link, I will look at that now.

Kind Regards,  
Matt Torr


author: Joseph Chung Yin
body: [@Matt Torr](/t5/user/viewprofilepage/user-id/5140675) -

If my suggestion helped you, please click on Accept answer when you have a chance. So others with similar asks will see this posting as an answered one.

Best, Joseph


Tags: cloud

jira-service-management

jira-service-management-cloud
Request approval
Asked by G?khan Sar?kaya:

For some requests, I would like to share a text with the administrator who will approve the request, including the responsibilities they take when they approve the request. How can I do this?


Answers:
author: Nikola Perisic
body: Welcome to the community [@G?khan Sar?kaya](/t5/user/viewprofilepage/user-id/5433069) !

First, let's define the approval step. This is done in your service desk workflow, where you need to have two statuses: Approved and Rejected. Both of these statuses need to be added to your workflow. They should have the transition. When you click on the Approved status, you will have the "Include approval step".

You will be asked to edit your approval step:

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

Since you are only looking for admin, there should be one approver.

You should also add two additional statuses when the request is approved and when the request is declined.

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

When you click on add, the approval will be requested.

For sending the email to the admin, you should create an automation rule:

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

comments: author: G?khan Sar?kaya
body: This doesn't exactly work for me. Since we have given up doing this job, we no longer need this development for now. Thanks for your answer


author: Fabian Lim
body: Hi [@G?khan Sar?kaya](/t5/user/viewprofilepage/user-id/5433069)

Go to the customer notifications settings and you can modify the default template for your approval email. Link: <https://support.atlassian.com/jira-service-management-cloud/docs/edit-the-content-of-your-customer-notifications/>

comments: author: G?khan Sar?kaya
body: I know this process but it doesn't work for me. Because I don't want to transmit this text in every request. Is it possible to do this for a specific request type?


author: Fabian Lim
body: Unfortunately you can't. What I suggest is to review this video tutorial that I made on customized emails.

Link:<https://youtu.be/ccWTIgdnQqE?si=78iatAkKJZRfoVDa>

Since the approval won't be on the email with the accept or decline, you will have to have a link to the request url of the portal that will allow them to approve. You then have to disable the customer notification for approvals.

I hope this helps.

Regards,

Fabian


Tags: cloud

jira-service-management

jira-service-management-cloud
Is it possible to hide/disable the print button in Assets?
Asked by Els Bassant:

The option to print a QR code for objects is makes sense for physical objects. However, currently most of our objects are logical and it makes no sense to have this option.

Is it possible to hide/disable the print button?  
Either on an instance, schema, or object level.


Answers:
author: Kris Dewachter
body: Hi [@Els Bassant](/t5/user/viewprofilepage/user-id/5268859) ,

I've never seen an option to enable/disable the QR codes.

There was a feature request for server for this, but I don't think it will be implemented anymore. I could not find a feature request for DC but i presume there is also no option to disable.

<https://jira.atlassian.com/browse/JSDSERVER-11160>

Best regards,

Kris


Tags: data-center

jira-service-management

jira-service-management-data-center
Start and end time I put in Tasks reflects differently in activity time line
Asked by Simon Compton:

Start and end time I put in Tasks reflects differently in activity timeline.

When I create a task in Jira and give it a start and end date and time. When I look at it in activity timeline it is an hour out

For example, if I have a meeting from 10am-11am and I create a task for it, put the start date and time at 10 am and the end date and time for 11am. If I, then go to check it in activity timeline it says my meeting is from 11am-12 noon.

Does anyone know how to fix this?


Answers:
author: Yuliia Hushcha _Reliex_
body: Hi [@Simon Compton](/t5/user/viewprofilepage/user-id/5432854)

You need to use customer settings to apply it for different time zones. Feel free to reach out to our support team [support@reliex.com](mailto:support@reliex.com) and they help you asap ?


author: Marc - Devoteam
body: Hi [@Simon Compton](/t5/user/viewprofilepage/user-id/5432854)

Welcome to the community.

Might be that the timeline takes the values in relation to the time zone set in your user profile.

I haven't been able to replicate this.

It might be worth to raise an issue on this topic to Atlassian Support


Tags: cloud

jira-service-management

jira-service-management-cloud