youngmon/atlassian-qna huggingface dataset:
Sorting Boards in workspace by due date in table view
Asked by SUSAN:

I have created several boards - and lists and cards. I would like to be able to go to the table view and sort all of the cards by due date. When I click on the "tableview" button, it will bring up all the cards/lists on all the the boards and there is a drop-down box by "due date" where I can sort by "ascending". It works maybe 75% of the time but for some reason, when I change a due date on a card, it either stays in the same place as it was for the prior due date and I have to keep refreshing/sort ascending to finally get it to sort correctly. Is there something I need to know that maybe I don't know about this? I'm only 2 weeks into this so I'm sure there are alot of things to learn.


Answers:
author: Rafael Dill
body: Hi [@SUSAN](/t5/user/viewprofilepage/user-id/5092175) , thanks for writing to us! You're doing it right, there's no tricks there. I've tried to reproduce the same behavior that you're detailed but every time I changed the due date of the card, it reflected correctly right away on the drop-down.   

I would recommend [following this guide](https://support.atlassian.com/trello/docs/troubleshooting-browser-issues-with-trello/) to troubleshoot your browser and if the issue still persists, you can open a ticket with us and allow the impersonation, so we can take a look at this on our end. Here's the link - <https://trello.com/contact#/>
Trello - filter to see all my tasks on different boards
Asked by Lovisa Nilsson:

Hello! I have a few different Trello-boards and would like to filter so that I can see all my tasks/cards that are assigned to me. Is this possible or do I have to filter each board at a time?

/Lovisa


Answers:
author: Clark Everson
body: Hi Lovisa,

This wouldn't be possible with native trello. But if you have a power up that can copy cards and sync them between boards like Unito you could do that: <https://trello.com/power-ups/595e989fa8f137d2af456fd4>

Hope this helps!

Best,  
Clark

comments: author: Lovisa Nilsson
body: Thanks so much, then I know that its possible!


Tags: filter
Fairly new to automation, is it possible to add a qualifier to the trigger?
Asked by Chrystal McFarland:

I just set up an automation rule earlier, which is as follows:

```
when a card is moved into list "Queued" by anyone, uncheck all the items in checklist "Dailies" on the card
```

Problem is, not every card has the "Dailies" checklist because not everything tracked by the board requires it. I could put an empty Dailies list on the cards so they don't throw an error, but that creates clutter that could confuse someone who has to handle the board but may not know about the need for an empty list.

Is there a way to add a modification to the automation to say, "when a card is moved into list "Queued" by anyone **AND has a "Dailies" checklist**, uncheck all the items in checklist "Dailies" on the card"?


Answers:
author: Chrystal McFarland
body: Answered my own question on this; I toggled the "Advanced" switch on the trigger and added both the incomplete and complete versions of "Dailies" to the trigger, comes out looking like this:

```
when a card with checklist "Dailies" incomplete with checklist "Dailies" complete is added to list "Queued", uncheck all the items in checklist "Dailies" on the card
```


author: milynnus
body: [@Chrystal McFarland](/t5/user/viewprofilepage/user-id/5097302)

Did not get to check Trello automation but the idea is you have the filter on the card like the presence of a non empty checklist by that name.
Can't locate Custom Covers?
Asked by matt western:

Hello.

I've created \& uploaded several custom covers for my cards.

When I click Change Cover for one of these cards, I can see the custom cover I created is listed as an attachment.

I want to use these custom covers I've created, for additional new cards I create, but I can't seem to locate them.

Is there a way I can access / locate these custom covers, so I don't have to upload them each time?

Thanks for any help.


Answers:
author: milynnus
body: [@matt western](/t5/user/viewprofilepage/user-id/5097617)

There are some limitations on how you can use an attachment/sticker for another card. As such I have developed a collection of services in the form of an app <https://alpha.deta.space/discovery/@milynnus/space_butler>

This uses a Trello automation capability called http request.   

Do note that none of the services allow you to select from list of previously uploaded covers. For this you probably need an app that keeps a record of the covers and allow you to select from there. You are probably not any worse off than to reselect from you local disk.

comments: author: milynnus
body: [@matt western](/t5/user/viewprofilepage/user-id/5097617)

I have been working on this idea of a custom power up that you can plug in other apps and use. Team can store away images and the other members of the team can use them on their cards as well. App setting allow you to plug in different app.

![Screen Shot 2022-12-09 at 5.26.02 PM.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/229782i6DE3B0A8BA93714C/image-size/large?v=v2&px=999 "Screen Shot 2022-12-09 at 5.26.02 PM.jpg")
Unable to publish artifact [jsunit]: .../target/..some path doesnt exist.
Asked by Sumeet L:

Im getting below error on bamboo "Unable to publish artifact \[jsunit\]: .../target/..some path doesnt exist."

When i checked the folder doesnt exist what might be wrong because of that folder is not getting created ?

Please suggest

Thanks in advance !!


Answers:
author: ArmenA
body: The short answer is, YES. Please make sure that the repository checkout is successful and you have all the needed directories that you expect to be there (that you have configured in Bamboo for artifact collection). There is a smilar question here - [https://answers.atlassian.com/questions/191251/unable-to-publish-artifact](/questions/191251/unable-to-publish-artifact)
Clarification on remote agents start and related specific to linux
Asked by Gretchen:

I have several remote agent servers, one is linux, three are windows.

If I run the remote agent does it go offline until needed then come on line?

(I really only want it online when I'm ready to build to optimize the license usage)

Or do I need to start it before building?

Trying to determine if I need to run a startup script in a step prior to starting the build.

Also the documentation specifically states ": ` `**start**` ` --- runs the remote agent in the background, i.e. no commands are displayed on screen (note: not really true at least on linux as I/O is echoed to the build log).If you have installed the remote agent as [a Windows service](https://confluence.atlassian.com/display/BAMBOO/Bamboo+remote+agent+installation+guide#Bambooremoteagentinstallationguide-ntservice), this command will work with the service."

Does this mean that if you install the agent as a linux service the "start" command does not work, or should not be used? (explicitly stating windows works makes me think that if it's not windows some other procedure should be used).

I've seen vague references that using an SSH task to start the remote agent won't work. Is this true?


Answers:
author: Gretchen
body: Apparently they stay online unless stopped.


Tags: linux

remote-agent
1 or 2 pipelines?
Asked by Sergey Erlikh:

Hi Bamboo-Guru,

I wonder what is the best approach in the current situation;

In our project we have a set of build, deploy and test jobs. In the nightly build, which takes the full test set (which takes a couple of hours), can eventually can lead to a releasable build

The on-commit build though, uses the same build, deploy and smaller set of test jobs, and is mainly used to provide CI feedback to the developers.

Would there be a way to set this up in 1 flow where only the nightly triggered build takes up all the test jobs, and the on-commit builds to only uses the smaller test set?

This will definitely impact the maintainability of the pipelines, where on changes we don't want to do things twice.

Thanks for providing feedback for us,

Sergey


Answers:
author: RianA
body: Hi Sergey,

In my opinion, I guess it would be better if you have two different plan in one project. As for trigger, it will run the build for the whole plan and can't be specified by only stages. Therefore if you have sets of jobs that specific to specifc trigger, I would suggest you to have two different plans.

Hope it helps.


author: Martijn van der Kamp
body: I had an additional answer but after rethinking it, it it was not correct :).


Tags: bamboo-administration
Confused with Bamboo git branch auto-merge
Asked by Eric Eric:

I'm trying to get the auto merge up and working on bamboo. Here's what i \*think\* i want. Feel free to chime in on better ways.

I've got a master branch and a development branch. Master is basically what's going out to production. Development is the currenty development branch that developers will clone/fork to a new feature branch where they'll work on their features. Then they issue a pull request from the new feature branch to be pulled into the development branch (after a review process)

I'm worried about drift between the feature branches folks are working on and the development branch. For example, two developers clone/fork the development branch at the same time (and have thes ame code) they both work on their features and feature1 finishes first and is pushed to development. I want the new code on development to be put on the feature2 branch automatically.

I thought the Branch Updater feature was the mechanism to make this work. I set a Branch Updater plan my feature1 and feature2 branches that were to merge from the development branch on a successful build of the development branch.

I made a commit and pushed to feature1 branch. Then i created a pull request and pulled the new code onto the development branch. I was expecting bamboo to the pullRequest change set to featureBranch2.

I've tried a couple of permutations using both the Gateway and Branch Updater strategies but haven't been able to find the secret sauce


Answers:
author: PiotrA
body: Hello Eric,

Actually, may I ask why do you need the new code on development to be put automatically on the feature2 (and feature3, feature4, featureX branches as well I assume) ?

I'm not 100% sure it is possible what you want (I'd have to check a few things first), but I believe it is do-able. Although I'd like to know your use-case a little bit more, as I find automatic development-to-feature merges to be very resource exhausting.

Also, can you elaborate a bit more on how you want CI (running tests) fit into your workflow? Is it that you want feature branches to be automatically tested, and when the branch passes the review you 'blindly' merge the branch into 'development' (without 'dry-running' tests against the merge result)?  
Care to shed some light on that matter?

regards,


Tags: bamboo-administration
Bamboo plan branching with multiple repos
Asked by Paul Redmond:

I have a plan that uses 2 source repositories. Plan branching picks up the branches on the default repo but when it builds the other repo always checks out the same branch (master). I want the same branch on both repos.

I tried setting branch to ${bamboo.repository.git.branch} in the non-default repositories configutation so it would try to match the default repos branch but that didn't work.

How can I do this?


Answers:
author: Martin Morin
body: Very disappointing...


author: Adam Lins
body: I just ran smack into this problem myself. I was thinking the only workaround would be to make a clone of the main plan, and configure the repositories for the branch I want. Alternatively, a script block could be used to checkout the right branch on each sub-repo.

I don't fully understand how a plan variable could be used to specify the branch, though.

It is disapointing that the branching feature doesn't work with multiple repositories, particularly where a clean checkout is being done for each build (surely the common case?).


author: Marcin Gardias
body: At the moment the only option that works is (afaik) to manually define plan variable that points to the branch, and override it on each Plan Branch.

There's an improvement request you can vote on: <https://jira.atlassian.com/browse/BAM-11544>

comments: author: tulikanih
body: Hi,Can you please explain in detail, how you implemented it?


author: Ben Stuart
body: Hey everyone, just an update on this. [BAM-11544](https://jira.atlassian.com/browse/BAM-11544)and [BAM-14127](https://jira.atlassian.com/browse/BAM-14127) were released in Bamboo 6.3, There is also another feature request you may be interested in as well: [BAM-19675](https://jira.atlassian.com/browse/BAM-19675).


author: Johan Vandeplas
body: I did something similar.

The first repo (default repo) I did the normal checkout. The second repo I used a script:   

```
${bamboo.capability.system.git.executable} clone -b ${bamboo.repository.git.branch} ${bamboo_repositoryUrl}
```

=\> where repositoryUrl is a plan variable with the second repository url...

However now I ran into a new problem:

The trigger on the first repo works fine. But on the second repo it doesn't. If I check in on that repo on the default branch, all planBranches are triggered! If I check in some code to a planBranch no build is triggered.

comments: author: weijet
body: I have similar situation, so what i did was to create another plan that has no jobs in it. Configured the second repository with polling trigger for that new plan that has dependency against the old plan.

So the new plan will be triggered to the old plan whenever there is a changes in your second repository. You can also setup the new plan for the feature branch that will pass to the old plan for the respective branch to do the job too.


Tags: cloud
Labels in Bamboo UI appear misplaced after upgrade to 5.0
Asked by Alex Lopez:

Please see the image below. This has been replicated in Chrome, Firefox, and Safari. The behaviour continues after login. Does anyone have a fix?

![](../../upfiles/Bamboo_UI.png)


Answers:
author: PiotrA
body: Hi Alex,

Could it be that you're using Sonar plugin and you're affected by the <https://jira.atlassian.com/browse/BAM-13461> ?

regards,

comments: author: Alex Lopez
body: Thanks Piotr, this does seem to be the case.


Tags: user-interface
Plan Summary page refresh
Asked by Milan Negovan:

I've set up a mini-NOC at the office to have the status of several plans displayed on a couple of screens.

One of my Plan Summary pages is currently showing that the latest build completed "1 second ago" whereas it was really built 14 hours ago. Obviously, the page is not reshreshing its status.

Is there a way to configure it to auto-update?


Answers:
author: Milan Negovan
body: Just to add some context: builds are detected and kicked off correctly. Once the build goes through, obviously the page refreshes.

It's just if there are no builds for a while, the summary page goes stale.
Has anyone Configured bamboo to run automated test using cucumber?
Asked by Gil Carranza:

I am setting up bamboo to run automated test using selenium, cucumber. I am using a maven task that looks like this test mvn -Dcucumber.options="src/test/resources. running in to a few issues with the build plan not finding the test directories but when I run the mvn command from the command line it works fine. Just can't get the build plan to do the same.


Answers:
author: Gil Carranza
body: I am up and running to many variables in the maven taskt


author: Syam Krishna
body: Hi,

I was trying to run a selenium cucumber test cases on bamboo but while building I'm getting an error says"cannot find symbol class WebElement".

how can I run selenium test cases in bamboo pls help


author: Santosh Negi
body: hi all, need help in setting up cucumber ruby tests with bamboo.


author: Gil Carranza
body: Hi Alan,

We are using the Cucumber-JVM JUnit runner

Thanks,

Gil


author: Alan Parkinson [Hindsight Software]
body: Hi Gil

What are the error messages you receive?

Are you using the Cucumber-JVM JUnit runner or the Cucumber-JVM CLI via the Maven Exec Plugin?

Cheers,

Alan


Tags: automation

cucumber

test
use a capability value during a ant or maven build
Asked by DIGIT CITnet:

I'm interested to use a capability value during a build execution via bamboo.

A plan starts within a dedicated agent. This agent has been selected because some capabilities exist on this agent.

Thats great to see variables accessible via ${bamboo.var_name}.

How do we do to pass an agent capabilities value?

thanks,

bruno


Answers:
author: DIGIT CITnet
body: Example with a capability called "weblogic". This capability contains the home folder on each agent.

The plan asks agent where the capability exists and it could be interesting to extract the folder location and to pass it to ant or maven.
Remote Agent registered events
Asked by DaveD:

I'm trying to write a bamboo plugin that signals when a remote agent registers. I can successfully get an AgentConfigurationUpdatedEvent to fire but I'm unable to get the agent name and more importantly for me, the capabilities.

My code is:

```
public class AgentRegisteredListener implements HibernateEventListener {    private static final Logger log = Logger.getLogger(AgentRegisteredListener.class);    @Override    public Class[] getHandledEventClasses() {        return new Class[] { AgentConfigurationUpdatedEvent.class };    }    @Override    public void handleEvent(Event event) {        if (event instanceof AgentConfigurationUpdatedEvent) {            AgentConfigurationUpdatedEvent agentConfigurationUpdatedEvent = (AgentConfigurationUpdatedEvent) event;            BuildAgent buildAgent = agentConfigurationUpdatedEvent.getBuildAgent();            String capabilities = "";            if (buildAgent != null) {                PipelineDefinition agent = buildAgent.getDefinition();                if (agent != null) {                    CapabilitySet capabilitySet = CabilitySetProvider.getAgentCapabilitySet(agent);                    for (Capability capability : capabilitySet.getCapabilities()) {                        capabilities += capability.getKey() + ":" + capability.getValue() + ";";                    }                }                log.debug("AgentConfigurationUpdatedEvent: " + dateFormat.format(date) + " - " + ((buildAgent.getName() == null) ? "null" : buildAgent.getName()) + " - " + buildAgent.getAgentStatus().getLabel() + " - " + capabilities);            } else {                log.debug("AgentConfigurationUpdatedEvent: null agent returned");            }        }    }}
```

The problem is that the buildAgent returned from agentConfigurationUpdatedEvent.getBuildAgent() is always null. Please can someone help me get the agent name and capabilities of a newly registered remote agent.

Thanks.


Answers:
author: Marcin Gardias
body: Hi,

As far as I can tell by quickly scanning Bamboo's source code, getBuildAgent() should not return null.

Which version of Bamboo do you try this with? Could you please try it with the latest (5.1.1) and if it's still doesn't work please open a bug at <https://jira.atlassian.com> (project name is Bamboo, project key: BAM)

comments: author: DaveD
body: It's not particularly easy for me to try using the latest version at the moment - our remote agents are limited to connecting to our live bamboo instances by the cluster they run on and these servers are both at 4.4.5. We hope to upgrade soon so I'll try this then.
Bamboo deployment
Asked by Dylan:

Hi, I'm try to automated my release build process through the Bamboo. Is there is a way to stop the trigger when there is unresolved JIRA issues related to the build version during the build stage or deployment stage?


Answers:
author: Gretchen
body: It seems like you could run a check using REST and if the returned content contains the string "unresolved" (or whatever string is in the REST result that indicates the state of the issue is unresolved) then set exit=1.That would give you the effect you are looking for. The build would return red and failed and would go no further.

You'd first have to get the list of jira issues associated with the build.

get the states of the issues associated with the build.

if the state = unresolved set exit 0.

I'm not sure exactly how hard that would be to do. You'd probably want to also print some kind of information in the log file indicating why the build failed i.e. "Issue PRJ-12345 is in the state UNRESOLVED" or something like that to make it evident why the build was failed.

I would put this up in the initial part of the build before you went to all the trouble (time) to checkout the repository for the build.

Look around in "answers" for the string REST for some examples and links to the REST documentation. Someone has probably done this before but since no one else has responded I thought I'd give my two cents.

comments: author: Gretchen
body: <http://yourhost/bamboo/rest/api/latest/result/PRJ-PLAN-3?expand=jiraIssues>

That should get you the list of jira issues that you'll then have to parse for the strings that are valid and if any string = open, inprogress, print "failed: code not ready to deploy or something like that" set exit=1 else print "all systems nominal" set exit =0 (continue your build or deployment).


Tags: fisheye-crucible
Bamboo is trying to use the wrong branch when sharing artifacts between plans
Asked by Jay Barra:

If I have 2 repositories with the same branch name, and the second repository is dependent on the first, when I use the artifact download task, how can I make sure the artifacts that are used come from the branch that shares the same name as the first repository.

Currently in the build log the artifact download task says it is trying to use the artifacts from the default branch and not the branch I am working off of.


Answers:
author: PiotrA
body: Hi Jay,

I'm not sure if this is the same issue, but could it be that you're affected by <https://jira.atlassian.com/browse/BAM-13584> ? If so, I'd urge you to vote on that issue (and add yourself to it as a watcher).

regards,

comments: author: Jay Barra
body: Yes, that looks like the problem I am having.


author: Nick Winder
body: I've been looking into this issue as well and even though it seems this issue was fixed in 5.1.1 (as per BAM-13584) , still in 5.3 I cannot chose a branch to pick up my shared Artifacts from in the Artifact downloader. Just wondered if this is still a issue or am I missing something?


Tags: artefact

branch

share
Importing plans from older versions
Asked by James Youngman:

I wiil eventually have 3 Bamboo machines running different versions of Bamboo. Is it possible to export all plans from machine #1 (v3.4.1) and #2 (v4.4.5) and import to machine #3 (v5.0.1.) ?

Thanks  


Answers:
author: RambanamP
body: check this issue

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

add upvote and watch for progress!


author: Jason Monsorno
body: You could always upgrade them then export. Also v5.1.0 is now available, might as well upgrade all the way while you're at it.