youngmon/atlassian-qna huggingface dataset:
Calendar for planned maintenances
Asked by GIACOMO CORADESCHI:

I would like to make a calendar of planned maintenances accessible to customers.

I have set up a calendar item and i am able to see there the Issues that i want.

I would like that to be externally accessible via the customer portal


Answers:
author: Mark Segall
body: Hi [@GIACOMO CORADESCHI](/t5/user/viewprofilepage/user-id/5432866) and welcome to the community!
> I have set up a calendar item

Are you referring to the Change Calendar or something else? The change calendar is a backend function that cannot be made visible to the customer. The only way to make a customer-accessible calendar would require a few steps and **exposing your underlying Jira Data**

If you are not concerned about Jira data exposure, it would require leveraging Confluence and opening up permissions:

1. Create a Calendar page in Confluence and populate it with the relevant Jira issues  
   <https://support.atlassian.com/confluence-cloud/docs/add-jira-events/>
2. Make a public link for the page:  
   <https://support.atlassian.com/confluence-cloud/docs/share-content-externally-with-public-links/>
3. For the impacted project(s), update the permission scheme and for the **Browse Projects** permission, grant to **Public**

From here, you would need to decide how you want to share the public link with them (e.g. static link on the portal page, as a comment on an individual request, etc.)


Tags: cloud

jira-service-management

jira-service-management-cloud
Migrating organisations
Asked by Jonathan Goodier:

We are looking to move to a new JSM project from our current one, this is in the same Jira tenant.

I am unable to find how you migrate the organisations to the new project in bulk. We have over 600 organisations.

The migration tool can be used to move tickets over, but I cannot see a way to easily migrate the organisations?.


Answers:
author: Kishan Sharma
body: Hi [@Jonathan Goodier](/t5/user/viewprofilepage/user-id/5300968)

Welcome to the Atlassian Community!

If you are moving to a different project in the same Jira Site then it is quite straight forward. Project administrators can add organizations to a service project. Agents can also add organizations to a service project, providing that the option **Yes, agents can add and remove organizations from projects, and add and remove customers from organizations** is enabled in **Jira Service Management** \> **Configuration** \> **Organization management.**

To add an organization to a service project:

1. From your service project, go to **Customers**.

2. Select **Add organizations**.

3. Add a new or existing organization by entering its name and selecting it in the dropdown.

4. Press**Add**.

Refer [this link](https://support.atlassian.com/jira-service-management-cloud/docs/add-an-organization-to-a-service-project/) for more details.

If you are familiar with REST API, you can programmatically add Organizations to a service project. Refer [this](https://developer.atlassian.com/cloud/jira/service-desk/rest/api-group-organization/#api-rest-servicedeskapi-servicedesk-servicedeskid-organization-post) documentation.

Hope this helps.


author: Dan Breyen
body: Hi [@Jonathan Goodier](/t5/user/viewprofilepage/user-id/5300968) welcome to the community. If you are moving from one cloud system to another, would the Jira Cloud-To-Cloud process work for you? Under your Atlassian Administrator application, then Settings / Data Management there is a copy product data feature. Based on [this page](https://support.atlassian.com/organization-administration/docs/what-product-data-is-copied/) from Atlassian, it appears Organizations would be copied over.

Hope that helps.


Tags: cloud

jira-service-management

jira-service-management-cloud
Need to configure a table on end user portal which contains cascading values in the column. Please s
Asked by Ritika Abhichandani:

Need to configure a table on JSM End user portal which contains cascading values in the columns of table.   
1) Need to configure a table on End-user portal.  
2) Columns of the table should contain cascading values.   
3)If we select first product value in column1 then the column 2 should show the dependent values of first product value selected in column1  
4)Attaching excel for reference. Please refer the table. Example based on excel sheet: If we are selecting Procurement category 1 as "Facilities management" then Procurement category 2, Procurement category 3, \& all the columns should show the cascading values of Facilities Management. If We select "Marketing \& Sales" in Procurement category1 the all other columns should show the dependent values of Marketing \& Sales, \& so on....


Answers:
author: Kris Dewachter
body: Hi [@Ritika Abhichandani](/t5/user/viewprofilepage/user-id/5432752) ,

Welcome to the Community.

Where do you want to create this table in the portal ? In a request type ? In a form ? On a Knowledge base Confluence page ?

If I understand your case correctly, I don't think there is a way out-of-the box to implement this.

Best regards,

Kris

