youngmon/atlassian-qna huggingface dataset:
Webhooks in Bamboo?
Asked by Ravi Varanasi:

Is there a way to configure a webhook in hosted bamboo server?

Curren needs are to know about when a

* Build is completed
  * Status (success or failure)
  * Artifact Generated  

    <br />


Answers:
author: Curtis
body: As of [Bamboo 7.1](https://confluence.atlassian.com/bamboo/bamboo-7-1-release-notes-1013854809.html), it now supports webhooks, that can be used with either builds or deployments, same as emails or Hipchat.


author: Steffen Opel _Utoolity_
body: Unfortunately Bamboo still does not offer webhooks as of today, please vote/watch/comment on the resp. feature request <https://jira.atlassian.com/browse/BAM-14321> to raise awareness for this surprising limitation (given webhooks are meanwhile first class features and powerful extension points in [JIRA](https://confluence.atlassian.com/display/JIRA/Managing+Webhooks) and [Bitbucket Server](https://confluence.atlassian.com/bitbucketserver/post-service-webhook-for-bitbucket-server-776640367.html) for example, and have recently seen significant improvements in [Bitbucket Cloud](https://blog.bitbucket.org/2015/06/24/the-new-bitbucket-webhooks/) as well).
How do I include custom jars in my maven build on bamboo cloud?
Asked by Zung Nguyen:

I have a maven build job on Bamboo Cloud. I have some custom jars that I normally put in my local m2 repository. How can I put these jar files on bamboo so that my EC2 agents can find them when doing the build?


Answers:
author: Alexey Chystoprudov
body: Hello @Zung Nguyen,

I think that you need additional Maven task to install library to local repo. See sample at <http://stackoverflow.com/questions/4955635/how-to-add-local-jar-files-in-maven-project>. These libraries can be part of your source code repository or downloaded by wget or curl command. This task should be before your current Maven build task.


Tags: maven
Bamboo always sends notification for an old build instead of the common one - how to fix that?
Asked by Kai:

Every time sources were committed with subversion, bamboo checks that out, runs through all steps configured an sends a notification email that tells whether everything was fine or errors occured.

But in the earlier past not the notification for the last build is being sent, but for an older build - every time one build number more )so the differnece is about 12 numbers everytime).

I think, any counter has not been updated correctly in the past. Where is the place to compare / fix that data, so that i'll receive the common nitification instead of one from an older built


Answers:
author: Bruno Rosa
body: Kai, this is indeed an unusual behavior. I've seen a similar problem in the past. Back then, it turned out to be an old Bamboo installation that got up after a server restart, so they had two Bamboo instances running in parallel (at the same time) and every time a user triggered a commit, the build plan in both Bamboo instances were getting executed and were firing off notifications. The funny thing is that the symptom is similar to yours. Since the old installation got stuck in time (because it was down), when it got up it was notifying users about builds from more than a month ago e.g. #150 whilst the new installation was sending notifications about build #200.

In any case, it's always a good idea to clear the caches and restart Bamboo, just to make sure those emails are not backlogged somewhere.

1. Stop Bamboo.
2. Remove the **content** of the following folders inside the \<bamboo-home\> directory:
   * caches
   * index
   * jms-store
   * temp
3. Start Bamboo.

If that doesn't help, I'd recommend you to contact support at [support.atlassian.com](http://support.atlassian.com) to get help because there's definitely something going on here.
maximum number of branches in Bamboo
Asked by Jewel Francis:

Hi Team,

There is an option in Bamboo to automatically manage the branches in Bamboo. But what is the maximum number of branches that can be managed like this? Also can you give me a number for Stash branches as well?

Thank you !!


Answers:
author: Jobin Kuruvilla [Adaptavist]
body: There is no such limit as far as I am aware. But it will be a little painful once you have hundreds.

Latest version of Bamboo has an option to delete the plans after 'N' number of inactive days or based on deletion of respective feature branches in Stash. I would use these to reduce the total number to make it easier for users.

comments: author: Jewel Francis
body: Thanks Jobin. I know that in Of course, in Stash also we can include branches. So, is there a limit for that number as well?Warm Regards,-Jewel


author: Jobin Kuruvilla [Adaptavist]
body: There is no hard limit in Stash either!


author: Jewel Francis
body: Thank you !!!! :)


Tags: bamboo-administration
Automation of exporting CMDB data
Asked by Wayne_Reilly:

Is it possible to automatically export data from the CMDB, then email, and schedule this nightly once created?


