youngmon/atlassian-qna huggingface dataset:
Bamboo date output without a year
Asked by Torsten Stach:

Bamboo agent -\> recent activity

the column 'Completed' has no year infomation. Only : 'Fri, 17 Nov, 01:38 PM'

We need a complete date for parsing this value.


Answers:
author: Torsten Stach
body: I do not have access to the DB. I have access to the web frontend and the REST-api

comments: author: robhit
body: .


author: robhit
body: Hi Torsten,

The complete date along with year can be gathered from the column "BUILD_COMPLETED_DATE" of the table "BUILDRESULTSUMMARY".

Thanks
How do you get a github pull request to trigger a Bamboo build ?
Asked by Sudharshini:

I am trying to trigger a bamboo build whenever a pull request is opened. I have found few references , but looks like there is no solution to it. Has anybody got this working ?


Answers:
author: Justin hammond
body: I found a way thats pretty simple. The rest API of Bamboo allows you to specify the vcsBranch. So sending a PUT request to this Bamboo URL triggers a Bamboo to create a new branch and start a build:

```
/rest/api/latest/plan/OZW-PRTST/branch/' + pr + '.json?vcsBranch=refs/pull/' + pr + '/head'
```

Where "pr" is the Pull Request Number.

I have written a simple OpenFAAS function to take a GitHub Pull Request WebHook and Trigger Bamboo to build the PR here: <https://github.com/Fishwaldo/faas-bamboo-pr-trigger>

