youngmon/atlassian-qna huggingface dataset:
Bamboo keeps starting builds on branches while the build plan is disabled
Asked by Mark de Bont:

In Bamboo (v5.8.1) I've setup multiple Build Plans.

One of the build plans is disabled but the build is still triggered when a branch in the archive is created.

Resulting in build job I do not need ;-(

So:

* Build plan is disabled,
* Triggers in the in build plan is also disabled
* "Create plan branches for branches detected in the repository" is also disabled

How to resolve this?

P.s. in the end I managed to get if fixed by delete the link with the repository as well , but that seems a little far fetched to me.


Answers:
author: rsperafico
body: Hello Mark,

Thank you for your question.

Disabling Plan(s) does not disable branch(es) created under the same Plan(s) configuration. In order to stop triggers, you need to visit branch(es) associated with the particular plan and disable it/them.

If you find this answer useful, I would kindly ask you to accept it so the same will be visible to others who might be facing the same issue you have inquired.

Thank you for your understanding.

---

Kind regards,  
Rafael P. Sperafico  
Atlassian Support


Tags: bamboo-administration
How to configure boolean variables in bamboo plan?
Asked by Bamboo Beginner:

Hello,

I'd like to configure a boolean variable in bamboo plan. It's quite easy in Jenkins...

I managed to add a regular (string) variables, but when I run a custom manual build I'd like it to be a checkbox, instead of writing a "true" or "false".

Is that possible in Bamboo?

If not, can I limit the possible input values for this variable or make it select from the list?


Answers:
author: Alexey Chystoprudov
body: Hello,

Right now Bamboo doesn't support features you asked.

Please add you vote to similar feature request: <https://jira.atlassian.com/browse/BAM-14231>

When we plan our roadmap we look at top voted feature requests


Tags: bamboo-administration
Client was not found on the perforce server
Asked by Jaime Lajarin:

Had a perforce repository working fine in my build plan. Changed perforce to use SSL and used P4 trust. I am able to connect to Perforce, but now the repository configuration in Bamboo says "Client was not found on the perforce server". Why?


Answers:
author: Felipe Kraemer
body: Hi @Jaime Lajarin,

Can you please check that the system user who is starting Bamboo can execute P4 commands in the command line?

Can you please try to re-add Perforce as a [Bamboo capability](https://confluence.atlassian.com/display/BAMBOO/Defining+a+new+version+control+capability)?

If this answer was helpful, please allow me to ask you to mark my answer as accepted in order to have it in the top of the thread, also helping other customers.

Thanks in advance!

Kind regards,  
Felipe Kraemer


Tags: bamboo-administration
How to run Bamboo plan from script/CLI?
Asked by Bamboo Beginner:

Hello,

I've a plan, which gets few parameters and runs a python script.

I'd like to run this plan from bigger system, which monitors my clearcase source control and when new baseline created it launch this bamboo plan. What is the best way to do this and how can I pass few parameters.


Answers:
author: Bob Swift (personal)
body: Use the [queueBuild](https://bobswift.atlassian.net/wiki/display/BCLI/Reference#Reference-queueBuild) action from the [Bamboo Command Line Interface (CLI)](https://bobswift.atlassian.net/wiki/display/BCLI) and provide build variables via the various field/value parameters.


author: Krystian Brazulewicz
body: Even better would be queue REST resource <https://developer.atlassian.com/display/BAMBOODEV/Bamboo+REST+Resources#BambooRESTResources-BuildQueueService>


Tags: bamboo-administration
Here be Dragons Stage 8.6 Bitbucket 500 Error
Asked by Garry Ewen:

When creating a new plan in Bamboo for the Here be Dragons challenge, I am getting a "Failed to load data from Bitbucket.\[500 Internal Server Error\]" on clicking the "Load Repositories" button.

I am using the username "atlassian_dragons".

Any ideas?


Answers:
author: mete
body: Any news in 2019 ?


author: Guido Draheim
body: I stumbled into the same error - the logs revealed the following:  

\[AccessLogFilter\] charlie POST http://localhost:8085/bamboo/rest/hg/latest/bb/repositories/%20atlassian_dragons/ 105601kb  
\[ThrowableExceptionMapper\] Uncaught exception thrown by REST service  
java.lang.IllegalArgumentException: Invalid uri 'https://api.bitbucket.org/1.0/users/atlassian_dragons/?format=xml': escaped absolute path not valid  

=\> watch for the "%20atlassian_dragons" which reveals that the username in the configuration dialog has a space before the real "atlassian_dragons" name. That's probably when doing cut\&paste from the dragon-slayer wiki.


author: Garry Ewen
body: Added logs to job <https://support.atlassian.com/servicedesk/customer/portal/11/BBS-19646>


author: Alexey Chystoprudov
body: Hello Garry,

Can you provide any logs from BAMBOO_HOME/logs folder?


Tags: bamboo-administration
Bamboo remote agents after Bamboo restart
Asked by Cynthia Fehr:

Hi,

After our bamboo restarts the remote agents don't come back unless I send a restart command to them. Is there any way to get the remote agents to keep retrying for a certain amount of time?

Thanks,

Cynthia


Answers:
author: Mark de Bont
body: I am using the following settings but still have to restart all the agents ;-s

```
wrapper.successful_invocation_time=3wrapper.max_failed_invocations=999
```


author: ThiagoBomfim
body: Hi Cynthia,

Would it be possible you're hitting that?

* [Remote agent does not restart after server outage](https://confluence.atlassian.com/display/BAMKB/Remote+agent+does+not+restart+after+server+outage)

Best,  
Thiago  


Tags: bamboo-administration
Bamboo REST API for commits between releases
Asked by Karthik Anand Kumar:

Hi,

Is there a way to get the commits between two releases of a project via the rest API

Thanks,

Karthik


Answers:
author: Karthik Anand Kumar
body: Well, I was able to do it through a round about way. Found the list of every release that happened between the two, find, the builds associated with each release, and ran through a loop getting the commits for each of them.

comments: author: Simon curran
body: Hi Karthik,

I need to do something similar to what you trying to do above. I want to be able to generate a change report (for multiple components) based on the version (release) of a component in Test vs the version (release) of the same component in Production.

So far, I have been able to use the Bamboo APIs to get the version numbers (release) deployed to Test, and the version number (release) deployed to Production. But, I need a way of being able to "find the builds associated with each release". Based on what you have stated above, you have solved this piece?

Thank you in advance for your help.

Simon.


author: Felipe Kraemer
body: Hi @Karthik Anand Kumar,

At this time, the functionality you're requesting is not yet possible in Bamboo. We do have an open request for this, and you can track here:

<https://jira.atlassian.com/browse/BAM-14948>

Feel free to [vote](https://confluence.atlassian.com/display/JIRA/Watching+and+Voting+on+an+Issue) for the issue, add it to your watch list in order to be notified on its progress, and leave a comment there describing your use-case the more detailed the possible. This will help our development team to build a solution that meets better your needs.

If you want to know more about how we prioritise feature requests, take a look at our [policy](https://confluence.atlassian.com/display/DEV/Implementation+of+New+Features+Policy).

Let me know if you have any further questions.

Kind regards,  
Felipe Kraemer
Does JSM need to give PowerBI special permissions?
Asked by Heather Ronnebeck:

Hi,

I'm trying to pull data in from Jira Service Management to PowerBI using the connector from Appfire. I'm having issues where these projects just aren't showing up in PowerBI. I'm wondering if I'm overlooking something like a permission.

Would anyone have any ideas on what I can try?

Thanks!


Answers:
author: Marc - Devoteam
body: Hi [@Heather Ronnebeck](/t5/user/viewprofilepage/user-id/940497)

I looked at the documentation and its very unclear for me, how the setup is working and how permissions are set or need to be set.

You could reach out to their support portal and they should be able to give you the correct guidelines.

[Appfire support](https://appfire.atlassian.net/servicedesk/customer/portal/11/)

P.S.

I use the Power BI Connector for Jira form Alpha Server and do like this way better.

We have trialed the appfire one also in our decision and we found it the one we disliked the most (personal preference)


Tags: app

atlassian-marketplace

cloud

jira-service-management

jira-service-management-cloud
ScriptRunner to check if comment was made by the Reporter of the issue
Asked by Zaldy Parian:

Hi all,

Thanks for reading my question.

We are using JSM on cloud + ScriptRunner. Seeking help for a code to:

1. check if the issue has new comment
2. check if the new comment was added by the Reporter of the issue
3. if #2 above is true, then transition the status back to 'Work in progress'. Else, do nothing {return}.

Appreciate any help and guidance on how I could achieve this through ScriptRunner Listener.


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

I would look at a couple of things:

* Write a listener that
  * catches "issue commented"
  * tests something like "if event.getUser() = event.issue.getReporter()"
  * uses <https://library.adaptavist.com/entity/transition-issue-input-paramaters> as a base for transitioning the issue back
* Have a look at the "[escalations](https://docs.adaptavist.com/sr4js/latest/features/jobs/built-in-jobs/escalation-services)" in Scriptrunner

comments: author: Zaldy Parian
body: Thanks, Nic.

I search for the code for the event "issue commented" from the web. Then add an IF clause as per your 2nd bullet. If I'm successful, I'll move on to trasition/escalaiton step.

Regards,


author: Zaldy Parian
body: Anyone can please help with this? Appreciate any guidance and suggestion.


Tags: adaptavist

cloud

jira-service-management

jira-service-management-cloud

scriptrunner
jira cloud for sheets limitation
Asked by sharmila leo:

How many maximum issues we can import into Sheets from Jira cloud


Answers:
author: Joseph Chung Yin
body: [@sharmila leo](/t5/user/viewprofilepage/user-id/5381941) -

Welcome to the community. By the default, it is limited to 1000 rows when one exports data from Jira to avoid possible performance impact to your site. According to this reference Atlassian KB - <https://community.atlassian.com/t5/Jira-articles/How-to-export-more-than-1000-issues-using-Google-Sheets/ba-p/1810436>, it stated it can be up to 10000 rows via "Jira Cloud for Sheets" add-on.

Hope this helps.

Best, Joseph Chung Yin

Jira/JSM Functional Lead, Global Technology Applications Team

Viasat Inc.


author: MobilityStream
body: Hi [@sharmila leo](/t5/user/viewprofilepage/user-id/5381941) ,

As stated above, with a workaround, Jira Cloud for Sheets can export up to 10000 issues. However, there are a many other problems with it. Atlassian basically transitioned Jira Cloud for Sheets to maintenance mode, with enhancements discontinued, in summer of 2022 (background [here](https://mobilitystream.com/why-move-from-free-app-jira-cloud-for-sheets-to-paid-google-sheets-integration/)). This has resulted in many user-reported issues and increased system unreliability. The user community is full of post by users that lose connectivity, see frequent errors (503 and others), experience various data issues (duplication, missing data, etc.) If reliable exports are important to your business, we recommend to try our [Google Sheet Integration](https://marketplace.atlassian.com/apps/1216313/google-sheets-integration) add-on. It works fundamentally different by exporting directly out of Jira via API calls. There is no limitation on numbers of issues exported. It is much more reliable and used by the largest organizations. Exports can be one-time, scheduled, or real-time You can also export much richer data to create more sophisticated reports (Assets, Changelogs, Projects, Sprints, Users, etc.). Everything directly controlled within Jira. Give it a try.

Kind regards,

The Mobility Team


Tags: cloud

jira-service-management

jira-service-management-cloud
dashboard creation
Asked by TI - Administrador:

I would like to create a dashboard in Jira where I can track SLAs. In this case, it would be a dashboard where I can check the time for unresolved demands in specific categories: over 7 days, from 7 to 14 days, and over 30 days. I would like these categories to be separated by subsectors, which in my case would be ERP, Infrastructure, and General. Could you help me with this?


Answers:
author: Danut M _StonikByte_
body: Hi [@TI - Administrador](/t5/user/viewprofilepage/user-id/5372200),

Try the **WIP Aging Chart gadget** offered by our [Great Gadgets](https://marketplace.atlassian.com/search?query=stonikbyte%20great%20gadgets%20agile) app.

This gadget displays issues in a board or filter based on their age. The age calculation method can be configured - in your case it will be calculated as the time since the issue was created.

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

On y axis is the age (in days), on x axis are the board columns or issue statuses showing the issues (dots) within them. WIP from the top indicates the total number of issues in that status/column.

The red line represents a threshold, which you should be set to your SLA. Above the red line, in red-color, are the issues that breached the SLA. Hovering or clicking an issue with show details about it.

You will need a gadget like this for each sub-sectors: ERP, Infrastructure, and General.

This app offers some other gadgets that allows measuring and visualizing the **SLA as trend chart** or as **histogram chart**. Also, with this app you can track many other metrics specific to JSM/ITSM.

Have a look over this article from our blog to make a better idea: [An effective dashboard for Service Desk and Customer Support teams in Jira Service Management](https://blog.stonikbyte.com/2023/05/15/an-effective-dashboard-for-service-desk-and-customer-support-teams-in-jira-service-management/).

![](https://blogstonikbyte.files.wordpress.com/2023/05/image-15.png?w=875)

I hope this helps. If you have any questions, please don't hesitate to contact us at [support@stonikbyte.com](mailto:support@stonikbyte.com).

Danut.


Tags: cloud

jira-service-management

jira-service-management-cloud
How to grant permission for multiple roles to exceute the transition of a workflow
Asked by Ravi Kanth:

How to grant permission for multiple roles

* Curent Assignee
* Administrator of the current project

to exceute the transition (Close--\>Reopen) of a workflow.

I tried through conditions of the workflow individually can be applied but not combine

if i write 2 individual conditions one for Assignee and one for Administrator only first condition is getting triggered but not both.

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

Plz do the needful

Thanks,

N.Ravikanth


Answers:
author: Melo
body: Hi [@Ravi Kanth](/t5/user/viewprofilepage/user-id/4306006),

I've tested it, and it works as expected. Can you confirm you've published the workflow change? Also, please share which version of Jira/JSM you're using.

Cheers,

Melo


Tags: jira-service-desk-server

jira-service-management-server
como puedo parar el tiempo en una solicitud, poder seleccionar el simbolo de pausa
Asked by Yessica Lorena Guzman Lopez:

![Captura de pantalla 2023-12-07 a la(s) 1.57.51?p.?m..png](/t5/image/serverpage/image-id/295827iEE8A311F02E87C00/image-size/large?v=v2&px=999 "Captura de pantalla 2023-12-07 a la(s) 1.57.51?p.?m..png")


Answers:
author: Dan Breyen
body: Hi [@Yessica Lorena Guzman Lopez](/t5/user/viewprofilepage/user-id/5381776) welcome to the community. I apologize if there are errors in the translation. If I'm understanding your question correctly, you have an SLA going and you'd like to be able to pause the Service Request when it's in specific states.

I'm also assuming that you're using Jira Service Management in the cloud. If this is your question, and you're in the cloud, if you go to your Project Settings, in the Left Menu, there is an item called 'SLAs'. If you click on it, you can go in and edit them. If you don't have any there or need to add a new on, you can click on 'Add SLA'. Then you can edit the actual projected and set the goal, as well as edit the conditions regarding what starts, pauses, and stops it.

Here's a KB that goes into it further: [SLAs](https://support.atlassian.com/jira-service-management-cloud/docs/create-service-level-agreements-slas/)

Hope that helps
User picker field behaves differently for customer than for agents
Asked by Ashley Honeycutt:

We have a user picker field on various request types in our JSM portal.

Agents/admins can type a person's name and the field will suggesting names.

When a customer tries to use the field, they don't get name suggestions. If they type the full name, they get an error and can't submit the ticket. If they know the person's actual username, they can enter that successfully but we don't expect them to always know the username.

What configuration am I missing that will allow customers to use this field properly?

Thank you!


Answers:
author: Ashley Honeycutt
body: Answering my own question here in case other folks can use it:

The field from the Portal view had a different display name, but was actually the "Raise Request on Behalf of" field. This field is only available for use by service desk agents.

I had to create a new field to replace it so that customers can submit requests for other people


Tags: jira-service-management

jira-service-management-server

server
Anyone else having issues importing sub-tasks?
Asked by Rosa Santos:

This was working for me about a month ago. Nothing has changed with my CSV file or my headers - and now getting this error:

* Issue can't be created due to the error/s \[ Issue type is a sub-task but parent issue key or id not specified. \]


Answers:
author: Joey Bautista
body: Hi,

I was having the exact same problem as you. I noticed that the field mapping page listed parent as "Do not map this field" even though it was defined in my configuration file. I manually mapped it to the right field on my CSV and then uploaded it successfully.

When I compared the two configuration files (my original) and the one for the above upload, it looks like the backend jira field name was re-named. It was **"subtask-parent-id"** and now it's just **"parent"**.

I saved this config file and tried to upload again and it worked like normal.


author: Asha Goyal
body: Hello [@Rosa Santos](/t5/user/viewprofilepage/user-id/5381746)

From the error given, it seems that you are trying to import the subtask via CSV, and for that it is mandatory to provide a parent issue key. Every subtask must have a parent issue, and without them, subtask cannot be created in Jira.

Make sure that either parent is already exist into the system, and if not please break the CSV into two parts. In the first go Import the parent first, take the parent Issue key from Jira and then import the subtask subsequently.

Tip -- Make use of label while importing to identify the recent issues imported.

I hope it helps.

Please accept my answer if it found useful.

Thanks

comments: author: Joey Bautista
body: This is really inefficient.

I used to be able to import stories and subtasks together using a dummy Issue ID (e.g., PROJ-99999). I would just have the Issue ID filled in for the Story and left blank for subtasks but Parent ID blank for story and filled in (e.g., PROJ-99999) for subtasks.

It all loaded at once but now I have to do a two-step process to import? That's terrible.

See my answer separately. This isn't the case.


author: Erich Heerdt
body: [@Joey Bautista](/t5/user/viewprofilepage/user-id/5384955)

So did you get your import file to work with items and subitems in the same upload? I had to first build a file with items, then export that file and Vlookup the parent names to the subitems to fill in the item#, then import the subtasks.  

When I try to import both, the validation errors out on all subtasks saying no valid Parent ID could be found. I tried making a dummy item # for every item and subitem and using it filled in correctly for the parent field, but that didn't work.

(I'm importing lines from Monday.com to Jira Work Management)


Tags: cloud

jira-service-management

jira-service-management-cloud
Assets Discovery Import-Mapping
Asked by Carmen Odimba:

Jira Service Management Data-Center.

When configuring an Assets Discovery import to Assets, data mappings must be configured between the data file and the Assets object schema. This is not a problem for properties that are at the first level of the data file, but seemingly impossible for properties that are at lower levels or within an array.

For example, the IP addresses of a virtual machine object (which is a 1:n relationship) are to be transferred to assets. The information is available in the data file, but the mapping cannot be configured. Only the virtual machine object can be mapped but not the other information within.

How can I solve this?


Answers:
author: Carmen Odimba
body: In case someone needs help on this matter, I got help from a colleague. In our example we have virtual machine objects that are on the first level and can therefore be mapped easily and the tricky part is to import attributes of these VMs, for example IP addresses.

There are 2 solutions:

1) Import the network interfaces as objects and then reference them with the solution described here: <https://confluence.atlassian.com/servicemanagementserver/2-create-object-type-and-attribute-mapping-1044784497.html>

\> Object mapping (AQL) \> Name IN (${DATA LOCATOR${0}})

2) Import everything under Network Interfaces (the complete string) and in a second step parse the IP address via RegEx

The first solution is the "best".

comments: author: Scott McDonald
body: Am I correct in stating the Assets Discovery scanning tool dose not do any mapping automatically? Anything that needs to have dependency mapping needs to be done manual.


author: Scott McDonald
body: Am I correct in stating the Assets Discovery scanning tool dose not do any mapping automatically? Anything that needs to have dependency mapping needs to be done manual.

Scott


Tags: jira-service-management

jira-service-management-server

server