comments: author: Ritika Lokesh Abhichandani
body: Hi [@Kris Dewachter](/t5/user/viewprofilepage/user-id/4588367)

Thanks for the support.

I want to configure a table on the JSM Customer Portal. The column of table should contain the cascading values. For example: If we select first drop down value in column1 then column2, column3, \& so on.. should show the drop down values of column 1.

Please support \& feel free to ask again if you have not understood.


Tags: cloud

jira-service-management

jira-service-management-cloud
Bar Code
Asked by Sampath:

Team

We have Jira link for creating ticket , can we change into barcode?

So if user , scan the barcode , create a ticket . its that possible?


Answers:
author: Nikola Perisic
body: Hello [@Sampath](/t5/user/viewprofilepage/user-id/3886406)

Sadly, there is not a native feature for bar codes. And also, not so much apps for JSM. Mostly Confluence.

You can try out this app here but this is for iOS and Android: [https://marketplace.atlassian.com/apps/1219263/scanstar-for-insight-and-jira?hosting=cloud\&tab=overview](https://marketplace.atlassian.com/apps/1219263/scanstar-for-insight-and-jira?hosting=cloud&tab=overview)


Tags: jira-service-desk-data-center

jira-service-management

jira-service-management-data-center
How to make fields mandatory in the issue field in agent view
Asked by Rupali Mohanty:

Need to make it mandatory


Answers:
author: John Funk
body: Hi Rupali,

You can make the field Required in the Field Configuration used by the project.

<https://support.atlassian.com/jira-cloud-administration/docs/specify-field-behavior/>

comments: author: John Funk
body: You would need an app like ScriptRunner Behaviours to hide fields from certain users. Not sure it will work with that field or not. But there is no way to achieve what you are looking for with native Jira.


author: Brian Trepto
body: Hi [@Rupali Mohanty](/t5/user/viewprofilepage/user-id/5401929)

check out this article:

<https://community.atlassian.com/t5/Jira-Software-questions/How-to-make-field-Mandatory/qaq-p/1854806>

Kind regards!


author: Rupali Mohanty
body: I want the below find mandatory only for customer. It should not be visible to customer

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


Tags: cloud

jira-service-management

jira-service-management-cloud
How to disable product access of a Provisioned user via API
Asked by Naveen kumar:

I have to make user disable for one product like JSM.  

I dont want to disable user at Org level or Site level for all products.


Answers:
author: Nikola Perisic
body: Hello [@Naveen kumar](/t5/user/viewprofilepage/user-id/5105146)

You may have to refer to this page: <https://developer.atlassian.com/cloud/jira/service-desk/rest/api-group-organization/#api-rest-servicedeskapi-organization-organizationid-user-delete>

It removes the users only for JSM product.


Tags: cloud

jira-cloud

jira-service-management

jira-service-management-cloud
Editing CSTAT results
Asked by Bryce L:

Hi there everyone,

One of our internal customers was messing around with CSTAT and decided to put in 1 star and 3 star ratings for someone they had a great experience with. No idea why but hey she did it.

She confirmed that she was just 'playing around' and now we need to fix the situation, otherwise our CSTAT averages are messed up.

Is there any way to edit the CSTAT results?

Bryce


Answers:
author: Danut M _StonikByte_
body: Hi [@Bryce L](/t5/user/viewprofilepage/user-id/3926041),

This could be possible by accessing the link in the original email from Jira where she was asked to provide feedback. Entering a new score using the same link should overwrite the original score.

Hope this helps.

Danut

comments: author: Bryce L
body: Thanks for that!


Tags: cloud

jira-service-management

jira-service-management-cloud
Another Assets Question - creating multiple objects via the API in one objecttype
Asked by Ste404:

I was looking at this page

<https://developer.atlassian.com/cloud/assets/rest/api-group-object/#api-object-create-post>

and having a working powershell script that populates on object in an objecttype with the relevant details, works great.

What if I have 30 objects I want to create, I am not sure on that page how you would achieve that, I doubled up on the attributes but it just made an object of the last lines in the script.

Has anyone created many objects in an objecttype with rest before and could offer up some guidance.

ta


Answers:
author: Hakan Bahadir _Pio_
body: Hello,

You need to call the api for every object one by one. In summary, for 30 new objects you need to send http post 30 times.

Alternatively, you can use the Import API.

<https://developer.atlassian.com/cloud/assets/imports-rest-api-guide/schema-and-mapping/>

My humble opinion:

- If you will create objects continuously and in large amounts (i.e. thousands), then Import API is better.

- On the other hand, if you will create less than 100 objects time to time, then normal API would be sufficient.

Cheers.

Hakan Bahadir

Pio

comments: author: Ste404
body: Well that is annoying, I was hoping you could loop through a script. I have it pushing the one in Powershell, but was hoping to be able to stack them a number of objects.

thanks for the reply.


Tags: cloud

jira-service-management

jira-service-management-cloud
Creating values for a 'Select' attribute via the API
Asked by Ste404:

I have some powershell that creates various objecttypes and attributes within a schema.

One of the objecttypes has 4 different 'Select' attributes and 2 of those have 30 selections.

After setting the Name, type, defaultTypeID, is there a way to populate the values that the Select will use also in script?

Cant seem to see it in the API doco.


Answers:
author: Ste404
body: Found it, I was looking for something like values or the like

"options" = "Critical, High, Medium, Low"


Tags: cloud

jira-service-management

jira-service-management-cloud
Specify version of a pipe from a variable
Asked by Drew Heasman:

I want to be able to set the version of a pipe in use across multiple repos, by using a workspace variable.

Specifying a branch name for the pipe isn't desirable, I'd like to specify a specific version of the pipe across the multiple repos.

E.g.  

```
image: node:16-alpine

definitions:
  steps:
    - step: &build-and-test
        name: Build and test
        caches:
          - node
        script:
          - npm install
          - npm test
          - npm run build
          - pipe: snyk/snyk-scan:$SYNK_VERSION
```

Is this possible some other way? When I try the above the following error is shown:

```
It looks like you tried to use a pipe in your bitbucket-pipelines.yml that doesn't exist. Check the name of the pipe and try again.
```


Answers:
author: Theodora Boudale
body: Hi Drew,

I'm afraid that this is not possible at the moment, we don't support variables in a pipe's name.

We have a feature request that you vote for to further express your interest:

* <https://jira.atlassian.com/browse/BCLOUD-20657>

You can also add yourself as a watcher to that feature request (by selecting the **Start watching this issue** link) if you'd like to get notified via email on updates.

Kind regards,  
Theodora

comments: author: Drew Heasman
body: Thanks for the information.

That is disappointing, hopefully this can be fixed soon


Tags: bitbucket-cloud

cloud
Why Default Task are not applicable to release branch (Destination)?
Asked by Jeevan Mahesha:

![Screenshot from 2022-12-08 19-23-51.png](/t5/image/serverpage/image-id/229615i0DA62674B97178B5/image-size/large?v=v2&px=999 "Screenshot from 2022-12-08 19-23-51.png")  

<br />


Answers:
author: Michael R?egg _Mibex Software_
body: If you do not mind a separate app, you can create specific tasks for different branch types (including release branches) with our [Checklist Buddy for Bitbucket Cloud](https://marketplace.atlassian.com/apps/1225571/pull-request-checklist-buddy-for-bitbucket?hosting=cloud&tab=overview).

<br />

It uses configuration as code for the definition of the default task rules, which allows reviewing changes by peers, tracking changes over time and all the other benefits Git has over UI-based configurations.

<br />

To restrict default tasks for certain branches, you can use this syntax:

```
--target release/* +task+ Release notes ready?
```

Besides the configuration of the source/target branch, it is also able to create content-dependent default tasks, e.g.

```
--files /app/*.jsx +task+ UI changes visually inspected on IE/Edge
```

creates the default task only if the PR contains any React JSX files.

<br />

For more information, please check the [app documentation](https://mibexsoftware.atlassian.net/wiki/spaces/CB/pages/3267133441/Bitbucket+Cloud+-+Checklist+Buddy).


Tags: bitbucket-cloud

cloud
How can i wait for a bitbucket runner to get online?
Asked by Dominik Bregovic:

Hallo community,

I am currently facing the problem not being able to determine when the bitbucket runner comes online.

**My situation:**

I am connecting to Azure in order to start a VM there. (Windows 10)

On this VM i have executed the necessary scripts to connect the runner with Bitbucket.

On bitbucket i have created a windows repository runner.

When i start my pipeline everything works out of the box, but sometimes my pipeline fails because the runner is not online at this moment.

**My problem:**

The unconsistency for the runner to come online makes it hard to time the steps properly. It takes between 120 - 500 sec.

**Main Question:**

Is it possible to directly wait for the runner to come online, or do i have to increase the delay time to such a high amount just to be sure?

This would be around 500 seconds just to be sure?!

I hope that I am not the only one facing this issue and would be glad to get some respones.


Answers:
author: Theodora Boudale
body: Hi Dominik,

The runner needs to be online when a build gets triggered, it is not possible to wait for the runner to come online.

You mentioned that the runner takes 120 - 500 sec to come online. Are you executing the preconfigured command to start the runner manually? And does it take 120 - 500 sec from the moment you execute the command until you see the runner as online?

Do you trigger the build manually, or do you have a script that triggers the pipelines build? I'm trying to understand what you mean by increasing the delay time; are you starting the runner and then triggering a pipelines build from the same script?

Kind regards,  
Theodora

comments: author: Dominik Bregovic
body: Hallo Theodora,

I have to admit that something happend that i wasn't expecting.....

The VM to that my runner should connect decided to deactivate autologin (Maybe cause of an update it got disabled)

and therefore the runner script wasn't executed until I connected via rdp to the machine. I will keep that in mind for the future!!!

STEP 1:

I am starting the VM over a Bitbucket pipeline as a seperate step.

The runnerscript gets triggered after the VM started and logged in.

After this step1 and after the runner has hopefully properly connected I call the script i want to execute over the pipeline in a seperate step.

STEP 2:

C:\\\<Path to my script\>

After i enabled autologin on Windows again, everything works.

But if someone wants to share a better solution then I am always glad for some hints

Best,

Dominik


Tags: bitbucket-cloud

bitbucket-runners

cloud

windows
Should I pay for Bitbucket Pipeline if I have my own runners?
Asked by Daria Kurguzikova:

I have my own servers as runners for build job. So, should I pay for build minutes if build is happening on my own machines?


Answers:
author: Daria Kurguzikova
body: Found the answer: <https://community.atlassian.com/t5/Bitbucket-Pipeline-Window-Runner/Pricing-model-for-Bitbucket-Pipeline-using-Runners/qaq-p/1913595>


Tags: bitbucket-cloud

bitbucket-pipelines

cloud
Bit Bucket Pipeline Step marked as Failed though no error occurred
Asked by Sasitharan Govindharam:

No errors logged and Test summary has no failure and error. But pipeline step is marked as Failed.

Maven Console Log:  
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 48.563 s - in TestSuite  
[INFO]  
[INFO] Results:  
[INFO]  
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0  
[INFO]  
[INFO]  
[INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ FrameworkCore2.0 ---  
[WARNING] JAR will be empty - no content was marked for inclusion!  
[INFO] Building jar: C:\Users\xxxxx\atlassian-bitbucket-pipelines-runner\temp\965507bc-86c8-5f4a-af2c-8731bed4c82b\1670476923823\build\target\FrameworkCore2.0-0.0.2-SNAPSHOT.jar  
[INFO] ------------------------------------------------------------------------  
[INFO] BUILD SUCCESS  
[INFO] ------------------------------------------------------------------------  
[INFO] Total time: 58.683 s  
[INFO] Finished at: 2022-12-07T23:26:16-06:00  
[INFO] ------------------------------------------------------------------------  

`Build Teardown:`  
Skipping cache upload for failed step  
Searching for test report files in directories named [failsafe-reports, TestResults, surefire-reports, test-reports, test-results] down to a depth of 4  
Found matching test report file C:\Users\xxxxx\atlassian-bitbucket-pipelines-runner\bin\..\temp\965507bc-86c8-5f4a-af2c-8731bed4c82b\1670476923823\build\target\surefire-reports\junitreports\TEST-application.Driver.xml  
Located test suite containing 1 tests, with 0 failures and 0 errors.  
Found matching test report file C:\Users\xxxxx\atlassian-bitbucket-pipelines-runner\bin\..\temp\965507bc-86c8-5f4a-af2c-8731bed4c82b\1670476923823\build\target\surefire-reports\Suite\Test.xml  
Located test suite containing 1 tests, with 0 failures and 0 errors.  
Found matching test report file C:\Users\xxxxx\atlassian-bitbucket-pipelines-runner\bin\..\temp\965507bc-86c8-5f4a-af2c-8731bed4c82b\1670476923823\build\target\surefire-reports\TEST-TestSuite.xml  
Located test suite containing 1 tests, with 0 failures and 0 errors.  
Found matching test report file C:\Users\xxxxx\atlassian-bitbucket-pipelines-runner\bin\..\temp\965507bc-86c8-5f4a-af2c-8731bed4c82b\1670476923823\build\target\surefire-reports\testng-results.xml  
Finished scanning for test reports. Found 4 test report files.  
Merged test suites, total number tests is 3, with 0 failures and 0 errors.  
Uploading test results  
Finished uploading test results.


Answers:
author: Theodora Boudale
body: Hi [@Sasitharan Govindharam](/t5/user/viewprofilepage/user-id/5096819) and welcome to the community.

Is there any error message in the panel next to the build log that has the build number and commit hash?

Are you perhaps running a script that returns a non-zero exit code? A step will fail when a command returns a non-zero exit code.

Kind regards,  
Theodora


Tags: bitbucket-cloud

cloud
Application Link
Asked by Chaitrali Awasare:

Hello, I am trying to establish two way application link in Jira and Bitbucket first the application were running on http so it was fine but now they are running on https and I am not able to establish the two way application link. I saw few solutions where they recommend to add self-signed certificate and I am not sure what that means.

I have two things with me the certificate which I created with the key and gave to the company in return I got a cert file. So do I need to add the crt file received from the company please help.


Answers:
author: Chaitrali Awasare
body: So we need to add Jira cert in cacerts file? And do we need to do the same for bitbucket?


author: Nic Brough -Adaptavist-
body: Welcome to the Atlassian Community!

Atlassian applications don't have a UI for adding certs, because certificates need to be installed in the java underlying the application server, not the application.

So you will need to do it manually. My scribbles say this works (and it does in real life), although you will need to modify paths and probably password:

keytool -import -file /home/nic/mycert.pem" -keystore /opt/atlassian/jira/jre/security/cacerts -storepass "changeit"

comments: author: Chaitrali Awasare
body: So we need to add Jira cert in cacerts file? And do we need to do the same for bitbucket?


author: Nic Brough -Adaptavist-
body: Correct - each application needs a client cert to access the other one.


Tags: bitbucket-server

server
Stop Bitbucket pipelines that were paused due to monthly minutes quota
Asked by Paul M:

I recently found out that the free plan has a limited set of build minutes.

I have made 3 commits since exceeding that limit and now each of those commits has spawned a build pipeline and each of those 3 pipelines are currently paused.

I would like to stop all of them (because I know they will each eat up 10 minutes once my quota is reset), but I see no way to do that.

When I was not out of minutes there was a stop button that I could use but I do not see that button now that I am out of minutes.

Can you assist?


Answers:
author: Theodora Boudale
body: Hi Paul and welcome to the community.

It is not possible to stop these builds as they are not running, however, paused builds do not resume automatically when your monthly quota is reset. They can only be manually resumed.

Kind regards,  
Theodora

comments: author: Paul M
body: Oh, that is great to hear. Thanks so much.


author: Theodora Boudale
body: You are very welcome!

Please feel free to reach out if you ever need anything else.


Tags: bitbucket-cloud

bitbucket-pipelines

cloud
how can i define branch to testing ambient at yml pipeline file?
Asked by Fernando Santana:

Helo i try create pipeline to testing ambient

but I don't know how to define what branch that receive deploy?

How can I define this?


Answers:
author: Ben
body: Hey Fernando!

Welcome to the Bitbucket Cloud Community! :)

Can you please clarify what is meant by "define what branch that receive deploy"?

If you are trying to deploy to a certain environment, I would recommend following our guide to deployments below:

<https://support.atlassian.com/bitbucket-cloud/docs/set-up-and-monitor-deployments/>

Cheers!

- Ben (Bitbucket Cloud Support)

comments: author: Nad
body: nawaf2296@gmail.com

???

nawaf nayf


Tags: bitbucket-cloud

bitbucket-pipelines

cloud

deployment

firebase

google
i am getting Someone has already added that SSH key
Asked by sunny kumar:

Hi team while adding SSH key to bitbucket im getting this issue

Someone has already added that SSH key


Answers:
author: Ben
body: Hey Sunny,

Welcome to the Bitbucket Cloud Community! :)

For us to troubleshoot this for you - you will need to share the SSH key you are trying to add.

As this is a public forum, I have raised a support ticket on your behalf so that you may share this information privately.

Please check your email and we will continue communicating from there.

Cheers!

- Ben (Bitbucket Cloud Support)


Tags: bitbucket-cloud

cloud