youngmon/atlassian-qna huggingface dataset:
testParsers not working as documentation says.
Asked by Pierre-Luc Veilleux:

```
---
project:
  key: TEST
  plan:
    key: BYT
    name: Bamboo Spec tutorial
stages:
  - jobs:
      - scripts:
          - '#!/bin/bash'
          - echo 'Going to slay the red dragon, in bash'
        interpreter: shell
        # Job's test parsers.
        testParsers:
            - type: junit
            testResults: '**/junit/*.xml'
```

```
Bamboo YAML import failed: Invalid format of the YAML document: while parsing a block collection
31-Dec-1969 19:00:00    in 'string', line 15, column 13:
31-Dec-1969 19:00:00                   - type: junit
31-Dec-1969 19:00:00                   ^
31-Dec-1969 19:00:00   expected <block end>, but found Key
31-Dec-1969 19:00:00    in 'string', line 16, column 13:
31-Dec-1969 19:00:00                   testResults: '**/junit/*.xml'
31-Dec-1969 19:00:00                   ^
```

[https://confluence.atlassian.com/bamboo0603/bamboo-specs-yaml-format-946020345.html](https://confluence.atlassian.com/bamboo0603/bamboo-specs-yaml-format-946020345.html?)


Answers:
author: Gabriel Ribeiro
body: Hi Pierre-Luc

Your YAML indentation looks to be incorrect. Could you please remove the two extra spaces before the *type* definition and try again?

Ex.

```
project:
  key: PROJ
  plan:
    key: BYT
    name: Bamboo Spec tutorial
stages:
  - jobs:
      - scripts:
          - '#!/bin/bash'
          - echo 'Going to slay the red dragon, in bash '
        interpreter: shell
        # Job's test parsers.
        testParsers:
          - type: junit
            testResults: '**/junit/*.xml'
```

I suggest you to use a YAML validation tool to check the code before committing it to the repo. (e.g. <http://www.yamllint.com/>)

thanks

comments: author: pushpak007
body: I also Suggest you to use a YAML Validation tool like [https://www.yamlonline.com](https://www.yamlonline.com/) . it's validate your YAML and also convert your YAML TO JSON or YAML TO XML and CSV so on.


Tags: spec
Is there a trigger or notifcation when plan branch is removed?
Asked by jameshartleroad:

Does anyone have an idea of how to trigger an action when a build plan branch is automatically removed by Bamboo?

I've setup a branch build plan that also deploys each branch to Tomcat by adding the branch name to the context name, like website-branch1, website-branch2 which works fine.

But when the branch is deleted in BitBucket and Bamboo automatically deletes the branch from the build plan, the deployed instance of the branch is still in tomcat.

I could write code to query the build plan for the branches, keep it as an external list and anytime it finds one that is no longer in bamboo delete that one from tomcat and remove it from the list.

Is there a better way to do it?


Answers:
author: Jobin Kuruvilla [Adaptavist]
body: Deployment is done by a build and there is no build triggered when a branch is deleted. So, you need to do it either by maintaining it externally or in a Bamboo add-on that captures branch deletions.

What is your title suggesting about a limitation of 5 branches? That is not the case in Bamboo. Unless you have some expiry rules set up, branches won't be automatically removed. When a bitbucket branch is deleted, the corresponding Bamboo branch will be deleted though.

comments: author: jameshartleroad
body: Title was an accident, I corrected it. Having an issue with IE.

I know the deletion doesn't trigger a build, was trying to find information on events.

Looking into it further I found some information on Bamboo Event Listeners. It documents a BuildDeletedEvent and MutipleJobsDeletedEvent which is probably what I'm looking for.


author: Jobin Kuruvilla [Adaptavist]
body: Yes, that is what you need. You will need an add-on that implements a listener for that event.
Bamboo can?t see repositories from Bitbucket.
Asked by Tom?? Orie??ik:

We are migrating our atlassian instances to new environment, we have the same configuration with the previous, but we got following problem: Bamboo can't see repositories from Bitbucket.

Selected server has no repositories.

Versions:

Jira 7.3.6 -- configured as jira user server for: Bitbucket 5.11 Bamboo 6.5.0 Confluence 6.0.3

+ Ouath application links in connected state

Thanks


Answers:
author: Robert W
body: Hi Tom??,

Can you look at [this post](https://community.atlassian.com/t5/Bamboo-questions/Linking-to-Stash-from-Bamboo-quot-Selected-server-has-no/qaq-p/32045 ) from a couple years ago, and see if the same solution works for you?

Cheers, Robert Watson Dev Tools Support \| Atlassian


author: Phill Pafford
body: Just a FYI for users who might see this issue, looks like the flag \`Manage Trusted Keys\` was causing an issue. We had to disable this flag to get it working

related

* <https://confluence.atlassian.com/bamboo/managing-trusted-keys-800714520.html>
* [https://confluence.atlassian.com/bamkb/new-access-key-is-required-but-could-not-be-added-to-bitbucket-server-808616180.html?utm_medium=logScan\&utm_source=STP](https://confluence.atlassian.com/bamkb/new-access-key-is-required-but-could-not-be-added-to-bitbucket-server-808616180.html?utm_medium=logScan&utm_source=STP)
Bamboo server Ansible install. Can I add the license throught the terminal?
Asked by Vincent Dansereau:

Hi, is it possible to install a bamboo server's license through the terminal?


Answers:
author: Gabriel Ribeiro
body: Hi Vincent,

I solved a similar problem some time ago using a very simple python+mechanize script. If you want to use my script as a reference, I made it available on a public repo:

* [https://bitbucket.org/ribeirogm/unattendedinstallation_bamboo/](https://bitbucket.org/ribeirogm/unattendedinstallation_bamboo/ "https://bitbucket.org/ribeirogm/unattendedinstallation_bamboo/")

Let me know if you have any question.

thanks


author: Kiran Panduga {Appfire}
body: Hi [@Gabriel Ribeiro](/t5/user/viewprofilepage/user-id/352687) ,

Can you help me on adding the license details for Confluence through Ansible playbook file?

thanks,

Kiran.


author: Vincent Dansereau
body: Thanks a lot!  
I'll try to integrate it to my playbook.
Is it possible to rerun Bamboo build with latest revision of a branch?
Asked by mireksz:

By default, using the "rerun failed/incomplete jobs" feature always checks out the same revision from git repository.  

Is it possible to rerun the build but pull the current HEAD of a branch?


Answers:
author: Foong
body: Feature request <https://jira.atlassian.com/browse/BAM-12600>

Use Script task to update the repository first

comments: author: mireksz
body: That's what I've been doing so far, but it means that I have to reconfigure the whole plan, when I'm testing my branch - and I have to reconfigure it back once I'm done. And of course in mid-time, nobody else can use the plan whatsoever.  

Are there any other workarounds? Or did you come up with some way of introducing the additional checkout only for my branch plan?


author: Foong
body: No other workaround. Source Code Checkout task will only perform checkout on the revision from the time of original trigger.


author: Ashish
body: [@Foong](/t5/user/viewprofilepage/user-id/502088)

As mentioned by u, can u provide me the Script task to update the repository or link or guide for the same.
Automatic labelling not linking issues to build
Asked by Prabhat-Kumar:

Hi All,

I am having the same issue as mentioned in (v6.3.2 build 60307 - 02 Feb 18)  
<https://jira.atlassian.com/browse/BAM-13366>

The build got tagged but nothing got linked... manually it works.


Answers:
author: Foong
body: Do you mean that the build is not linked to Jira issues?

Is there any commits in the Commits tab that have Jira issue keys?

comments: author: Prabhat-Kumar
body: That part works...

Build is able to link any jira based on commit comments and manual tagging using labels.

It does not work when the build scans the log file for a pattern and tags the build with those labels

I have attached all 3 screenshots for more insights

"Pattern match Labelling"

![2018-06-21 09_10_37-Pattern Match.png](https://community.atlassian.com/t5/image/serverpage/image-id/25065iAEBC37A11B27C507/image-size/large?v=v2&px=999 "2018-06-21 09_10_37-Pattern Match.png")

![2018-06-21 09_07_44-Build Labels.png](https://community.atlassian.com/t5/image/serverpage/image-id/25063iDA828FA65A12BCA7/image-size/large?v=v2&px=999 "2018-06-21 09_07_44-Build Labels.png")![2018-06-21 09_08_02-Build Issues tab.png](https://community.atlassian.com/t5/image/serverpage/image-id/25064i2AE44575D876813D/image-size/large?v=v2&px=999 "2018-06-21 09_08_02-Build Issues tab.png")


author: Prabhat-Kumar
body: Do you mean that the build is not linked to Jira issues?

Yes, the build is not linked to Jira issues when the build is labelled using Pattern match labelling


author: Foong
body: Its a bug <https://jira.atlassian.com/browse/BAM-15121>


author: Prabhat-Kumar
body: Thanks .. hope this gets fixed soon :)
Issue related to dashboard column
Asked by shivani shirguppi:

![Screenshot 2024-04-01 174224.png](https://community.atlassian.com/t5/image/serverpage/image-id/315524iCCD3D533F2A045D7/image-size/large?v=v2&px=999 "Screenshot 2024-04-01 174224.png")

There is one status "Page go live" and after that there is " Published" when the status is moved to "page go live" the issue will be assigned to content editor and then the content editor will manually change the status to " published"

But when it is assigned to content editor It was not showing on the dashboards of content editor and the tasks count was not updating on the **Assigned to Me** column on the Dashboard.


Answers:
author: Walter Buggenhout
body: Hi [@shivani shirguppi](/t5/user/viewprofilepage/user-id/5241115),

Dashboards are created using gadgets with JQL filters behind them to display a selection of issues. To find out why the issue does not appear in the dashboard of the content editor, you'll need to check the filter behind the gadget and see why your issue does not match the selection.

From your description, it seems that in this specific case both dashboards / gadgets are looking at the assignee field, but with the same status. Either there is something wrong with the filter behind these gadgets OR - for some reason - the assignee was not updated on the transition to the *page go live status*.

So, to give you an action plan:

* check the current assignee on the issue and make sure it is set to the content editor;
* check the JQL filters behind both dashboard gadgets to make sure they are correct

And finally: dashboard gadgets don't refresh immediately. They may be configured to be refreshed every x minutes, but they don't respond immediately. You may need to refresh your screen to see the updates reflected on the dashboard.

Hope this helps!


Tags: cloud

jira-service-management

jira-service-management-cloud
Ticket from an email
Asked by Pablo Mar?n:

Hello, good morning everyone. I have an issue that I can't solve. In Jira Service Management, when a client creates a ticket from an email, and an agent marks it as "waiting," if the client wants to add new information by replying to the initial email, none of the new information is added to the ticket. How could I fix this? Thank you.


Answers:
author: Walter Buggenhout
body: Hi [@Pablo Mar?n](/t5/user/viewprofilepage/user-id/5260587),

Can you be more specific about your expectations? In a normal flow, when JSM receives an email and turns it into a ticket, a confirmation email is sent out with a reference to the ticket number. When your customer replies to that reply from JSM, you should see replies being added as comments to the ticket.

I am however getting the impression that you expect an email conversation that goes on from the very first email to end in the JSM ticket. That is not how it works, I'm afraid.

Hope this helps!

comments: author: Pablo Mar?n
body: Thanks Walter for your fast response. So, is it an issue that Jira doesn't incorporate new information as a comment when replying to the initial message thread?


author: Walter Buggenhout
body: Once a ticket is created, Jira adds a reference to that ticket to the metadata of the email thread, which it then references to identify other incoming emails as related to that ticket. Since your initial email was sent before a ticket was created, there is obviously no reference to the ticket for Jira to work with.


author: Pablo Mar?n
body: Thank you Walter, with this information I have modified some aspects, and everything seems to be working now. Greetings from Spain!


Tags: cloud

jira-service-management

jira-service-management-cloud
Finding the Atlassian market plugins compatibility with respect to Jira version
Asked by Sandesh TM:

We are upgrading the Jira Application from 8.5 to 9.12, how can we identify the required version of Atlassian market plugins. Where can we find the Atlassian market plugins compatibility with respect to Jira version.


Answers:
author: Kishan Sharma
body: Hi [@Sandesh TM](/t5/user/viewprofilepage/user-id/5305975)

You will need to visit individual apps page on the [Atlassian Marketplace](https://marketplace.atlassian.com/) and check versions tab to find out the the apps compatibility with the Jira version.

Example -

![2024-04-01 15_01_50-ScriptRunner for Jira _ Atlassian Marketplace.png](https://community.atlassian.com/t5/image/serverpage/image-id/315504iB3E5E1EA1DE2E999/image-size/large?v=v2&px=999 "2024-04-01 15_01_50-ScriptRunner for Jira _ Atlassian Marketplace.png")


author: Sreenivasaraju P
body: Hi [@Sandesh TM](/t5/user/viewprofilepage/user-id/5305975) ,

You can find the version history of the respective app in the marketplace.

ex: for script runner. similarly you can find for other apps which you/your team using.

<https://marketplace.atlassian.com/apps/6820/scriptrunner-for-jira/version-history>


Tags: jira-service-management

unknown-hosting-type
Delete Categories in Work Management
Asked by Ryan Hinz:

I do not see a way for Categories to be fully deleted from Jira. I deleted some from my Work Management project, but they still show up when I group by Categories.

Can I or Atlassian remove the unused categories on the backend?


Answers:
author: Ste Wright
body: Hi [@Ryan Hinz](/t5/user/viewprofilepage/user-id/1161668)

I've seen other mentions of similar issues over the past few days for categories.

I would report this to Atlassian Support as a potential bug - you can do so from here: <https://support.atlassian.com/contact/#>

Ste


author: Craig Otten
body: The only way I found to remove categories in work management was to expose the Category field in the list view, edit the category on an existing issue and then click on the trash can on the item I wanted to remove as an option. Jira doesn't fully remove it from the dropdown as it just disables it. Should be what you are looking for.

You can also edit the existing categories there too if you want to change the name.

If you need to edit all existing tickets that are set to the category value you are removing, I recommend using the bulk change tool.

![Screenshot 2024-08-20 091803.png](https://community.atlassian.com/t5/image/serverpage/image-id/342727iBF79991C7B180924/image-size/large?v=v2&px=999 "Screenshot 2024-08-20 091803.png")


author: Erich Heerdt
body: This is a problem in my boards as well and is very confusing for users. I'm trying to just rename them so people know they aren't a real category (we use group by category extensively).


author: Hannes Obweger - JXL for Jira
body: Hi [@Ryan Hinz](/t5/user/viewprofilepage/user-id/1161668)

This has been reported also by others - see e.g. [this thread](https://community.atlassian.com/t5/Jira-Work-Management-Discussions/List-View-grouping-by-non-category-options/td-p/2654151) - so it indeed seems like a recent change. You may want to reach out to Atlassian Support about it.

Best,

Hannes


author: Nikola Perisic
body: Hello [@Ryan Hinz](/t5/user/viewprofilepage/user-id/1161668)

This sounds more like a temporary bug. Have you deleted your cache and also tried using the another browser?

comments: author: Ryan Hinz
body: Thanks. I tried a different browser I never use and I still see the deleted categories when I group by in list view. I do not see them on the drop down list when I select categories. I hope it is a bug that Atlassian will fix soon.


author: Nikola Perisic
body: When something like that is happening and the expected behaviour is for the categories to be deleted right away, and they do still appear, this clearly indicates that this is a bug.

As [@Ste Wright](/t5/user/viewprofilepage/user-id/1166470) , you'd need to raise a ticket for Atlassian to ask for more information.


Tags: cloud

jira-service-management-cloud

jira-work-management-cloud
Jira/JSM Shift extension
Asked by Luis Andino Rodriguez:

Im looking for an extension that allows me to select work days for auto assigning. Does anyone know an extension like it? I would like to be able to select the days individuals work to be able to auto assign or not auto assign to a specific individual.


Answers:
author: Ste Wright
body: Hi [@Luis Andino Rodriguez](/t5/user/viewprofilepage/user-id/5437614)

There are options on the Marketplace you could check out...

* [Shifto : Shift Roster](https://marketplace.atlassian.com/apps/1224541/shifto-shift-roster?hosting=cloud&tab=overview)
* [Agent Schedule Lite](https://marketplace.atlassian.com/apps/1229667/agent-schedule-lite?hosting=cloud&tab=overview)
* [Round Robin Assignment with Shift Roster](https://marketplace.atlassian.com/apps/1232129/round-robin-assignment-with-shift-roster-for-jira-jsm?hosting=cloud&tab=overview)
* ...or another App from the [Marketplace](https://marketplace.atlassian.com/search?hosting=cloud&product=jira-service-management&query=shift)

---

You might also be able to do this natively if you prefer (with some additional setup).

You could use [Automation](https://support.atlassian.com/cloud-automation/docs/jira-cloud-automation/) to...

* Check created issues
* Use IF/ELSE conditions, based on days (and times) an issue is created to then...
* Assign the issues to users who are "on call", based on each combination

You can use the "Assign Issue" action to assign users from a defined list - and this can be random, balanced, or round robin.

---

Let us know your thoughts!

If the Automation rule is of interest, and you need more specific instructions to set this up, provide us some examples of shift/user combinations, and we'd be happy to help :)

Ste


author: Joseph Chung Yin
body: [@Luis Andino Rodriguez](/t5/user/viewprofilepage/user-id/5437614) -

As [@Ste Wright](/t5/user/viewprofilepage/user-id/1166470) suggested, third party add-ons may be able to achieve what you are asking. However, you can setup Automation rules to customize the issues assignments, but we will need further information to offer our possible designs.

Here is the link reference for Automation for Jira - <https://support.atlassian.com/cloud-automation/docs/jira-cloud-automation/>

NOTE - Please also consider that once the automation rules are defined/setup, you will still need to adjust the criteria for those rules to incorporate the each agent's schedule changes manually.

Hope this also helps.

Best, Joseph Chung Yin

Jira/JSM Functional Lead, Global Technology Applications Team

Viasat Inc.


Tags: cloud

jira

jira-service-management

jira-service-management-cloud
What is the JQL for Service Desk Team Shift Wise
Asked by Maeneth:

Hi,

I wanted to create a Filter for every Shift. There are 3 Shift i a day as below.

Shift 1 = from 5:00 AM to 9:00 AM

Shift 2 = From 9:00 AM to 6:00 PM

Shift 3 = From 6:00 PM to 10:00 PM

Purpose of this filter is I wanted to create a Dashboard of how many issues coming on every shift, Issue types, priority, SLA and status.

can someone help me on this?

Thank you,


Answers:
author: Ste Wright
body: Hi [@Maeneth](/t5/user/viewprofilepage/user-id/5065202)

I assume these would need to be dynamic (i.e per day, based on that day)?

You could try using startOfDay() and endOfDay(), and use hour parameters to find the issues created at certain times?

These should look like this...

Shift 1 = from 5:00 AM to 9:00 AM

* created \>= startOfDay(5h) and created \< startOfDay(9h)

Shift 2 = From 9:00 AM to 6:00 PM

* created \>= startOfDay(9h) and created \< startOfDay(18h)

Shift 3 = From 6:00 PM to 10:00 PM

* created \>= startOfDay(18h) and created \< endOfDay(22h)

**Note:**I've assumed that the shifts end before the next shift starts, i.e Shift 1 ends at 8:59am if Shift 2 starts at 9am. Otherwise there will be issues appearing in two Shift queries.

Ste


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

I agreed with [@Ste Wright](/t5/user/viewprofilepage/user-id/1166470) suggested. By using the out of box "startOfDay()" and "endOfDay()" JQL functions, you should be able to obtain what you wanted. However this is focusing the day, which means that the results from the query will change automatically for each day and a dashboard.

Out of the box, if you are trying to get a historical trend reporting, you can export the search results using (i.e. startOfMonth() and endOfMonth() etc..) into Excel and generate your reports.

Otherwise, you will need a third party add-ons where you can search for in Atlassian Marketplace - [https://marketplace.atlassian.com/search?hosting=cloud\&product=jira-service-management\&query=report](https://marketplace.atlassian.com/search?hosting=cloud&product=jira-service-management&query=report) to give you the enhanced reporting needs.

Hope this also helps.

Best, Joseph Chung Yin

Jira/JSM Functional Lead, Global Technology Applications Team

Viasat Inc.


Tags: cloud

jira-service-management

jira-service-management-cloud
Can Custom Fields on Forms be Cut Down Based on Previous Choices?
Asked by Calvin:

Hi all, basically I have 2 form things I'm hoping to do:

1. Say I have a field A with items \[a1, a2, a3, a4\]. I think want \[a1\] and \[a2\] to then show a new field B to display \[b1, b2, b3\]. And I want a3 and a4 to display another field to show \[b1, b2, b3, b4, b5\]. Is this possible in JSM forms? And when I save it, to save all into the Field B? Please note I want them all to save into field B for atlassian analytics to pick up a single field.
2. Is it possible for JSM forms to AND with 2 conditional fields. and OR with a field?

Cheers!


Answers:
author: Ste Wright
body: Hi [@Calvin](/t5/user/viewprofilepage/user-id/4851947)

You can have two conditional sections based on one "master" field and different options selected - but you'd need two separate fields within the conditional sections as you can't re-use a field twice on one Form.

If the field is linked to a Jira field, it will also show *all*options in the field, not just a selection.

---

You could...

* Have 2 fields for "Field B"
* Link the Form field with all Field B's options to the main field
* Use the other field for the condensed selection
* Use Automation after each ticket is created to move the options selected from the additional field into the main "Field B", as required

---

Let us know your thoughts :)

Ste

comments: author: Calvin
body: Thanks mate, I was hoping there may be some other way, but your answer really helped sink in that this is likely the best solution. Super appreciate it! Have implemented it and it works well :).


Tags: cloud

jira-service-management

jira-service-management-cloud