youngmon/atlassian-qna huggingface dataset:
/plan/{projectKey}-{buildKey}/vcsBranches returns VcsBranch detection not available for Plan Branch
Asked by Kaushal I:

<https://community.atlassian.com/t5/Answers-Developer-Questions/Is-there-a-way-to-list-Bamboo-branch-plans-and-their-source/qaq-p/552824>

I am using the API calls described in the above answer to get vcsBranches and the following error appears when i run it.

can anyone please let me know how to rectify this, i want to get the vcsbranches for the plan before running it.

COMMAND:

```
curl -u [USERNAME] -p -H "Content-Type: application/json" -X GET [BAMBOO-BASE-URL]/rest/api/latest/plan/[PROJECT-KEY]-[PLAN-KEY]/vcsBranches
```

<br />

ERROR:

{"message":"VcsBranch detection not available for Plan Branch","status-code":400}


Answers:
author: Alexey Chystoprudov
body: You see this error because \[PROJECT-KEY\]-\[PLAN-KEY\] used in request points to plan branch, but should point to "master" plan

comments: author: Kaushal I
body: thanks for your response.   

i see branches if i just query the master plan.   

but i need to see the Repository branch for a specify Branch plan not the master plan.   

here is the snap of what i am looking for   

<br />

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


author: Alexey Chystoprudov
body: I'm afraid there's no REST endpoint to get this information for plan branch.

But you can try to get this info from plan branch build result, it's at metadata values


Tags: bamboo-administration

branch

rest-api
Getting jobs and tasks using rest api.
Asked by Ankit_Prasad:

Hii i am using rest api call to get data from bamboo server. But in the documentation i cant find any api call to get the jobs and tasks associated with it. Can you please help me with this.


Answers:
author: Gerhard Forster
body: Hello [@Ankit_Prasad](/t5/user/viewprofilepage/user-id/3871138)

Thanks a lot for your question and welcome to Community!