Answers:
author: Eugenio Onofre
body: Hi [@Wayne_Reilly](/t5/user/viewprofilepage/user-id/4779485)

I assume you are referring to the "Atlassian Assets" schemas, correct?  
There is no default way to have it exported and scheduled.

I would suggest creating a report using Atlassian Analytics, which is a powerful BI tool and allows you to create customized reports and send them over on a scheduled basis.

Please do not forget to accept this answer in case it helps resolve your issue as it may also help other members from the community in the future.

Regards,  
Eugenio


Tags: cloud

jira-service-management

jira-service-management-cloud
How do you set a value in an asset field on create?
Asked by Jimi Wikman:

I am trying to figure out how I can set a value to a custom assets field on Cloud.

In the example I am trying now, I want to fetch a customer from Assets by matching the Reporter. In DataCenter you can use the Assets Post function and simply set the value using object having inR("Jira user" = ${reporter.name}) in the first transition of the workflow, but since cloud does not have asset post functions, how do you do it in Cloud?

I have ScriptRunner, which I assume is the next best thing, but I am unsure how to script this with ScriptRunner...

So, anyone know how to do it and are willing to share?


Answers:
author: Mikael Sandberg
body: I don't know how to do it in scriptrunner, but one option would be to use automation to set the asset field, something like this:

![Screenshot 2023-12-21 at 12.53.21?PM.png](https://community.atlassian.com/t5/image/serverpage/image-id/297848i64F3354AD5FF2AF2/image-dimensions/420x294?v=v2 "Screenshot 2023-12-21 at 12.53.21?PM.png")

It is using the edit issue component and since you are selecting an Asset field all you have to do is enter the AQL in it to get the object.

comments: author: Jimi Wikman
body: Thank you Mikael, I will try that and see if that works.


Tags: insight

jira-service-management

jira-service-management-cloud
Major Incident indicator
Asked by Kim Euker:

Can someone please tell me what creates this indicator on the form?

![2023-12-21_15-02-40-0000.png](/t5/image/serverpage/image-id/297851iA1A9E373736C4642/image-size/large?v=v2&px=999 "2023-12-21_15-02-40-0000.png")


Answers:
author: Kim Euker
body: The switch indicates whether or not the ticket is a major incident, but the label at the top of the screen is only available when the Incident Management features are turned on.


author: Eugenio Onofre
body: Hi [@Kim Euker](/t5/user/viewprofilepage/user-id/5129431)

There is a field on the incident screen called "Major Incident". This field works as a flag and, once enabled, adds the tag to the top of the incident screen.

![Screen Shot 2023-12-21 at 18.23.33.png](https://community.atlassian.com/t5/image/serverpage/image-id/297854i23BA75FBF5024756/image-size/large?v=v2&px=999 "Screen Shot 2023-12-21 at 18.23.33.png")

Make sure to add this field to your Incident Edit screen.

Regards,  
Eugenio


Tags: cloud

jira-service-management

jira-service-management-cloud
Not able to Link issue from JIRA Software(Cloud) to JIRA Service Management(cloud)
Asked by S Jena:

Both available in same instance - xxxx.atlassian.net/jira/software/ and xxxx.atlassian.net/jira//servicedesk/

I have selected the linked issue tab \& click on create a linked issue, but its showing me below error

**Error** - "Changes saved, but Issue not visible - For an issue to be visible, it must match your project and filters, and have a status that's assigned to the board."

Please help me with the steps of linking issues from JIRA Software to Jira Service Management and vice versa.

Thanks

Swopna


Answers:
author: Eugenio Onofre
body: Hi [@S Jena](/t5/user/viewprofilepage/user-id/5288802)

Where are you seeing this issue? Is this when linking the issues itself or on a filter/dashboard?

In case it is when linking, suggest you check both project screen schemes have the "issue linking" configured on the view screens.

Regards,  
Eugenio


Tags: cloud

jira-service-management

jira-service-management-cloud
Smart value to compare custom field list with a value and choose accordingly
Asked by Jamie Gordon:

I have an automation rule that does the following:

--Call a web service and get a payload

--Create a lookup table and extract values from the payload into keys

--Creates an issue and populate fields with the values from the Lookup table

I have a value incoming in that needs mapping into a single Select list field. The field is "Specialty" (customfield_15698).  

I'm trying to write a smart value that iterates over the list of the select list and compare with the incoming value. If the value matches an item in the list, use it. If no match, then use the last value (or a specific value) in the list.

Here's my smart value. It doesn't seem to be working. I'm I using the right approach here?

BTW - The incoming key/value is {{invoiceWorkerapp.Specialty}}

```
{{if{{equals({{#issue.customfield_15698.value}}, {{invoiceWorkerapp.Specialty}}{{/}}), {{invoiceWorkerapp.Specialty}}, {{issue.customfield_15698.last.value}}}}}}
```

If I can get a few more eyes on this, I'd really appreciate it. I've stared at this way too long. ;-)

Thanks

Jamie


Answers:
author: Eugenio Onofre
body: Hi [@Jamie Gordon](/t5/user/viewprofilepage/user-id/5012368)

Are you looking to add the values from the list to an existing select list field? If yes, I would suggest using the Fields API and having your automation calling the webhook as an action.

Please let me know if any additional information is available so I can try to assist you better.

Thanks!

comments: author: Jamie Gordon
body: No. The Select list has static values (over 400). Occasionally the web service will provide a value that is not on that list. When the provided value doesn't match one on the list, I want to map those values to 'Unknown'. This drives a manual business process to update the list.

Jamie


author: Jamie Gordon
body: Basically, additions to the list have to be curated by the business.


Tags: cloud

jira-service-management

jira-service-management-cloud
How can I have Start and finish date reflected in WBS Gantt chart?
Asked by Divya Saini:

If I enter start and finish dates in a task, it does not reflect in the WBS Gatt chart, I have to re-enter those dates un the chart, Which fields in the task can I use to populate start and finish dates in Gatt chart, I don't want to enter them twice.


Answers:
author: Raphael Nascimento [Ricksoft Inc.]
body: Hello [@Divya Saini](/t5/user/viewprofilepage/user-id/5391506) ??

Thank you for posting - Raphael from WBS Gantt-Chart support team here.

To mirror start and due dates between Jira and WBS Gantt-Chart, you'll need to map same Jira field on WBS Gantt-Chart settings. To do so, please refer to the following steps:

* Go to Jira top navigation menu ? Cog ?? icon
* Apps
* section WBS Gantt-Chart in left sidebar ? Issue
* Edit button on upper-right corner
* Map the Jira fields:
  * On Start date field, select **Start date**
  * On Finish date field, select **Due date![Screenshot 2023-12-22 at 15.44.34.png](https://community.atlassian.com/t5/image/serverpage/image-id/297983iE478B110D91C7230/image-size/large?v=v2&px=999 "Screenshot 2023-12-22 at 15.44.34.png")**
* Click on Update

From now on, the date values will be mirrored between Jira and WBS Gantt-Chart, Divya.

If you have any comments or questions, please feel more than free to share with us here or through our [support portal](https://ricksoft-support.atlassian.net/servicedesk/customer/portals) ?

Kind Regards,

Raphael N. \| Support Engineer   
Ricksoft Support Team


author: Eugenio Onofre
body: Hi [@Divya Saini](/t5/user/viewprofilepage/user-id/5391506)

WBS Gantt Chat is a plugin from Atlassian Marketplace.  
I would suggest reaching out to them directly so they can better assist your request:

<https://ricksoft-support.atlassian.net/servicedesk/customer/portal/3>

Please do not forget to accept this answer in case it helps you resolve your question so it can help other community members in the future.

Regards,  
Eugenio


Tags: addon-jp.ricksoft.plugins.wbsgantt-for-jira

cloud

jira-service-management

jira-service-management-cloud
Edit quick filters in board view service project
Asked by Mara Kaspers:

Is there a way to edit the quick filter options in the board view for my service project? I know how to do it for a software project but can't find an option for my service project.


Answers:
author: Eir?kur Baldur ?orsteinsson
body: [@Mara Kaspers](/t5/user/viewprofilepage/user-id/5244952) I noticed in our service project that it is now possible to edit quick filters. :-)

You access it via the three dots in the upper right corner of board view -\> Configure board -\> Quick filters.

comments: author: Mara Kaspers
body: Amazing!! It works :)


author: Mikael Sandberg
body: Currently it is not possible to edit quick filters on JSM boards, but there is a suggestion to add it, see [JSDCLOUD-13296](https://jira.atlassian.com/browse/JSDCLOUD-13296). I would recommend that you go and vote on it and follow it for updates.

comments: author: Mara Kaspers
body: Thanks Mikael, do you know if there is any way to customize the board view today? It seems there are no other options to group, filter, sort, etc. either


author: Mikael Sandberg
body: No, currently the only thing that can be configured is the columns and the column restraints, but I would assume that Atlassian will add more customizations in the future.


author: Eir?kur Baldur ?orsteinsson
body: This feature is already described on the documentation for JSM at [Create quick filters for your board \| Jira Service Management Cloud \| Atlassian Support](https://support.atlassian.com/jira-service-management-cloud/docs/create-quick-filters-for-your-board/).

Is it safe to assume, that it will be available soon?


author: Vismara Paolo
body: Is it possible to build a board that displays issues of different projects and have the project field among the filters?

thanks


Tags: cloud

jira-service-management

jira-service-management-cloud
Need to populate "Parent" with linked issue value
Asked by Dez-Luan:

I'm trying to automate an automatic copy when the hierarchy of a ticket is changed, specifically when the linked issue is updated to "Child Of" to set the "Parent" Epic value to the appropriate ID.

Hopefully, my screenshot illustrates it better:

When I link ST-28 (Child story) to ST-27 (Parent Epic) through JIRA's linking option, I want the Epic/ Parent auto-updated.

![automation.png](/t5/image/serverpage/image-id/297799iAC6EDB73159DD50A/image-size/large?v=v2&px=999 "automation.png")

Any ideas?


Answers:
author: Eugenio Onofre
body: Hello [@Dez-Luan](/t5/user/viewprofilepage/user-id/4533411) ,

Unfortunately, this is not possible.

Parent field is used to control tasks and sub-tasks relationship, which means hierarchy level. Epics are not considered parent-hierarchical related and hence you cannot populate this field.

Please do not forget to accept this response in case it helps solve your question as it may help other community members in the future.

Regards,  
Eugenio

comments: author: Dez-Luan
body: Hello [@Eugenio Onofre](/t5/user/viewprofilepage/user-id/4992586)

Thanks for your input; however, with a [recent change to Jira,](https://support.atlassian.com/jira-software-cloud/docs/upcoming-changes-epic-link-replaced-with-parent/)[the epic link is replaced by Parent. Thus making the epic-link a parent-link, ergo, hierarchical.](https://support.atlassian.com/jira-software-cloud/docs/upcoming-changes-epic-link-replaced-with-parent/)

When the Epic is manually linked, the Parent field is updated correctly (1).![attach3.png](https://community.atlassian.com/t5/image/serverpage/image-id/297947iDB9B30D52FB169C2/image-size/large?v=v2&px=999 "attach3.png")

I want to omit the need to manually update if it's already linked as a "Child of" (2)


Tags: automation

cloud

epic

hierarchy

jira-service-management

jira-service-management-cloud
How to create filters for Asset data?
Asked by Frank Robb:

Looking for some assistance on creating filters for Asset data. Since Assets are not a Project, unable to identify how to pull this data from a filter.


Answers:
author: Alessandro Cuccaro [ServiceRocket]
body: Hello [@Frank Robb](/t5/user/viewprofilepage/user-id/5384079)  

Please tell us what kind of filters you are trying to create, so I am able to help you!  

Also, did you know there is a free plugin from Atlassian, called "Assets Discovery"?  

With Atlassian's Assets Discovery you can detect your assets and CIs on your enterprise network and the dependencies between them. This gives you the context you need to make the right decisions, fast. You can find more information [here!](https://lunchandlearnjsmdemonstration1dqbiuf715.atlassian.net/jira/marketplace/discover/app/com.riadalabs.jira.plugins.insight-discovery?source=apps-menu&installDialogOpen=true)


Tags: cloud

jira-service-management

jira-service-management-cloud
How do I turn on automation rules based on time and date?
Asked by Katherine Stevens:

I've set up an automation rule that if the assignee is on PTO then the ticket will go to unassigned. However, I'm not always around to turn on these automation rules. We aren't going to allow another Jira Admin in our system.

Is there a way to turn on/off automation rules based on a time/date?

Example: Turn on Automation Rule 1 on Friday and turn it off on Tuesday.

Thanks!


Answers:
author: Dan Breyen
body: Hi Katherine, you can schedule the Automation to run every day, and then just turn it off when you're back. Or, just leave it on every day, and then you shouldn't have to monitor it.

I don't use Cron, but that might also offer you some flexibility.

You can select 'Scheduled' for the 'When' part of your Automation.

Based on this article, you can put rules into your Automation to perform the specific action at a specific time, and leave the full Automation turned on. [How-to-turn-rule-on-and-off-at-specific-dates](https://community.atlassian.com/t5/Jira-Content-Archive-questions/How-to-turn-rule-on-and-off-at-specific-dates/qaq-p/2273511)

Hope that Helps


author: Joseph Chung Yin
body: [@Katherine Stevens](/t5/user/viewprofilepage/user-id/2086662) -

Hi Katherine:

In this case you need to change your rule to trigger off from "Scheduled" event to control when the rule to be executed with a time specifications.

![2023-12-21_8-20-57.png](https://community.atlassian.com/t5/image/serverpage/image-id/297795iBF1D35F76A8516DF/image-size/large?v=v2&px=999 "2023-12-21_8-20-57.png")

You can also click on the Advanced tab by providing the scheduling setup via CRON expression too.

Hope this helps.

Best, Joseph Chung Yin

Jira/JSM Functional Lead, Global Technology Applications Team

Viasat Inc.


author: Katherine Stevens
body: The rule is trigged based on an issue being commented on. So, How can I have 2 "when" statements in the automation rule.  

I

comments: author: Joseph Chung Yin
body: [@Katherine Stevens](/t5/user/viewprofilepage/user-id/2086662) -

You will need to change the your testing for issue commented as a condition instead of the triggering event of your automation rule.

Example - testing out using the following smart value in your condition -

```
{{issue.comments.last.created}}
```

to pick up the issues last commented date comparison.

Best, Joseph


Tags: cloud

jira-service-management

jira-service-management-cloud
ScriptRunner: Changing Reporter Leaves User as Anonymous
Asked by Marcelo Ulloa:

Good afternoon, currently, I have a ScriptRunner script in Jira Cloud that, every time an issue is created, changes the reporter. However, after making the change, the reporter remains anonymous. I have tried, but I cannot get the specified user to be reflected.

```
import org.slf4j.LoggerFactory

def logger = LoggerFactory.getLogger(this.class)


def updateResponse = put("/rest/api/2/issue/${issue.key}")
       .header("Content-Type", "application/json")
       .body([
          fields: [
            reporter: [
              name: "ID-User"
            ]
          ]
       ])
       .asString()

assert updateResponse.status == 204

logger.info("El ticket ${issue.key}. Se le actualizo el informador")
```

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

Is there any way to use a script to change the reporter and have the specified user appear instead of remaining anonymous?


Answers:
author: Giovanni Melai
body: Hi [@Marcelo Ulloa](/t5/user/viewprofilepage/user-id/5061352) ,

it seems to be an issue with the body of the request, it should be something like this:

```
fields: {
    reporter: { 
        id: "1234567890" 
    }
}
```

I hope this helps


author: Joseph Chung Yin
body: [@Marcelo Ulloa](/t5/user/viewprofilepage/user-id/5061352) -

Question for you, does the value you included in your "name: "ID-User" " pair an actual user (customer account" in your JSM site?

Please advise.

Lastly, take a look at this previous answered question posting in the community which it may assist with your issue - <https://community.atlassian.com/t5/Jira-Software-questions/Scriptrunner-cannot-update-reporter/qaq-p/2519487>

Hope this helps.

Best, Joseph Chung Yin

Jira/JSM Functional Lead, Global Technology Applications Team

Viasat Inc.


Tags: cloud

jira-service-management

jira-service-management-cloud
Jira Service Management Knowledgebase as a replacement for Confluence?
Asked by Roblox Foxxx:

Hi,

I'm in a medium-sized company and have been tasked with implementing Jira Service Management. We are already using Confluence as a Wiki site within the organization with contributions from all departments on different kinds of topics.

Can the Jira Service Management knowledgebase replace Confluence once it's set up or will we still need a Wiki site for general company information?

If we keep using Confluence as a Wiki site, can you keep articles that are unrelated to troubleshooting (e.g., monthly newsletter) from appearing in the help article search?

Would appreciate your advice.


Answers:
author: Robert Wen_ReleaseTEAM_
body: Hello [@Roblox Foxxx](/t5/user/viewprofilepage/user-id/5385774) ! Welcome to the Atlassian Community!

The truth is, a JSM knowledgebase uses Confluence for its storage. You can select which spaces and pages are seen by JSM for the knowledge base.

JSM Agents can use their JSM licenses to view and edit knowledge base pages (stored in Confluence) from JSM. JSM customers can view knowledge base pages from JSM without a Confluence license.

comments: author: Roblox Foxxx
body: Hi Robert, thanks, that clarifies the question for me!


Tags: confluence

data-center

jira-service-management