youngmon/atlassian-qna huggingface dataset:
Bamboo deployment project conditionals
Asked by Nicolas Vila:

Hello!

I'm configuring Bamboo for deployment to different environments (development, qa, staging, production). I'm looking for a way to have a condition to exist before enabling a build, for example if a certain JIRA ticket is closed then (and only then) we should deploy in production.

Currently I have a separate project for each environment, each with its build plan. I have granted specific users the ability to run a build\&deploy (since specific groups should be able to deploy only on their specified environments), but the idea would be to have an OK from several people before enabling the production deployment.

Any suggestion regarding how to accomplish such a thing is much appreciated.

Kind regards.


Answers:
author: Gabriel Ribeiro
body: Hi Nicolas,

I think you'll not be able to do that directly in Bamboo, the easiest way would be to set these conditions in JIRA and then trigger the deployment calling a [Bamboo REST API](https://docs.atlassian.com/atlassian-bamboo/REST/) using a [Webhook](https://developer.atlassian.com/server/jira/platform/webhooks/#Webhooks-Addingawebhookasapostfunctiontoaworkflow)

comments: author: Nicolas Vila
body: Hello Gabriel,

Thanks for your reply. The thing is, we mustn't run the deploy task automatically. Your reply did give me an idea: we could set the conditions in JIRA and then call the bamboo API to mark the release as 'approved' by user JIRA, and then put a script that checks if user JIRA has approved the release. Does that make sense?

Kind regards.


author: Gabriel Ribeiro
body: Hi Nicolas,

Yes, your idea makes sense. I never tried to implement this before, but I think the most challenging thing will be to get the {deploymentVersionId} from the specific release you want to edit.

As you can see, the API endpoints require this info:

<br />

Show current status:

```
http://<bambooURL>/rest/api/latest/deploy/version/{deploymentVersionId}/status?
```

Change status:

```
http://<bamboo URL>/rest/api/latest/deploy/version/{deploymentVersionId}/status/UNKNOWN|APPROVED|BROKEN|INCOMPLETE
```

Interesting resource:

* [REST API deployment triggers for Bamboo](https://developer.atlassian.com/server/bamboo/rest-api-deployment-triggers-for-bamboo/)

Thanks


author: Poojatr
body: Hi,  

I tried by [https://\<bamboo URL\>/deploy/viewDeploymentVersion.action?versionId=87648402](https://bamboo.corp.zscaler.com/deploy/viewDeploymentVersion.action?versionId=51347492)  

But the number 87648402, is not the deploymentVersionID,   

Did you get any method to extract the deploymentVersionID?  

<br />

Thank you


Tags: condition

configuration

deployment

group

permission
Change bamboo.home does not work
Asked by Carsten Horlacher:

Hi,

somehow in the past the bamboo.home variable was set to the same directory (ISS/BAMBOO) than the application was installed. So we tried to change it but we had no luck. What we did:

Stop Bamboo (running on sles)

moved XML-DATA, artifacts, logs, backups, index and temo to /ISS/BAMBOO-DATA

Changed the variable in bamboo-init.properties

Started Bamboo

Now the setup wizard comes up! What was wrong?

Thanks in advance,

Carsten


Answers:
author: Daniel Wester
body: Make sure to move the bamboo.cfg.xml as well. If you do a clean installation of the app on another area - you can see which files/directories should be moved.


author: rsperafico
body: Hi [@Carsten Horlacher](/t5/user/viewprofilepage/user-id/1279915),

bamboo-init.properties is to define where \<bamboo-home\> will be, however, in the same way you can specify the directory path to Artifacts during Bamboo's installation through the UI, post Bamboo installation you will find \<bamboo-home\>/bamboo.cfg.xml in which describe where files are stored:

```
? <properties>
??? <property name="bamboo.artifacts.directory">${bambooHome}/artifacts</property>
??? <property name="bamboo.config.directory">${bambooHome}/xml-data/configuration</property>
    ...
```

So if you want to copy Artifacts and place them outside \<bamboo-home\> directory, you should update \<bamboo-home\>/bamboo.cfg.xml providing the correct path for it. The same applies to the other properties.

Kind regards,

Rafael
Deploy asp.net to IIS
Asked by Fr0zt:

Hello.

I am struggling for a few days to deploy a asp.net app, which I build using Visual Studio in bamboo, to a IIS Server.

I cannot find any suitable addon to do it, so I think I have to use the command line.

can anyone point me in the right direction please?


Answers:
author: Omar Herrera
body: Hi [@Fr0zt](/t5/user/viewprofilepage/user-id/1188314) take a look a simillar question that I had answered.

<https://community.atlassian.com/t5/Bamboo-questions/Need-help-deploying-net-web-project/qaq-p/774590#M18404>

Cheers.

Omar


Tags: atl-dev

confluence
License Error -17 Builds available
Asked by neofire:

Hello i am having a issue with bamboo currently were it wont let me build as it thinks i have hit the license limit and says i have -17 builds free

the starter license allows 10 builds and i only have 9 so i dont understand whats happening here

can someone assist, i have attached the tech support bundle as well


Answers:
author: robhit
body: Hi Kyle,

Thanks for your question!

The starter license has restriction with the number of jobs and not with the number of builds. One can't have more 10 jobs in his/her Bamboo.

Quoting from the official page (More info [here](https://www.atlassian.com/licensing/starter#bamboo-1)):
> With a [Bamboo Starter License](https://www.atlassian.com/licensing/bamboo), you are restricted to 10 build Jobs, and 0 remote agents, but can run unlimited local agents. A [Job](http://confluence.atlassian.com/display/BAMBOO030/Job) is a single build unit within a [Plan](http://confluence.atlassian.com/display/BAMBOO030/Plan). One or more Jobs can be organized into one or more [Stages](http://confluence.atlassian.com/display/BAMBOO030/Stage). Given a 10 Job limit, you may distribute your Jobs between up to 10 Plans - for example, one Job per Plan or all 10 Jobs within one Plan. There is no limit on the number of times a Plan is built/executed.Please note that use of the [Plan Branches](https://confluence.atlassian.com/display/BAMBOO/Using+plan+branches) has a multiplicative effect on the number of jobs configured, and therefore an effect on the 10 jobs cap. For example, a plan with two jobs that is building against a total of three branches (the plan's original branch, plus two additional branches) will contribute 6 jobs toward the limit.

comments: author: neofire
body: Hey Robhit

Thanks for the response i do understand the limit of no more then 10 but as i stated in the original post i only have nine so i should not be seeing this messages and my builds should still continue to work ( refer to screenshot below)

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


author: neofire
body: Or are they now limiting you to 10 stages ? eg 1 plan has 2 build stages ?


author: robhit
body: It depends on the number of individual jobs. How many individual jobs you have in each of the plans? Count it and if it is more than 10 then we are hitting this restriction.

as mentioned in my previous comment:
> Given a 10 Job limit, you may distribute your Jobs between up to 10 Plans - for example, one Job per Plan or all 10 Jobs within one Plan.

Also, check if you have branches in your plans:
> [Branches](https://confluence.atlassian.com/display/BAMBOO/Using+plan+branches) has a multiplicative effect on the number of jobs configured, and therefore an effect on the 10 jobs cap. For example, a plan with two jobs that is building against a total of three branches (the plan's original branch, plus two additional branches) will contribute 6 jobs toward the limit.
Cryptotab products and income transfer to NC
Asked by heidar entezari:

Hello . Can you help me with issues related to cryptptab products and delays in payments and withdrawals from it?


Answers:
author: Kishan Sharma
body: Hi [@heidar entezari](/t5/user/viewprofilepage/user-id/5458435)   

Welcome the Atlassian Community!  

Unfortunately, we cannot assist with issues related to Cryptotab products. However, feel free to ask if you need help with Atlassian products.

comments: author: Duc Anh Tran Ly
body: I paid 750 Euros on the site Cryptotab but i received my account bloked because of violence. It s not impossible. I tried to contact to service of custom but no anwers . So sad and disappointed. Be careful!


Tags: jira-service-management
How many developer license for our testing environment can we get if we have a production license?
Asked by IGSL-HamletCHIU:

How many developer license for our testing environment can we get if we have a production license?


Answers:
author: Kishan Sharma
body: Hi [@IGSL-HamletCHIU](/t5/user/viewprofilepage/user-id/5458368)   

Welcome to the Atlassian Community!  

As per - [Get a developer license for Jira Server / Data Center](https://confluence.atlassian.com/jirakb/get-a-developer-license-for-jira-server-744526918.html) you can generate a developer license as many times as necessary for multiple developer licenses

If you hold a commercial license, you can obtain a free developer license by following these steps:

1. Log in to your [Atlassian account](http://my.atlassian.com/).
2. Under the "Licenses" heading, all of your licenses will be displayed. Click the plus sign next to a JIRA license to view its details.
3. Click the **'View Developer License'** link in the bottom right corner of the license detail panel, below your commercial license key.

Your new developer license will be generated and displayed in a popup window. ++**Repeat this process as many times as necessary for multiple developer licenses**++

comments: author: IGSL-HamletCHIU
body: If we want to have multiple testing environment. Is there any way to get more developer license while we only have one commercial license?


author: Kishan Sharma
body: Yes, as per the documentation you can generate developer licenses as many times as necessary while having only one commercial license.


author: Marc - Devoteam
body: Hi [@IGSL-HamletCHIU](/t5/user/viewprofilepage/user-id/5458368)

Welcome to the community.

You are able to get as many dev licenses as required, for another non-production instance.

This license is based on the same user tier as your prod license


Tags: jira-service-desk-data-center

jira-service-management

jira-service-management-data-center
Can we have more detail on what data stored in shared home of JSM cluster?
Asked by IGSL-HamletCHIU:

From this document (<https://confluence.atlassian.com/adminjiraserver/running-jira-data-center-in-a-cluster-993929598.html>), we knew that shared home stored attachments and backups data.

However, our client would like to know more detail / example on the stored data in shared home. And the difference of usage of local home and shared home.


Answers:
author: Sebastian Krzewi?ski
body: Hi [@IGSL-HamletCHIU](/t5/user/viewprofilepage/user-id/5458368)

List of files stored on shared home:

* attachments
* avatars / profile pictures
* icons
* export files
* import files
* plugins
* cluster status and synchronization data

In DC shared home is very important because those files are used by every node. Moving those files to node servers will destroy DC architecture and Jira will be not working correctly (I'm not sure if Jira will be able to work at all).

Regards,  
Seba

comments: author: IGSL-HamletCHIU
body: Our client have some further questions for shared home:

* What kind files will be exported in "export file"?
* How to manage the files locate in this folder (shared home)?
* What is the usage of "import files"?
* Any encryption?

Also, for local home "caches":

* Is "caches" a folder concept?
* What is the caches size?
* What happen if oversize?


author: IGSL-HamletCHIU
body: Our client have some further questions for shared home:

* What kind files will be exported in "export file"?
* How to manage the files locate in this folder (shared home)?
* What is the usage of "import files"?
* Any encryption?

Also, for local home "caches":

* Is "caches" a folder concept?
* What is the caches size?
* What happen if oversize?


Tags: jira-service-desk-data-center

jira-service-management

jira-service-management-data-center
How do I reference a subtask Parent's custom field in an email automation rule?
Asked by Ishita Avinash:

The resulting email does not contain the parent's custom fields. Although, {{issue.parent.summary}} works fine. Any assistance would be greatly appreciated.

![shared image.jpg](/t5/image/serverpage/image-id/313486iE68C12D5614840C5/image-size/large?v=v2&px=999 "shared image.jpg")


Answers:
author: Tansu Akdeniz
body: Hi [@Ishita Avinash](/t5/user/viewprofilepage/user-id/4990422)

Could you please be sure about the field ID?

You can also use "Log Action" to see field val in Audit log.

![Audit log.png](https://community.atlassian.com/t5/image/serverpage/image-id/313523iEF1485395D46E60E/image-dimensions/364x218?v=v2 "Audit log.png")


Tags: cloud

jira-service-management

jira-service-management-cloud

jira-work-management

jira-work-management-cloud
Using a form from automation jira cloud
Asked by Luis alejandro Deobarro Navarro:

Good morning:  
Is it possible to launch a JSM form and once filled it creates an issue from automation for jira cloud?  
Thank you very much in advance  
Best regards


Answers:
author: Marc - Devoteam
body: Hi [@Luis alejandro Deobarro Navarro](/t5/user/viewprofilepage/user-id/5130136)

I don't get your request.

Forms are used within JSM request types, based on creation of the request an issue is created in Jira.

I don't see where automation comes in to place?

Our Am I not understanding you correctly?

comments: author: Luis alejandro Deobarro Navarro
body: Good morning:  
The intention is that from a field, a form could be launched for the agent to fill it and create a new request.

Best regards


Tags: cloud

jira-service-management

jira-service-management-cloud
unable to load Jira page 2 hours ago
Asked by Chris Lai:

any issue before ?


Answers:
author: Laurie Sciutti
body: Hi [@Chris Lai](/t5/user/viewprofilepage/user-id/5458181) and welcome to the Community! Maybe it was due to this issue yesterday: <https://jira-service-management.status.atlassian.com/>

comments: author: Jehan Bhathena
body: Hi [@Chris Lai](/t5/user/viewprofilepage/user-id/5458181) ,

If [@Laurie Sciutti](/t5/user/viewprofilepage/user-id/1137433) 's answer helped you get to the required info, would be great if you could mark it as Accepted, so that it's more visible to the community.


Tags: cloud

jira-service-management

jira-service-management-cloud
Canned respons when resolving issue
Asked by Christian Letessier:

Hi,

I started to use the out of the box functionality "Canned responses" when replying to a customer in JSM.

I wonder if it's possible to use "Canned responses" when resolving an issue.

I don't see this function when resolving issue, I have it when sharing a comment with customer.

Thank you.


Answers:
author: Iryna Ihnatiuk _Appfire_
body: Hi [@Christian Letessier](/t5/user/viewprofilepage/user-id/5325160)

Unfortunately, native JSM canned responses are not available on the Transition screen/Resolution screen. There is an open feature request to Atlassian about this <https://jira.atlassian.com/browse/JSDCLOUD-12765>, feel free to vote.

If you're considering using an app for this, our [Canned Responses Pro](https://marketplace.atlassian.com/apps/1211016/canned-responses-pro-templates-for-jira?hosting=cloud&tab=overview) will meet your needs. It supports both Issue View and Resolution screens, as well as JSM Queues, and offers many other advanced features (like automated signatures, attachments in templates, multi-level permissions, and so on). Feel free to check it out and contact me with further questions.

comments: author: Christian Letessier
body: Hi Iryna,

Thank you for your quick respons and your suggestion.


Tags: cloud

jira-service-management

jira-service-management-cloud
?????????????webhook??????
Asked by Kanta Takeshita:

????????

JIRA???????????????????????????????JIRA?Webhook?????????????

????????

?????????????????????????????Webhook????????????????????

??????????????????

?????????????Outlook???

```
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Button Webhook</title>
</head>
<body>
<table cellspacing="0" cellpadding="0" border="0">
<tr>
<td bgcolor="#1a49ea" align="center" style="border-radius: 4px; height: 40px; width: 200px;">
<!-- ???URL???????? -->
<a href="https://example.com/jira/settings/automation" onclick="sendWebhook(event)" style="font-family: sans-serif; font-size: 13px; color: #ffffff; text-decoration: none; line-height: 40px; display: inline-block; width: 100%;">?????</a>
</td>
</tr>
</table>
<script>
function sendWebhook(event) {
event.preventDefault(); // ????????
var xhr = new XMLHttpRequest();
// ???URL????????
var url = "https://example.com/pro/hooks/dummy-webhook-url";
xhr.open("POST", url, true);
xhr.setRequestHeader("Content-Type", "application/json");
var data = JSON.stringify({
event_type: "attendance",
status: "checked_in",
timestamp: new Date().toISOString()
});
xhr.send(data);
// ???URL????????
setTimeout(function() {
window.location.href = "https://example.com/jira/settings/automation";
}, 1000); // 1000???(1?)????
}
</script>
</body>
</html>
```

![????????? 2024-03-19 185.png](/t5/image/serverpage/image-id/313471i09B94C4179DD4D3D/image-size/large?v=v2&px=999 "????????? 2024-03-19 185.png")![????????? 2024-03-19 185651.png](/t5/image/serverpage/image-id/313472i27BB4DE0AA7D5FC8/image-size/large?v=v2&px=999 "????????? 2024-03-19 185651.png")![????????? 2024-03-19 190.png](/t5/image/serverpage/image-id/313473i08B624ACC79AC8EA/image-size/large?v=v2&px=999 "????????? 2024-03-19 190.png")


Answers:
author: K.Kitajima
body: ???????????????????????????????

???????????????????

?????API??????????????? Atlassian Developer Community ????????????????????????[\[community.developer.atlassian.com\]](https://community.developer.atlassian.com) \> \*New Topic\* ????????


author: Kanta Takeshita
body: ????????????????????????Outlook???


Tags: cloud

jira-service-management

jira-service-management-cloud
Deleting a redundant issue from a jira board
Asked by Ignacio_Inchausti:

I have created an issue on a jira board that is not needed. How do I delete it (ie. remove it from the board)?


Answers:
author: Walter Buggenhout
body: Hi [@Ignacio_Inchausti](/t5/user/viewprofilepage/user-id/5284602),

It depends on how permissions are configured. If you have delete issues permission in the project this issue is in, open the issue and hit the **...** in the top right corner and select delete. This will remove the issue for good (not only from your board, but from Jira as a whole).

If you don't have that permission, move the issue to a done status. It will automatically disappear from your board then after 2 weeks or - if you are using a scrum board - when you close the sprint.

Hope this helps!


Tags: cloud

jira-service-management

jira-service-management-cloud
AQL for Assets Cloud
Asked by Rudy Hemkes:

I am running Jira Service Management (Cloud) and I want to create a rule that checks a date field in an Assets object and alerts when the date has expired. I was under the impression that AQL was the automation I should use but I can't seem to find it. Is AQL available for JSM Cloud? If not is there to build an automation in JQL?


Answers:
author: Zoey Wang
body: Hi [@Rudy Hemkes](/t5/user/viewprofilepage/user-id/5130505)

AQL can help with querying relevant objects for certain purposes in Asset. I can see the production plan you are in is Premium. So you should have access to the Asset feature.

Here are the steps to [find AQL tab](https://support.atlassian.com/jira-service-management-cloud/docs/how-to-use-assets-query-language-aql/)

1. Select **Assets** in the top navigation bar.

2. Select an object schema from the list.

3. Select an object type.

4. Select **Objects**mode.

5. Select the icon (in **List** view) or the **Filter** icon (in **Detail** view).

6. Select the **Advanced AQL**tab.

7. Enter your AQL query.

8. Select **Update filter**. The results of the query will be pre-filtered by the currently selected object type.

Having said that, the automation rule might be setup by using Scheduled trigger on certain frequency, then lookup certain objects for the date attribute for instance against expiry dates. That can lead to a notification action as an alert to stakeholders.

Further questions please call out.


Tags: cloud

jira-service-management

jira-service-management-cloud
Where do you need to approve the mail request when configuring an outlook.com incoming mail account?
Asked by Mike Achterberg:

Good day,

I am in the process of trying to config the incoming mail server for a JIRA SM project. I have added the incoming mail server and when authorising the mail account I receive a notification stating, "**Your admin has been notified of your request to access this app. Once your admin has reviewed the request, you will be notified via email.**"

I am unsure as to where this request needs to be authorised, and I cannot seem to find any documentation or help topics around this. Please assist?

Thank you.

![Snip20240321_39.png](/t5/image/serverpage/image-id/313457iFFBC598A9241BBD4/image-size/large?v=v2&px=999 "Snip20240321_39.png")![Snip20240321_40.png](/t5/image/serverpage/image-id/313459i1368F7DB1FE64ABC/image-size/large?v=v2&px=999 "Snip20240321_40.png")


Answers:
author: Mike Achterberg
body: Response received from JIRA support.

*The message that you see on the Microsoft end, is an approval request that has been triggered to the Microsoft (Office365/AD) admin, so you will need to get in touch with them to get it approved.*


Tags: cloud

jira-service-management

jira-service-management-cloud
Job approval from user not in the system
Asked by Frank Aceto:

My organisation has a number of managers which can approved access to systems for employees they are responsible for. These managers do not consume an Atlassian license. Can new 'systems access' jobs requiring a managers approval who does not consume an Atlassian license be configured to review and approve jobs via email or weblink?


Answers:
author: Ste Wright
body: Hi [@Frank Aceto](/t5/user/viewprofilepage/user-id/3501721)

Sure - users which are customers (who do not require a license) can approve requests.

You could...

* Use [Automation](https://support.atlassian.com/cloud-automation/docs/jira-cloud-automation/) to set the Approver(s)
* Notify the Approver(s), either via [Customer Notifications](https://support.atlassian.com/jira-service-management-cloud/docs/set-up-notifications-for-your-customers-and-team/) or Automation

...then, the managers could be provided a web link to the ticket on the portal, where they can choose to approve or reject the request.

There's also some alternative options using email, Slack, or Teams - check out this help page: <https://support.atlassian.com/jira-service-management-cloud/docs/manage-settings-for-approval-by-email/>

Ste


Tags: cloud

jira-service-management

jira-service-management-cloud