Please find this [Bamboo REST API document](https://docs.atlassian.com/atlassian-bamboo/REST/6.8.1/ "Bamboo REST API document") as a reference for all available REST endpoints offered by Bamboo.

I understand that what you're after is a REST query to get you all jobs and tasks from within a given plan.

Honestly, seems like we have nothing at present that would list out tasks per planKey, but for jobs I found the following endpoint which shall be used with the GET method.

```
/search/jobs/{planKey}?searchTerm
```

Please find details in the above document.

Hope this help. If you found this answer helpful, please quote the message with "Accept answer" or share any further concern or ask with us per this thread.

Thanks, Gerhard
telemetry filter option that shows branches of all plans
Asked by Joris Voermans:

The only way to show branches is using something like the following link (not actual working link): "[https://bamboo.testserver/telemetry.action?filter=showPlanAndBranches\&planKey=TEST-KEY](https://bamboo.testserver/telemetry.action?filter=showPlanAndBranches&planKey=TEST-KEY)"

This only shows the branches of a single plan. What I need is a way to show the branches of all plans. I would figure the link would be something like "<https://bamboo.testserver/telemetry.action?filter=showBranches>". Unfortunately that does not seems to be a thing.  

Is there a way to get all branches of all plans into the telemetry?

What I need to solve is that I have the need of a single overview of all currently faling plans and branches.


Answers:
author: Gerhard Forster
body: Hey Joris,

Thanks for your question. I'd have an idea for you which involves 2 Bamboo REST endpoint calls and a loop, so some coding or scripting. But that's fun, isn't it.

Please find the [Bamboo REST API document](https://docs.atlassian.com/atlassian-bamboo/REST/6.8.1 "Bamboo REST API document") for your reference and utilize it for details related to both REST APIs that I'll print out below.

So here we go, these are the steps required.

1. Query so to get a list of plans of your Bamboo Server instance that a user is allowed to see, thus has READ permission on.
2. Loop over all of these plans.
3. Within the loop, find all branches per existing Bamboo plan.

By the above steps 1 - 3 you should get to know all plans your instance possesses, all branches per plan and, implicitly, summing up all these branches, the total amount of branches that you have, per name.

Now for point (1) the REST endpoint used with the GET method is as simple as this:

```
/plan
```

Per use of additional parameters in this call, you'd be able to get further plan details, if wished.

For step (3) from above the REST endpoint, again being used per GET, is this one:

```
/plan/{projectKey}-{buildKey}/branch
```

You can e.g. use the "enabledOnly" parameter to filter out disabled branches.

Hope that help you Joris or whoever else wants to collect that piece of Bamboo information.

Thanks and cheers, Gerhard


Tags: telemetry
Using two cron statements
Asked by Preben Tjemsland:

Hello,

we are using a cron for executing a build three times daily. What we would like however is to have it run at 07:40, 12:00 and 16:00 due to another part of the system being built at 07:00 daily.

We are currently running it at 07:40, 12:40 and 16:40 to avoid the issue.

Is there any simple way to use two cron expressions?


Answers:
author: Marcin Gardias
body: Yes, by configuring two cron triggers.
Can i use bamboo to log into a remote desktop
Asked by Stephen_DeBow:

Hi and thanks in advance, I'm new to bamboo

I'm trying to automate GUI testing on a remote server so I need to be logged in so the WinAppDriver can understand the objects that are on the screen. Can I use Bamboo to log in a dummy user as a task, run the script and then kill the dummy user?

Thanks


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

Welcome to the Community!

We do most of our work in Bamboo using Powershell scripts and modules. So yes you can absolutely use a script task in Bamboo to run a Powershell script that will do a remote connection (or run a remote job) as another user.

I hope that helps!

-Jimmy

comments: author: Stephen_DeBow
body: [@Jimmy Seddon](/t5/user/viewprofilepage/user-id/512822) thanks!
Can I accidentally kill processes from another build?
Asked by Victor_Rulev:

I'm running unit tests after the application is built. They can hang up, so I need to kill the process and fail the build after certain timeout.

I've written a batch file that handles it by using Windows "timeout", "tasklist" and "taskkill" commands. The question is, if two builds are launched simultaneously, is there a chance that one of them would kill the process from another build? And how about "tasklist" command, do separate builds have separate task lists?


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

Welcome to the Community!

To answer your question directly, yes you can accidentally kill processes of another build if you aren't careful.

I haven't done what you are doing in a batch file, but we spawn a number of background jobs using Powershell for our builds and we are careful to give them specific naming conventions so that if we kill a job do to a timeout threshold being passed, we know that the job being terminated belongs to the build that spawned it.

I hope that help!

-Jimmy


author: Jeyanthan I
body: Hey [@Victor_Rulev](/t5/user/viewprofilepage/user-id/3868226) ,

If your intention is to identify and kill a hung build, how about [configuring build monitoring](https://confluence.atlassian.com/bamboo/configuring-the-hanging-build-event-289277188.html) that kills hung builds running in your remote agent?

Cheers, Jey

comments: author: Victor_Rulev
body: I don't have access to that and I need a more "localized" solution. Besides, hung tests could be detected within 10 minutes, while timeout for a hung build could be a few hours.
Question about asset management asset confirmation
Asked by Levente Legendi:

Hello,  

Our company is looking into the asset management feature of Jira Service Management Premium and one question came up that we couldn't find an answer to.

Can we make it so that users have to sign for the assets that they are assigned? Also can the same be done when the assets are returned?  

Many Thanks,  
Levente


Answers:
author: Lisa Forstberg
body: Hi Levente,

Good move to start using asset management. That will open up a new world!

Can you elaborate on the requirements around the "sign" functionality you are after? Sign as in a physical or digital signature or are you open for any kind of digital trace that the owner acknowledge that they have received the asset?

You can use Jira SM to get the owner to acknowledge the hand out via a portal visible transition button perhaps? that + an automation that update the an attribute perhaps?

but please do tell us more about the whole use case

br

/L


Tags: cloud

jira-service-management

jira-service-management-cloud
Portal - common requests being shown on the homepage
Asked by ACN Helpdesk:

Right now, our portal looks like this when they click on a portal:

![2024-06-28_10h11_13.png](https://community.atlassian.com/t5/image/serverpage/image-id/332326i26D079241C5F0946/image-size/large?v=v2&px=999 "2024-06-28_10h11_13.png")

When the customer clicks the 'need to raise a request' only then it looks like this:

![2024-06-28_10h21_21.png](https://community.atlassian.com/t5/image/serverpage/image-id/332328i05E97806B92F8E13/image-size/large?v=v2&px=999 "2024-06-28_10h21_21.png")

But I want it to look like that from the beginning, so customers don't need to click on a button again before selecting which kind of request they need. Like this:

![2024-06-28_10h14_45.png](https://community.atlassian.com/t5/image/serverpage/image-id/332327i4AE0B83FA4279B28/image-size/large?v=v2&px=999 "2024-06-28_10h14_45.png")

Where can I change this?

Because I don't know how I added the KB links there.


Answers:
author: John Funk
body: Hi [@ACN Helpdesk](/t5/user/viewprofilepage/user-id/5405725)

The hierarchy is Help Center \> Project \> Request Types

So the Help Center shows all JSM projects you have created. Once you select the Project, then it will show all of the Request Types you have for that project.

The Help Center can only be changed in one place for ALL projects. This is the look and feel - colors, banner graphic, etc.

Then in the Project portal, you can change the logo for the project and the introductory text for the project.

Then each Request Type in the project can have some text associated with each.

So, having said all of that, which one of those are you wanting to change?

comments: author: ACN Helpdesk
body: Hi John, I know that that is the hierarchy, but as you can see from my screenshot from one of the courses on jira university, the buttons to the different request types already show up on the page of the project.

You can see in my first screenshot that this isn't the case for us. In ours, I only have the 'Need to raise a request' button. And once you click that it shows the buttons.  
How do I show the buttons for the different requesttypes in this place?


author: John Funk
body: It looks like that top screen shot is an internal setup your company is using. The very last screenshot is what it looks like in Jira. It appears you are using Citrix. You would need to talk with your IT folks about how they have set that up.


Tags: cloud

jira-service-management

jira-service-management-cloud
how to report what types of decisions were made
Asked by Anna Skocze?:

two paths were created in the workflow depending on the decision (approved, declined) along with the reason for such a decision. How to get information about what decisions have been made if the tickets are already in later statuses?


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

Not sure I follow the question. If it was either approved or declined, I wouldn't think it would be in later status if it was declined.

comments: author: Anna Skocze?
body: thank you :)


author: John Funk
body: You are welcome.


Tags: data-center

jira-service-management

jira-service-management-data-center

report
Jira display incorrect user
Asked by chatchawan.chi:

I would like your support, I found some user in our jira project, when they type their name in jira filed, they try on first name, but system is show other name and show personal email , where I can delete a worng information

these picture is screenshot of user that get these problem

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


Answers:
author: John Funk
body: Hi [@chatchawan.chi](/t5/user/viewprofilepage/user-id/5531362) - Welcome to the Atlassian Community!

When you check the list of users, does it show up as multiple users? Or is it a single user displaying in different ways?

comments: author: chatchawan.chi
body: Dear John Funk [@John Funk](/t5/user/viewprofilepage/user-id/7148)

thank you for your respond

- when I check on "Atlassian Administrator ==\> Directory ==\> users" it show only 1 record ( it show first record in picture that I share to you )


author: John Funk
body: Which field is it that shows the multiple versions of the user?


author: chatchawan.chi
body: [@John Funk](/t5/user/viewprofilepage/user-id/7148) sorry that respond late, we have jira service desk ticket , these account is show multiverion on filed "Approvers" and other filed that relate with select user


author: John Funk
body: You probably should go ahead and submit a support ticket to Atlassian. Please post back here with the resolution.

<https://support.atlassian.com/contact/#/>


author: chatchawan.chi
body: Dear John

Thank you for your support I already open Ticket ==\> <https://support.atlassian.com/requests/JST-1017112/>

Thank you for your support


Tags: cloud

jira-service-management

jira-service-management-cloud
I am not add active user
Asked by shankar_r:

Hi team  
I am not adding user getting the error while adding can you help me with it ![Screenshot 2024-06-28 101959.png](https://community.atlassian.com/t5/image/serverpage/image-id/332304iD21F14D6D1C1AAC3/image-size/large?v=v2&px=999 "Screenshot 2024-06-28 101959.png")


Answers:
author: Trudy Claspill
body: Hello [@shankar_r](/t5/user/viewprofilepage/user-id/5103978)

This appears to be related to your older post here:

<https://community.atlassian.com/t5/Jira-Service-Management/User-adding/qaq-p/2738063>

Please post the screen image to that post so that assistance can continue to be provided in that post.


Tags: cloud

jira-service-management

jira-service-management-cloud
I'm not receiving any emails.
Asked by ???_??_:

There is no problem with the notification settings in personal settings. I don't receive an email when updating an issue.

What should I do


Answers:
author: John Funk
body: Hi [@???_??_](/t5/user/viewprofilepage/user-id/4704901)

If you are not receiving any emails from Atlassian at all, then you should submit a support ticket to Atlassian have them check to see if your email address is on the Suppression list.

<https://support.atlassian.com/contact/#/>

comments: author: ???_??_
body: Hi, [@John Funk](/t5/user/viewprofilepage/user-id/7148)   

I solved it by filing a ticket with Atlassian as you said. thank you so much.  

don't know why, but the email was blocked.


author: Lisa Forstberg
body: Hi

Are you not getting notifications as a customer on a portal or as an agent working the tickets?

I am assuming that you don't want email notifications triggered by your own updates?

**Check**

- the notification scheme of the project

- the customer notifications of the project

- the ticket from the portal view - have you accidentally turned notifications off on a specific request?

- your profile \> notifications

- your profile \> check your email account

- your folders in your email client

comments: author: ???_??_
body: Hi, [@Lisa Forstberg](/t5/user/viewprofilepage/user-id/5101516)   
Thanks for your interest  
Solved.


author: Alex Koxaras _Relational_
body: Hi [@???_??_](/t5/user/viewprofilepage/user-id/4704901)

You will not receive any email about any change you make, unless you have selected the "notify me for my changes" from the notification preferences. Can you please be more specific as to what kind of updates you are not receiving notifications? Who is making these updates?

comments: author: ???_??_
body: Hi, [@Alex Koxaras _Relational_](/t5/user/viewprofilepage/user-id/4150197)   
Thanks for your interest  
Solved.  


Tags: cloud

jira-service-management

jira-service-management-cloud
Best practice to exposed a data field to the Customer
Asked by Lan Anh:

In Jira Data Center Customer Portal, the data fields entered in transition screen by the the service desk agent is not exposed to the customer as these fields are not part of the ticket when it is created. The only way I can think of to exposed this info to the Customer is via the Comment. Has anyone done it differently? What's the best practice for this type of scenario?

Much appreciate any input anyone can give. Thanks!


Answers:
author: Joseph Chung Yin
body: [@Lan Anh](/t5/user/viewprofilepage/user-id/4654046) -

All custom fields not entered in by customers at issue creation are solely available to the agents via the project UI and not portal UI.

If you have the need to share the custom field value with the customer, your idea of using Share with Customer via comments is a solution. It is up to each agent to manually conduct the commenting and obtain the custom field comments.

Another option you may want to look into is to setup automation for Jira rules to have the rule be triggered of by certain event (i.e. Field value changed etc), then fire an action to "Comment on issue" or "Send mail" to automated the processes. Of course you will need to use smartvalue syntax to obtain the custom field value in the comments/custom email content.

This way, it is not manually performed by the agent. Here are reference links on Automation for Jira and SmartValue for Issue links -

<https://confluence.atlassian.com/automation>

<https://support.atlassian.com/cloud-automation/docs/jira-smart-values-issues/> (even though the site is for cloud env, but it is same syntax for the DC env).

Hope this helps.

Best, Joseph Chung Yin

comments: author: Lan Anh
body: Thanks Joseph.

We've used automation and not particulars fond of it. Wonder if it's possible to put a 'Share with Customer' comment using scriptrunner via workflow postfunction? I would appreciate if you know \& can share code to do this?


author: Benjamin
body: Hi [@Lan Anh](/t5/user/viewprofilepage/user-id/4654046)

The way JSM is design is that the other fields is for agents. All communications going forward with the customer would be through comments. There are add-ons out there that would expose certain fields. I have found apps to be limited in what fields to expose but worth a check if things have improved.

In this case, when there's a pop-up in the transition screen, have the agent to enter a comment if I needs to be customer facing.

comments: author: Lan Anh
body: Thank you Benjamin.

Pop up the Comment in the transition screen is an option. However, this doesn't give us a way to easily query for a specific value. A better way that will serve our needs is to be able to put a 'Share with Customer' comment using scriptrunner via workflow postfunction. Would appreciate if you know this is possible and if you have can code snippet that can do this you can share?

Thanks for your respond.


Tags: cloud

customer-portal

jira-service-desk-data-center

jira-service-management

jira-service-management-cloud
Dependent Dropdown is not listed in Automation Rule (Team-Managed project)
Asked by Phu Huynh _Admin_:

Hello everyone,

I have an issue. Let me describe it

1, I have a Team-Managed Jira project.

2, In that Team-Managed project, I created a Dependent Dropdown custom field named "**Region/Office**"

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

3, I created an Automation rule to verify the "**Region/Office** " field. But I could not find that field in the **Issue fields condition**

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

My Question: Is the Dependent Dropdown not listed in Issue fields condition of Automation rule?


Answers:
author: Phu Huynh _Admin_
body: Dear Community,

I'm still looking for related documents for my issue.

If you find it, please feel free to share it with me.

Thank you very much!!


author: Joseph Chung Yin
body: [@Phu Huynh _Admin_](/t5/user/viewprofilepage/user-id/5530948)

Welcome to the community. Can you confirm if the field in question that it's context is setup for your project? Secondly, are you using FORM configuration for your JSM project's issue creation?

If you are using FORM's setup, then you need to check your FORM's configuration to see if the specific element is actually mapped (linked) to an existing custom field used in your project or not.

Please advise, so we can better assist you.

Best, Joseph Chung Yin

comments: author: Phu Huynh _Admin_
body: Hi [@Joseph Chung Yin](/t5/user/viewprofilepage/user-id/396739)

I appreciate your prompt response.

In the Team-Managed project, I solely created the Dependent Dropdown field. There is no field context and no FORM creation.

For more information, I also created a Dropdown field, and It's able to be selected in the **Issue fields condition**in the Automation rule.

I believe that in the Automation rule/**Issue fields condition,**Dependent Dropdown field is not listed. But I need a document or explaination for that.

Thank you very much!


Tags: automation

cloud

jira-service-management

jira-service-management-cloud
Can't delete a customer, no Delete buttons
Asked by Pavel Kolmagortsev:

Hello, I want to delete some customers from the service desk but there are no delete buttons. It's strange because they've been created in Organization by sending an invite.

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

In Project settings \> People there are no customers, only team members

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

Also can't find it in Administration \> Products

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

In the product details I see team members only.

So is there a way how to delete a customer?


Answers:
author: Manoj Gangwar
body: Hi [@Pavel Kolmagortsev](/t5/user/viewprofilepage/user-id/5197150) ,

Have you looked into this article <https://support.atlassian.com/jira-service-management-cloud/docs/delete-a-customers-account/> ?

comments: author: Pavel Kolmagortsev
body: Many thanks!


Tags: cloud

jira-service-management

jira-service-management-cloud
Buongiorno, ricevo l'errore "502 Bad Gateway" tentando di esportare issue in excel da un filtro.
Asked by roberto unali:

Buongiorno, ricevo l'errore "502 Bad Gateway" tentando di esportare issue in excel da un filtro.


Answers:
author: Tommaso Gionfriddo _Teklada_
body: Hi [@roberto unali](/t5/user/viewprofilepage/user-id/5530854), welcome to the community!

Could you please provide some more information regarding how you are exporting your issue? Is this via a connection in Excel, or via the Jira UI?


Tags: cloud

jira-service-management

jira-service-management-cloud