You will need to modify the hostname in bamboo-pr-trigger/handler.js and setup bamboo-username and bamboo-password secrets on your openFAAS server and combined with a updated bamboo-github-status addon it works nicely (see my fork here: <https://github.com/Fishwaldo/bamboo-github-status>

See here for a real life demo:

<https://github.com/OpenZWave/open-zwave/pull/1817>


author: Philip Colmer
body: I'm also looking for an answer ...

If your pull request is on the same repository, this article may help:

<https://medium.com/@danpurdy0/automated-testing-and-status-reporting-to-github-enterprise-slack-from-atlassian-bamboo-c02328d7211c>

However, if the pull requests are from a fork of the repository, that isn't sufficient. I've also found:

<https://blog.oyanglul.us/make%20bamboo%20support%20github%20pull%20request%20with%20status%20api>

but I haven't tried to implement it yet.


Tags: developer

github

pull-request
The mail settings you entered were not valid. Error thrown was: com.sun.mail.util.MailConnectExcepti
Asked by Manish Sharma:

Hi

No emails are getting triggered post build run. I tried entering my mail id under Mail server and go below error:

The mail settings you entered were not valid. Error thrown was: com.sun.mail.util.MailConnectException: Couldn't connect to host, port: smtp.office365.com, 587; timeout 20000; nested exception is: java.net.SocketTimeoutException: connect timed out

Followed following KB article but could not get specific solution:

<https://confluence.atlassian.com/adminjiraserver073/configuring-jira-s-smtp-mail-server-to-send-notifications-861253781.html>

Do let me know if I need to send other logs. Pls suggest.

Thanks

Manish


Answers:
author: robhit
body: Hi Manish,

Looking at your error, it seems like a connectivity issue or configuration issue to me because "connect timed out"

You can test the mail using the CMD or terminal by command "telnet"

For example:

```
telnet smtp.office365.com 587
```

See if you can establish the connectivity from the machine where bamboo is hosted.

Thanks

comments: author: Manish Sharma
body: Hi Robhit

Thanks for your reply.

Tried running a ping command on our AWS server and got successfully message.

ping smtp.office.365.com 587 \>\> It threw error that 587 is bad parameter

ping smtp.office.365.com 587 \>\> it successfully pinged.

Pls suggest

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


author: robhit
body: Hi Manish,

There is a difference between Ping and telnet.

In short:

Ping: check connection (knock on the door of the remote server).  

Telnet: gives access to the remote system if it is running telnet daemon.

And while using port 587 ping throws the error because it does not support that parameter.

Try executing the telnet command which I shared earlier. This will test the connectivity between your bamboo machine and the SMTP server if the port 587 which you are using is correct or open or not

Thanks


author: Manish Sharma
body: Hi Robhit

Unfortunately I am not unable to use Telnet as its not configured. However, I am reaching out to my server team to see if this port in question ( 587) is blocked or not. Thanks


author: robhit
body: Hi Manish,

Update me on this!

And we will see if we can help you here.

Thanks


author: Manish Sharma
body: Hi Robhit, With help of our IT team we were able to open port 587 and now mails are getting triggered. Thank you so much for suggesting this approach. You may pls go ahead and close this incident and send me survey link if possible.

You are five star bamboo guy!!

Thanks

Manish


author: robhit
body: Hi Manish,

Good to know that it's working now.

However, this is community platform so no ticket and survey for this. But you can accept my answer so that others can also benefit from it.

Community work is to spread the help among the Atlassian users.

Thanks


Tags: smtp
Cleanup xml-data directory on remote agent
Asked by Ralf Hupe:

Hi,

we are encountering some cleapnup / expiry issues on remote agents (6.0.3 and 6.2.2).

Global expiry settings do not seem to purge xml-data dirs on remote agents, even if the settings should find several files.

Now we are looking for a best (or recommended) practise solution to get some free disk space.  

Would a script like this be useful and secure in consistency matters?

find /srv/bamboo/bamboo-agent-home/xml-data/build-dir/ -maxdepth 1 -type d -mtime +14 \|xargs rm -rf

Ralf


Answers:
author: robhit
body: Hi Ralf,

Build expiry doesn't clean off the data from the remote agents. It looks after the bamboo server data only.

There are few improvement requests already in the system for the same:

\* <https://jira.atlassian.com/browse/BAM-13680>

\* <https://jira.atlassian.com/browse/BAM-13589>

Since the agents transfer the build artifacts and other data to Bamboo, there is no relation so you can use the command which you have mentioned to clean the data which is 14 days older or whatever your requirement is.

**I believe that *Clean working directory after each build*option in the Plan configuration is the proper solution for this problem.**

Thanks

comments: author: Ralf Hupe
body: Hi Robhit,

thank you heaps for the hints. I was aware of the "Clean working directory after each build" options but we were looking for a more global solution. To prevent to reconfigure every single build plan.


author: robhit
body: Hi Ralf,

I was thinking of having a script in the machine where the remote agent is.

Then use this script to check for disk usage at a certain time interval.

If the disk usage reaches 80% or whatever, execute the command which you mentioned earlier to delete the data from the agent directories.

Thanks


Tags: remote-agent
no Plugin with key 'com.atlassian.bamboo.plugins.bamboo-variable-inject-plugin:inject' is installed.
Asked by Craig Woodcroft:

Hi, I'm setting up a new Agent on Windows 10 (our other agents are all windows 7, that I need to move over to windows 10.

Our version of Bamboo is 5.9.7

bamboo-variable-inject-plugin-5.9.7.jar exists on the agent in

C:\\Users\\atau-svc-p-winbuild\\bamboo-agent-home\\plugins\\system-provided

The same script works on windows 7 but doesn't work here. I don't know whether it's a windows 10 issue or whether it's some configuration issue.

The plugin is enabled in Bamboo plugin page.

Thanks


Answers:
author: Craig Woodcroft
body: well I see this in the log

INFO \| jvm 1 \| 2017/11/15 11:14:01 \| 2017-11-15 11:14:01,204 ERROR \[Thread-0\] \[PluginEnabler\] Unable to start the following plugins due to timeout while waiting for plugin to enable: com.heroku.bamboo.heroku-bamboo-plugin,com.atlassian.bamboo.plugins.atlassian-bamboo-plugin-aws-codedeploy,com.atlassian.bamboo.plugins.tomcat.bamboo-tomcat-plugin,com.atlassian.bamboo.plugins.bamboo-artifact-downloader-plugin,com.atlassian.bamboo.plugins.atlassian-bamboo-plugin-mercurial,com.atlassian.bamboo.plugins.bamboo-variable-inject-plugin,com.atlassian.bamboo.plugins.maven,com.atlassian.bamboo.triggers.atlassian-bamboo-triggers,com.atlassian.bamboo.plugin.clover,com.atlassian.bamboo.plugin.jira,com.atlassian.bamboo.plugins.bamboo-docker-plugin,com.atlassian.bamboo.plugins.atlassian-bamboo-plugin-git,com.atlassian.bamboo.plugins.stash.atlassian-bamboo-plugin-stash,com.atlassian.bamboo.plugins.bamboo-scp-plugin,com.atlassian.bamboo.plugins.testresultparser,com.atlassian.bamboo.plugins.bamboo-nodejs-plugin

how do I force the plugins to start

comments: author: Craig Woodcroft
body: well to answer my own question, Bamboo 5.9.7 jar needs Java version 8, it doesn't work with Java 9.

So I used 8u152, then it works to run the java components on Windows 10


Tags: configuration
Bamboo API: quicksearch only returns 12 results
Asked by EmmettWester:

When curling

```
https://host/rest/api/latest/quicksearch?searchTerm=blah
```

I'm getting back a json object with "size: 12" when there should be quite a few more than 12 results. Specifying max-results doesn't change anything, it will restrict the results to a number less than 12 but doesn't increase it to anything more than 12.

Is there some other parameter I can pass that will force it to return more than 12, or is quicksearch just limited to 12? Does anyone know? Thanks!!


Answers:
author: robhit
body: Hi Emmett,

How about trying this:

```
http://localhost:8085/rest/api/latest/quicksearch?searchTerm=plan&max-results=1
```

1. The above will give you max result =1

```
http://localhost:8085/rest/api/latest/quicksearch?searchTerm=plan&max-results
```

2. Will give you all

Let me know if it doesn't works

comments: author: EmmettWester
body: Thank you for your response!!

Option 2 still only returns 12, even with a searchTerm that should return hundreds of matches. It's like the max-results parameter is applied after the result set is returned from the search. The search returns 12, then it applies max-results to that 12. It will limit it if max-results is less than 12 but can't return more than 12 because the result set was already limited to 12 before max-results is even applied.


author: robhit
body: Hi Emmett,

Yes, you are right. It is limited to 12 only.

I believe it because of the fact that the result is paginated probably because if you do not have pagination you will face performance issues while getting all the data.

I also tried adding "\&start-index=2" to see if I can loo into the next one:

```
http://localhost:8085/rest/api/latest/quicksearch?searchTerm=test&max-results=12&start-index=2
```

But, it seems it is also not giving the result.

Let me know if you can build a loop around this parameter.


author: DARCY NEY
body: I have the same problem. Any solutions to this?
How do I edit the auto response message that gets sent to our clients when they email in to us?
Asked by Nate Palmer:

It looks something like this :   

" -------------------  
Reply above this line   

Just confirming that we got your request. We're on it. "  

It does this for texts as well, we have it connected to text magic, would really like to know where this can be edited.


Answers:
author: Mikael Sandberg
body: Hi [@Nate Palmer](/t5/user/viewprofilepage/user-id/5439906),

Welcome to Atlassian Community!

Go to Project settings \> Customer notifications and from here you can edit the notifications that are sent out the customers.


Tags: cloud

jira-service-management

jira-service-management-cloud
Restrict access to users on certain request typ
Asked by GIACOMO CORADESCHI:

Hello,

here is my problem.

I have a Service project where I manage, potentially, some confidential information.

I would like people to open or be tagged in certain tickets and make those tickets available to the reporter, the assignee and the people with whom the ticket is either shared or that are tagged in the comments.

I need to do this only to a specific subset of request types and only in one project.


Answers:
author: Mikael Sandberg
body: Hi [@GIACOMO CORADESCHI](/t5/user/viewprofilepage/user-id/5432866),

Welcome to Atlassian Community!

This is not possible at the moment, unless you have a separate project that the subset of users have access to. There is a suggestion to allow you to hide request types except for specific users, see [JSDCLOUD-195](https://jira.atlassian.com/browse/JSDCLOUD-195), that you can vote on and follow.

comments: author: GIACOMO CORADESCHI
body: How can i vote it?


author: Mikael Sandberg
body: You have to sign in, once you do the Vote for this issue is available.

![Screenshot 2024-02-27 at 9.17.17?AM.png](https://community.atlassian.com/t5/image/serverpage/image-id/308965i81BE6046F72CCE60/image-size/large?v=v2&px=999 "Screenshot 2024-02-27 at 9.17.17?AM.png")


Tags: cloud

jira-service-management

jira-service-management-cloud
How to hide Request Types from the portal, but let people with the direct URL link submit a request?
Asked by Daniel Blomqvist:

Hi,

We have some Request Types that we don't want to be shown in the portal, but we want people to be able to submit a request using the portal request form. (if they have the link)

Currently,

* if I hide a Request Type from the portal I can't submit a request
  * **Error** : Couldn't send request - The request type you are trying to view does not exist.![error.png](/t5/image/serverpage/image-id/308946iF3B8E464510CF617/image-size/large?v=v2&px=999 "error.png")

<!-- -->

* and if I add it to a Portal Group it's available to anyone browsing the portal in general.![portal.png](/t5/image/serverpage/image-id/308948iC00780FFBD01C7E2/image-size/large?v=v2&px=999 "portal.png")

Is it possible to:

1. Change the permissions so one can submit requests if one has the direct URL to the form even if the Request Type is hidden?
2. Block certain portal groups somehow, but leave the request types behind it submittable?
3. Use a request type as a form in any other way via Confluence?
4. Or any other solution suggestion?

Thanks in advance!


Answers:
author: Mikael Sandberg
body: Short answer is no, you cannot hide request types and make them available for a subset of users. The only workaround would be to use Forms, it has a URL that you can share. But this only works if your users have access to your instance, it doesn't work for JSM portal users only. There is a suggestion to have this functionality, see [JSDCLOUD-195](https://jira.atlassian.com/browse/JSDCLOUD-195), that I would recommend that you go and vote for and follow.

comments: author: Daniel Blomqvist
body: Thank you [@Mikael Sandberg](/t5/user/viewprofilepage/user-id/853579) I already found that functionality suggestion and voted for it.

Can you be more specific on *"The only workaround would be to use Forms, it has a URL that you can share."* it sounds like I might be forced to use this workaround.


author: Mikael Sandberg
body: JSM now has Forms (formerly ProForma Forms) which allows you to set up a dynamic form that has its own URL. But in order to access it users have to have access to your instance. You can learn more about Forms [here](https://support.atlassian.com/jira-service-management-cloud/docs/use-forms-in-jira-service-management/).


author: Daniel Blomqvist
body: Thanks [@Mikael Sandberg](/t5/user/viewprofilepage/user-id/853579)


Tags: cloud

jira-service-management

jira-service-management-cloud
I need to create a filter about project property. Somebody can help me?
Asked by Herbert Rodrigues:

I tried project.property assignee = 'Herbert Rodrigues'. I want to cread some dashboards using project properties.


Answers:
author: Mikael Sandberg
body: Unfortunately that is not possible. Filters can only search on issues, not project properties.


Tags: cloud

jira-service-management

jira-service-management-cloud
How can I export our instance's users and licenses with the Last seen on parameter via api?
Asked by Guilherme-A Silva:

I have a script for license removal that I validate the last seen of the user, when the user has no activity for more than x days I make a rest api request to remove the user from a group (default group of licenses, for example confluence-users).

But when I'm going to run this script, I need to export the CSV manually, put it in my specific folder and trigg my script manually.

My desire/project is to create a service for this automation to run once, twice a week without manual intervention.


Answers:
author: Marc - Devoteam
body: Hi [@Guilherme-A Silva](/t5/user/viewprofilepage/user-id/4901364)

There are options on the user management API to deactivate or delete an account by account ID, this on the User Management API.

On the default Cloud API you can get users, but I can't see and last seen info

Some both don't have options in relation to last seen.

There is an open feature request for this, see; [ID-8074](https://jira.atlassian.com/browse/ID-8074)

You could try to get more info via raising an issue at Atlassian Support.


Tags: cloud

confluence

jira-service-management

jira-service-management-cloud

jira-software
How can I overwrite a search criteria of a filter in Jira?
Asked by Sandra Antunes:

Hello everyone,

I created some filters in Jira, and I wanted to update the search criteria. I managed to do this before, but now **I can not find the save button to overwrite the search of a current filter.**

The only option available is 'Copy filter'. I tried to copy it, give it a new name, update the search criteria, go to filter details, edit the name and description, and save it again, and it also didn't work (I still got the same filter).

I've gone through your support documentation, which mentions the save button, but it looks like it doesn't exist anymore.

<https://support.atlassian.com/jira-software-cloud/docs/manage-filters/>

<https://confluence.atlassian.com/jirasoftwareserver/saving-your-search-as-a-filter-939938748.html>

How can I update a filter?

Thank you for your attention.


Answers:
author: Marc - Devoteam
body: Hi [@Sandra Antunes](/t5/user/viewprofilepage/user-id/5439783)

You need to update the filter to your desire and hit search first to have the new options find the information based on the criteria.

Then you should be able to save the filter.

comments: author: Sandra Antunes
body: Hi [@Marc - Devoteam](/t5/user/viewprofilepage/user-id/3796976)

For some reason, I hadn't seen the button changing, my bad :o

Many thanks!


author: Marc - Devoteam
body: Hi [@Sandra Antunes](/t5/user/viewprofilepage/user-id/5439783)

Please make my answer as resolved if this answered your question.


author: Asmath Basha S
body: Hi [@Sandra Antunes](/t5/user/viewprofilepage/user-id/5439783) ,

Can you make a screenshot of the filter what you are trying and let me explain the scenario of the filter.


author: Mikael Sandberg
body: Hi [@Sandra Antunes](/t5/user/viewprofilepage/user-id/5439783),

Welcome to Atlassian Community!

If you do not see the Save button and only the Copy filter option, that would mean that you are not the owner anymore of the filter and you do not have edit permissions on that filter.

comments: author: Sandra Antunes
body: Hi [@Mikael Sandberg](/t5/user/viewprofilepage/user-id/853579)

Thank you for your reply, and nice to meet you!

I've checked the filters' list and, according to it, I'm the owner of the filter, and it's private (only I can view and edit it). This is happening to all the filters.

Is there another place where I can check for information?

Thanks!


Tags: cloud

jira-service-management

jira-service-management-cloud
Custom Field not available to link to Form Field
Asked by L M:

Hello

I'm in the process of creating a new Form in order to attach it to a request type. Unfortunately i'm unable to link a particular custom field with a field in the Form. The custom field just does not show up in the "Linked Jira Field"-Dropdown. Other custom fields do show up.

The Custom Field is of the type "Select List (cascading)" and it is added to the project in question. I'm even able to add the field in the Request Form of the Request Type.

What are possible reasons for a custom field to not show up in the "Linked Jira Field"-Dropdown?

Thanks for your support.


Answers:
author: Marc - Devoteam
body: Hi [@L M](/t5/user/viewprofilepage/user-id/5378726)

Welcome to the community.

Currently this is not possible.

There is an open feature request on this, see; [JSDCLOUD-10792](https://jira.atlassian.com/browse/JSDCLOUD-10792)

comments: author: L M
body: Thank you for the quick answer. It really baffles me that they choose to just hide elements if they are not available, leaving Admins searching for them, instead of indicating them greyed out and showing the reason for unavailability when hovering over it with the mouse.


Tags: cloud

jira-service-management

jira-service-management-cloud
Group and Product Access
Asked by Matheus Fran?a:

Hello Community, Good morning!

I would like help with the following point.

When I give administrative access to a user through the site-admin groups, they receive access to the products but are not included in the default groups of each product, is there the possibility of making this configuration?


Answers:
author: Marc - Devoteam
body: Hi [@Matheus Fran?a](/t5/user/viewprofilepage/user-id/3546345)

This can't be done.

Not to my knowledge, as site admin can be used to just give members access to product, but they don't need it.

comments: author: Matheus Fran?a
body: In this case I need this data because I will create a report based on permission groups, and when admin users do not belong to the group I will not be able to see the licenses consumed.


author: Marc - Devoteam
body: Hi [@Matheus Fran?a](/t5/user/viewprofilepage/user-id/3546345)

You can tell that you need it, but its not possible.

You can raise an feature request and hope it will be implemented via; <https://jira.atlassian.com/secure/Dashboard.jspa>


Tags: cloud

jira-service-management

jira-service-management-cloud

product
Atlassian HIPAA - BAA
Asked by Brad Krivelow:

I am trying to figure out how to start the process for our Atlassian client to be HIPAA compliant. When I start try to begin, it already says that a BAA has been requested? I haven't received one or initiated this.![SCR-20240227-iopu.png](/t5/image/serverpage/image-id/308923i797ABBF1B3A89C18/image-size/large?v=v2&px=999 "SCR-20240227-iopu.png")


Answers:
author: Dan Breyen
body: Hi Brad, I found this article on Atlassian's site regarding [HIPAA.](https://www.atlassian.com/trust/compliance/resources/hipaa)

There's also an Implementation Guide out there as well. I'm guessing it was sent to the System Administrator on record if you didn't get it or if you're not the Sys Admin. I would suggest contacting [Support](https://support.atlassian.com/contact/?support_type=customer&inquiry_category=#/) as I couldn't find any other contact information for HIPAA issues.

Hope that helps.


Tags: cloud

jira-service-management

jira-service-management-cloud