youngmon/atlassian-qna huggingface dataset:
Bamboo specs getting 401 on webhook
Asked by Sander Cornelissen:

I'm trying to get Gitlab working with Bamboo Specs on Bamboo 6.5. I have created a linked repository with Bamboo specs enabled. From Bamboo I received a 'scan' URL, which I inserted in Gitlab Intergrations.

Whenever the hook is hit, I get te following response:

```
{"message":"You do not have sufficient read permissions","status-code":401}
```

The push from Gitlab has no credentials, only the URL in format:

https://\<bamboo server\>/rest/api/latest/repository/scan?repositoryId=\<id\>


Answers:
author: Gabriel Ribeiro
body: Hi [@Sander Cornelissen](/t5/user/viewprofilepage/user-id/599103),

I tested the solution proposed by [@Siddhant Gogri](/t5/user/viewprofilepage/user-id/741159) and it true, if you're not allowing anonymous users to access Bamboo, the RSS will not be triggered.

As I'm pretty sure this is not the expected behavior, I've raised a bug report:

* [BAM-19874 - Repository stored specs endpoint only works if anonymous users have access to Bamboo](https://jira.atlassian.com/browse/BAM-19874)

Please be sure to watch it, so that you are notified when this is fixed in a future release.

Thank you guys for reporting this.


author: Siddhant Gogri
body: Even I faced the same issue with Bamboo 6.5 and Github.

Since my dev bamboo is internally hosted, I enabled anonymous access and I could go pass that error.


author: Gabriel Ribeiro
body: Hi Sander,

Could you please double check if the repository has access to the project you're trying to edit? You can check this in the repository configuration\>Bamboo specs tab.

If you want to grant access to a build project, please follow the steps below:

> ##### To add a Build project: {#toc-hId-1206535752}
>
> 1. From the Bamboo header, click **Projects**.
> 2. Click your project.
> 3. In the top-right corner, click **Project settings**.
> 4. In the sidebar, click **Bamboo Specs repositories**.
> 5. Select your repository and click **Add**.

More details can be found at the [Enabling repository-stored Bamboo Specs](https://confluence.atlassian.com/bamboo/enabling-repository-stored-bamboo-specs-938641941.html) page

Thanks.

comments: author: Sander Cornelissen
body: Hi,

I have checked the steps you described; the repository is for the project an allowed Bamboo Specs repository. The repository is listed in the Bamboo Specs repositories under the project I had written the Bamboo YAML spec for.

But should it work only with that URL? For example, doing a curl -XPOST with that URL from Bamboo should normally work? When I do that with curl I received the same error.

The project I have described in Bamboo spacs exist, but the plan does not exist, is that correct?


author: Gabriel Ribeiro
body: Hi Sander,

Yes, running curl -x https://\<bamboo server\>/rest/api/latest/repository/scan?repositoryId=\<id\> should trigger the change detection in Bamboo.

Did you check if bamboo is throwing any error in the logs?

Yes, the project doesn't need to exist in Bamboo, only the project.

thanks


Tags: spec

webhook
Cannot open file from bamboo but works on the server
Asked by Some Guy:

Hello,

I'm making a build plan that consists so far of a build plan that launches a jmeter test. But i encounter a problem where the command works when i test it directly on the server, but it doesn't work when i test from bamboo.

It says that it cannot open a certain file, that file is on another server. Once again if i execute the same command int the server's cmd it works...

The command:

```
?C:/Jmeter/apache-jmeter-3.3/bin/jmeter.bat -J jmeter.save.saveservice.output_format=xml -n -t H:/test/restTest.jmx -l? C:/UserTemp/result.jtl
```

On Bamboo this command outputs:

```
 Could not open H:/test/restTest.jmx
```

And if i try directly on the server the test passes with an OK status.

I tried stopping bamboo and starting it with "Run As Administrator" but i got the same result could no open.

On the other server i've set that file to full control for everyone and same result from bamboo.

Am i missing something?


Answers:
author: Gabriel Ribeiro
body: Hi Some Guy,

I'm assuming the **H:** is a mapped network drive. It looks like this drive is not available for the user you're using to start Bamboo or the remote agent.

Have you tried adding a script task right before this task to mount the **H:** drive during the build execution? It should be something like this:

```
net use H: \\<SERVER NAME>\<share name>
```

thanks.

comments: author: Some Guy
body: This worked. Thanks!

I needed a if exist aswell or the second run will trigger an error.
how to get the existing deployment project bamboo specs using an API?
Asked by bhrthdsra1:

Hi Team,

Is there anyway to get the java bamboo specs i mean export the bamboo specs using an API or any script?


Answers:
author: Gabriel Ribeiro
body: Hi BharathKumar

Bamboo currently does not have any REST endpoint to get the specs code from a plan. As an option, you can retrieve the content of the http*://\<bamboo_URL\>/exportSpecs/plan.action?buildKey=PROJ-PLAN* page and parse it using a python script for example to get only the java code.

Thanks.


Tags: spec
Script configuration does not have "Interpreter" dropdown
Asked by AmanJB:

In Bamaboo, I am creating a plan. In that plan I am creating a job, a script type.

In the script configuration, in "Interpreter" dropdown I want to select /bin/sh or cmd.exe. however I don't find "Interpreter" dropdown. Instead there is a check box "Run as Powershell script".

How can I select /bin/sh or cmd.exe. for my job.


Answers:
author: Christian Glockner
body: Hi Amanpreet,

Which version of Bamboo are you using?

Cheers,

Christian

Premier Support Engineer

Atlassian
How can I add bamboo-capabilities for Bash
Asked by lueeon:

what's the key for Bash in bamboo-capabilities bamboo-capabilities.properties?

I try use \`sysmte.builder.command.Bash=/bin/bash\` but is recognised as custom,

and my command task have no suitable agent to run my command.

There's no document for define bamboo-capabilities for Bash, only Node.js, Maven, Git etc.


Answers:
author: Gabriel Ribeiro
body: Hi [@lueeon](/t5/user/viewprofilepage/user-id/1281410)

Is there any specific reason you want to do that? This is usually specified in the "shebang" line of the script.

thanks.


Tags: agent
Duplicate request in servicedesk
Asked by Andrey Ivanov:

If the employee who responded to the request in correspondence on the service desk was not previously in the copy, his response to the letter turns into a new request and a duplicate of the current request is obtained instead of adding a comment to the current request


Answers:
author: Dan Breyen
body: Hi [@Andrey Ivanov](/t5/user/viewprofilepage/user-id/5459964) welcome to the community. I took a quick look at [Atlassian's Jira site](https://jira.atlassian.com/secure/Dashboard.jspa) and found[this issue](https://jira.atlassian.com/browse/JSDCLOUD-12369). It sounds like the issue you're getting. Feel free to vote for and watch it for updates.

I found this one too: [JSDCLOUD-13685](https://jira.atlassian.com/browse/JSDCLOUD-13685)


author: Andrey Ivanov
body: Hi [@Dan Breyen](/t5/user/viewprofilepage/user-id/5086375)

Thanks for the answer, but unfortunately this option will not help, maybe there is another solution to this problem? It occurs only from one user

I tried to find more similar situations but found nothing


Tags: cloud

duplicate

jira-service-management

jira-service-management-cloud
How to include participant and requesters in the same email
Asked by Miguel Encabo:

When a participant is included in the ticket and it is being replied actually there are two separate emails provided from jira, One to the requester and other to the participant. I need that both requester and participant are included in a single email in order to be able to escalate it.

How can this be done?


Answers:
author: Jack Brickey
body: Hi [@Miguel Encabo](/t5/user/viewprofilepage/user-id/5459829) , welcome to the community.

Which event are you referring to here? If you have request participants and the agent was to add a public comment, for example, then all parties would be notified. So I am unclear what you are referring to here regarding the same email. Can you explain what event is causing different emails to be sent? maybe there is some automation that is sending a separate email here?

comments: author: Miguel Encabo
body: The event is Reply to customer. When I use reply to customer and participant are included instead of include the participant in the mail provided by Jira it is creating two separate emails, one for the customer and other for the participant and in any case both of them are in the same email. I need that the customer and participant are included in the same email so later they can interact by their selves.


author: Miguel Encabo
body: To resume what I need is that when I reply to the customer the mail is send to: requester + the participants or SendTo: Requester CC to: participants


author: Jack Brickey
body: When the reply to customer is made an email is sent from Jira email handler to each participant. If any customer that receives that email replies to the email the all parties will be updated by another email as the reply will be a public comment. So all participants can interact via replies.


author: Miguel Encabo
body: And there is no way to include all them in a single email?


author: Jack Brickey
body: I think what you are asking for here is that all participants are displayed in the To or Cc fields. Is that correct? Assuming so then natively no that is not how Jira email handlers work. You could consider a third-party email handler which may produce that result. Keep in mind that a customer can use the portal to see who the issue is shared with.


Tags: cloud

jira-service-management

jira-service-management-cloud
Login error while we re-varify our account
Asked by EKCS JIRA:

We're unable to log you in to your Atlassian account with \<email address\> while we re-verify our account.

Error message states:
> We're unable to log you in to your Atlassian account with \<email address\>
>
> To continue, select **Try again**and use \<email address\>


Answers:
author: Ste Wright
body: Hi [@EKCS JIRA](/t5/user/viewprofilepage/user-id/5459797)

I've removed your email address, and the image showing your email address, from your question.

This is a public forum, so it's best to not print your personal information on the question!

I have replaced the image with the text on the error, but feel free to re-post the image with your email address blurred out.

---

As a starting point for this error, I'd check out these common login issues here: <https://support.atlassian.com/atlassian-account/docs/troubleshoot-login-issues-with-your-atlassian-account/>

Ste

comments: author: EKCS JIRA
body: Thanks for letting me know and taking steps to protect EKCS JIRA's privacy. It's important to be mindful of personal information in public forums.


author: Jack Brickey
body: Hi [@EKCS JIRA](/t5/user/viewprofilepage/user-id/5459797) , did you follow the directions in the message using alternate email? Can you reach out to your admin to assist? It is unlikely we can assist with your login here in the Community. If you are the Org admin and continue to have login issues please contact [Atlassian support](https://support.atlassian.com/contact/#/).


Tags: cloud

jira-service-management

jira-service-management-cloud
My SLA is not working
Asked by shivani shirguppi:

![Screenshot 2024-03-22 162610.png](https://community.atlassian.com/t5/image/serverpage/image-id/313796iB7B7626E971DB812/image-size/large?v=v2&px=999 "Screenshot 2024-03-22 162610.png")![Screenshot 2024-03-22 162556.png](https://community.atlassian.com/t5/image/serverpage/image-id/313797iD9FE922422479C89/image-size/large?v=v2&px=999 "Screenshot 2024-03-22 162556.png")


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

There is an error in your JQL in the second screenshot. It says:

```
Issuetype = "Net new page" AND Issuetype = "Update existing page"
```

That will never work as an issue type can only have one type. You should be able to solve this by replacing your filter with either of these options:

```
Issuetype = "Net new page" OR Issuetype = "Update existing page"
```

or:

```
Issuetype IN ("Net new page", "Update existing page")
```

Hope this helps!

comments: author: shivani shirguppi
body: Thank you [@Walter Buggenhout](/t5/user/viewprofilepage/user-id/783225)


author: Ste Wright
body: Hi [@shivani shirguppi](/t5/user/viewprofilepage/user-id/5241115)

What happens when an issue is created with this SLA?

And do the issues raised match the JQL you've entered - i.e a Net New page or Update Existing page? As only these issue types have a target, all other issues are currently listed as "no target" on the second screenshot so would be NULL.

Ste

comments: author: shivani shirguppi
body: [@Ste Wright](/t5/user/viewprofilepage/user-id/1166470) when the issue created it will be in 'Open' status and next status is 'Keyword Suggestion' I want to configure SLA where it should start counting in 'Open' status and stop when moved to 'Keyword suggestion' status. But the SLA is not starting the counting when issue is created or it is in open status


author: Ste Wright
body: Is the issue you created one of the 2 issue types I mentioned?

Ste


Tags: cloud

jira-service-management

jira-service-management-cloud
Field value for script
Asked by Krishna Malutummeda:

I have custom filed values A and B if I updated custom filed value A, Then C custom field value should be required while creating the issue how to write groovy script


Answers:
author: Jack Brickey
body: Hi [@Krishna Malutummeda](/t5/user/viewprofilepage/user-id/5402177) , you will need an addon app for this. If you have Scriptrunner you could use Behaviors feature. There are other addons for sure so check out Marketplace.

comments: author: Jack Brickey
body: I don't have an example set up in my current instance but would offer this example from Adaptivist - [make-field-required-when-another-field-selected](https://library.adaptavist.com/entity/make-field-required-when-another-field-selected?tab=cloud)


author: Jack Brickey
body: You can add to your library via the button provided too.


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

You can't do that natively. You will need an add-on app like ScriptRunner Behaviours.

comments: author: Jack Brickey
body: Great minds...


author: Krishna Malutummeda
body: I have ScriptRunner Behaviours.


author: John Funk
body: Show him what to do [@Jack Brickey](/t5/user/viewprofilepage/user-id/853369)


author: Krishna Malutummeda
body: could you please help me


author: Jack Brickey
body: [@Krishna Malutummeda](/t5/user/viewprofilepage/user-id/5402177) , please see the example link I posted.


Tags: cloud

jira-service-management

jira-service-management-cloud
What exactly triggers the "bell" notifications
Asked by Dirk Ronsmans:

On Jira/Confluence cloud you have the little bell notification icon in the top right corner.

I'm looking to find any official documentation on what exactly triggers if something appears there.

* Is this linked to the notifications scheme of a project?
* Is this a "hardcoded" list on the platform?

It seems there isn't really any official documentation about this so if anyone has a link to it or is sure of how it works, that would be appreciated!


Answers:
author: Dirk Ronsmans
body: [@Ste Wright](/t5/user/viewprofilepage/user-id/1166470) ,

So support got back to me and provided me with the following documentation and some more details:

<https://support.atlassian.com/confluence-cloud/docs/view-your-notifications/>
> The "bell" notifications, or the personal notification center, in Jira/Confluence Cloud, are not directly linked to a project's notification scheme. They're designed to give you a personal overview of updates related to the activities you're involved in, or watching, across all your projects and spaces.
>
> As of now, these notifications are hard-coded into the system, meaning that there isn't a specific configuration setting that allows you to directly control what appears in this notification center.
>
> However, indirectly, you can influence what appears in your personal notification center through your activities, watchlist, and the settings in your projects and spaces. For example, if you're watching an issue or a page, updates to it would appear in your bell notifications.
>
> Again, while you can't directly configure the notifications from the bell icon, you can manage the notifications you get by configuring your personal, project, and space settings.


author: Ste Wright
body: Hi [@Dirk Ronsmans](/t5/user/viewprofilepage/user-id/124602)

I found this feature request - [JSWCLOUD-20427](https://jira.atlassian.com/browse/JSWCLOUD-20427) - which lists a table of what the bell includes - which might be useful?

Ste

comments: author: Dirk Ronsmans
body: Hey [@Ste Wright](/t5/user/viewprofilepage/user-id/1166470) ,

I came across that table as well which makes me think it is:

* hardcoded
* not linked to notification schemes
* cannot be configured by admin/user

That's why I'm looking for some more official documentation :)

Might just need to raise it as a support call to get some internal docs


author: Ste Wright
body: Keen to find out now - let us know if Support provides something!

Ste


Tags: cloud

jira

jira-service-management

jira-service-management-cloud

notification
Are responders added to the participants when you create a team chat?
Asked by Maor Levinas:

Hi everyone,

My understanding is that when creating a team chat the responders should be replicated in the participants field, but I can't replicate this behaviour?

Is it working for you?

Kind regards,  
Maor


Answers:
author: Rebekka Heilmann _viadee_
body: Hi [@Maor Levinas](/t5/user/viewprofilepage/user-id/1277918)

Responders are managed in the Responders field. Participants should be for customers only. Participants are getting customer notifications and have access to the Request from the portal view. The field has nothing to do with Incident management to my understanding.

comments: author: Maor Levinas
body: Thanks [@Rebekka Heilmann _viadee_](/t5/user/viewprofilepage/user-id/5182395) for your answer but let me clarify this. This is not about the 'Request participants' field but the 'Participants' of the 'Create Teams chat or meeting' window.


author: Maor Levinas
body: ![image.png](https://community.atlassian.com/t5/image/serverpage/image-id/313887i86FA8883E1FC129A/image-size/large?v=v2&px=999 "image.png")


author: Rebekka Heilmann _viadee_
body: Ah right. Sorry, my mistake.

I've not got my testsite connected to teams so not sure what the expected behaviour is.


author: Maor Levinas
body: [@Rebekka Heilmann _viadee_](/t5/user/viewprofilepage/user-id/5182395) Thanks for checking anyway


Tags: cloud

jira-service-management

jira-service-management-cloud

ms-teams
User Licensing
Asked by Noa Waibel:

I have a question regarding User Licensing for our specific usecase. We want to use Jira Service Management to keep track of our tickets which are sent from our customers. We have 2 Levels of support in first level we rotate trough 5 people and in second level we have developers which are about 15-20 devs rotating every other day. If i understand correctly we would need to pay for about 20-25 licenses which is a lot of money each month and simply not worth it if most persons only need to use their account once a month. Please correct me if i am wrong and misunderstood something. Does anyone have a solution for this? What would be a good way to keep licensing cost down but still keep our workflow intact.


Answers:
author: Walter Buggenhout
body: Hi [@Noa Waibel](/t5/user/viewprofilepage/user-id/5455422) and welcome to the Community!

Just looking at the money you might spend is only one side of the coin; on the other side is the value you add to your team and your company: your customers in JSM don't pay a license - they are free users - you get an AI supported, first class and enterprise grade ITSM solution with tons of features that make your team and customer service shine.

But, having said that - you are right that an agent license in JSM is significantly more expensive than a user license in other Jira products.

It is generally accepted that bringing the dev teams directly to support is not cost-effective and often not good for the dev team's focus. In the spirit of *shift left*, your development teams can be brought into JSM without an agent license to collaborate on tickets in JSM. With the JSW license they already have, they can view tickets in JSM and collaborate on them through internal comments. As long as you let the direct interaction with the customers to your 1st line people, you can seamlessly collaborate this way.

In many organisations, automation is used to *escalate tickets to 2nd line* if necessary. In practice, that means automatically creating linked issues for the dev team, also automatically syncing statuses and/or comments between the dev and service tickets.

Hope this helps!

comments: author: Trudy Claspill
body: For reference, here's the link on JSM roles that talks about Collaborators.

<https://support.atlassian.com/jira-service-management-cloud/docs/what-are-user-types-and-roles/>


Tags: cloud

jira-service-management

jira-service-management-cloud
Whats is the UI name of the Customer portal navigation bar?
Asked by Markus W_ BENES:

Hi, does anyone know whats the UI name (fragment name) of the customer portal navigation bar? i only know  

servicedesk.portal.user.menu.actions

but this is of no use for me because i want to create a complete new button without using a third party plugin.  


Answers:
author: Nikola Perisic
body: Hello [@Markus W_ BENES](/t5/user/viewprofilepage/user-id/5273749)

I see that you are tying to develop a new button. To see if this is technical feasible, I'd suggest posting this question in our development community which can be found here: <https://community.developer.atlassian.com/c/jira/5>

comments: author: Markus W_ BENES
body: Thanks for the Info! :)


Tags: data-center

jira-service-management

jira-service-management-data-center