youngmon/atlassian-qna huggingface dataset:
How to deploy Angular apps to remote IIS via Bamboo
Asked by Purushothaman_Anbazhagan:

Bamboo supports deployment for Tomcat or AWS code deploy. For .net projects it is easier to deploy via MSBUILD to IIS (web deploy).  

I have angular app and build successfully in Bamboo. Now i need to ship the packages to my remote IIS.  

What are my options?


Answers:
author: Daniel Santos
body: Hi [@Purushothaman_Anbazhagan](/t5/user/viewprofilepage/user-id/2602473)

I'm not an expert on Angular, but after some investigation in external forums, I could see that NPM would do most of the work on building Angular apps. Following this approach I think this may help you: [Getting started with Node.js and Bamboo.](https://confluence.atlassian.com/bamboo/getting-started-with-node-js-and-bamboo-687213472.html#GettingstartedwithNode.jsandBamboo-npmtask)

Basically, I see that you would use a source checkout task, a couple of NPM command tasks or even a script task to call all the NPM commands you need. Then an SCP task or an SSH task to ship the results to the remote server you need.

Does It make sense to you?

comments: author: Purushothaman_Anbazhagan
body: Yeah Daniel, thanks!  

<br />


author: Daniel Santos
body: You are welcome!


Tags: deployment
Error add user in group
Asked by Aleksandra Maslennikova:

Hello.

When I try add member (user) to group an error has eccured:

"

**Can't add users to group 'group name'. The user directory does not allow this operation.**

Please try reloading the page.

".

Can you help me?


Answers:
author: Venugopala Naidu
body: Hi [@Aleksandra Maslennikova](/t5/user/viewprofilepage/user-id/1204145) ,

The affected user directory does not have permission to perform the required tasks (e.g. creating, editing, and deleting a group/user, etc.

Plz go through following link, you will understand

<https://confluence.atlassian.com/confkb/trying-to-add-confluence-users-to-a-group-throws-group-does-not-allow-updates-error-in-logs-302812802.html#TryingtoaddConfluenceuserstoagroupthrows>


author: Venugopala Naidu
body: Hi [@Petr Van??ek](/t5/user/viewprofilepage/user-id/1811075) ,

Yes petr , may be he is using read-only


author: Petr Van??ek
body: Hi,

probably you are using read-only user directory like AD. Is it right?
Is there an alternative of .linkedRepositories() to give actual Repo path in Java Specs?
Asked by Parth Jeet:

I'm using "View plan as Java Specs" to generate Specs for my plan.

There, I'm getting .linkedRepositories() method which has my defined Repo.

I actually want to pass the path/credential of my Github repo in place of defined repository.


Answers:
author: Daniel Santos
body: Hi [@Parth Jeet](/t5/user/viewprofilepage/user-id/2163898)

Currently (Bamboo 6.8 and older versions) it is not possible to create linked repositories from JAVA specs. What you can do is creating a plan repository.  

You can see more details about this and some examples of code here: [Bamboo Java Specs Reference - Repositories](https://docs.atlassian.com/bamboo-specs-docs/6.8.0/specs-java.html#plan-local-vs-linked-repositories)

If you want to generate a full code example for your instance on creating a GitHub plan repository, please try:

1. Create a dummy plan
2. Add it a GitHub repository as you which
3. View plan as java specs to check the code

Please let me know if that helps.


Tags: java

spec
Bamboo Release Management with SBT
Asked by Kailash:

Can any one suggest how you handle release management with SBT and Bamboo. I'm able to successfully publish the SBT assembled jar to application server.

But i dont have any idea how to deal with versioning and passing that version to Bamboo for release management. Tried to google it but there are no suggestions from other communities.

Any suggestions ?


Answers:
author: Daniel Santos
body: Hi [@Kailash](/t5/user/viewprofilepage/user-id/2450000)

I don't really know much about Scala or SBT, all I know is that you can generate JAVA opcodes from it and then use the jar on JAVA virtual machines.

As far as I can tell you should be able to use the same process used for any JAVA app delivered using Bamboo.

Even for JAVA we don't have a document with best practices on version management since it depends on the company/team process and requirements.

What I can do is helpping you to understand the Bamboo features that will allow you to create the process you need. Please let me know where exactly you are facing issues and I'll do my best to assist you.


Tags: addon-com.atlassian.bamboo.plugins.sbt

release-management

scala-build-tool
Retrieving release variables via API
Asked by Brent:

Hello,

I'm having trouble locating the endpoint to retrieve the variables for a specific release.

I'm aware of this: <https://community.atlassian.com/t5/Answers-Developer-Questions/Bamboo-REST-API-to-retrieve-plan-variables/qaq-p/522872>

But that's on plan level and only shows the latest state of the variables. In the UI, there is also a way to see what the state of the variables were at that specific release.

I'm looking for this because I need to reconstruct some names based on those variables in an external tool for referencing in other places.

I'm trying <https://developer.atlassian.com/server/bamboo/bamboo-rest-resources/#build-service-specific-build-result> but I can't seem to get it to work.


Answers:
author: Omar Herrera
body: Hi [@Brent](/t5/user/viewprofilepage/user-id/1793540) you chan check this anwer [@link.](https://community.atlassian.com/t5/Bamboo-questions/How-do-I-get-the-build-number-used-for-a-deployment-release/qaq-p/971693)

Let me know if usefull for you.

Cheers.

Omar H.

comments: author: Brent Couck
body: Thanks for the pointer! Unfortunately, I don't have the option of including an artifact of these variables for my builds. I suppose there's no other way? If not, I feel like that's quite a gap in the API.

I have a storage system that saves stuff based on a variable after every build for several plans. An external tool regularly cleans up this storage system and determines all the things to keep using the latest builds that can be retrieved via the API. Unfortunately I need the variable for each of those builds to be able to link to its relevant data in the storage system.

I investigated the option of using the plan's variable which IS retrievable and subtracting it for each build, but unfortunately it's not sequential. Some builds could not be released which would increment the variable but not put something in the storage system.


Tags: rest-api
How to trigger child plan without branches
Asked by krishna vaitla:

Plan A with (branch FOO , branch BAR) --\> should trigger upon successful completion Plan B(without branches)

Plan A (has release and dev branches and developers want us to build both branches at different time we will use trigger to do this ) --\> after build is successful it needs to trigger PlanB (Regression jobs that will run on both parent branches at different time)

Plan B is not triggered because there are no branches configured.

[![krishna vaitla](https://avatar-cdn.atlassian.com/3f51b0308ab89e23b000ab938e18a4bf "krishna vaitla")](https://community.atlassian.com/t5/user/viewprofilepage/user-id/1145830)


Answers:
author: Foong
body: Try this add-on [Chain Build Tasks for Bamboo](https://marketplace.atlassian.com/apps/1215563/chain-build-tasks-for-bamboo)

comments: author: krishna vaitla
body: [@Foong](/t5/user/viewprofilepage/user-id/502088) Thanks for replying.

I tried this add on it still required branches, so this did not work for my requirement :)

Thanks,

Krishna.
SBT Assembly Artifact
Asked by Kailash:

Hi , I'm trying to create Deployment project for my bamboo plan. As a part of it , im trying to create Artifact.

For SBT Assemblty everytime jar file will be created in

.../target/scala\<version\>/\<Assembly.jar\>

So now when i'm defining artifact what is the copy pattern i should give so that only jar file will be available for next Task( for eg: SCP Task)

for eg:

If i define

Location --\> folder/\<\<sbtproject\>\>/target

copy pattern --\> \*\*/scala\*/Assembly\*.jar

Then after next scp task , i can see Assembly jar with scala folder in target director

for eg:

scala-2.12/Assembly_0.21.jar

How can i over come this ? so that i can only copy jar files to respective envionments.

Kailash


Answers:
author: Kailash
body: Instead of \*\*/scala\*/Assembly\*.jar

scala\*/Assembly\*.jar

So now only Assembly jar is considered.


author: Victor Debone
body: Hello [@Kailash](/t5/user/viewprofilepage/user-id/2450000), welcome to the Atlassian Community :)

May I ask some clarifying questions before I can try to help you?

I want to understand better which part or behaviour of artifact copying in Bamboo you specifically want to overcome, maybe, can you rephrase your question?

Also, you mentioned that you have the SBT Assembly jar being created, is that being created from a build plan or an environment task?

Victor

comments: author: Kailash
body: Hi [@Victor Debone](/t5/user/viewprofilepage/user-id/1892075) , Thanks for reply.

The part where i was facing difficult was while defining the "copy Pattern" for Deployment Project.

So when i trigger the deployment project, the scp task was coping the assembly jar with folders as welll.

for eg: scala-2.12/Assembly_0.21.jar

I resolved this issue by adjusting the copy pattern.


author: Victor Debone
body: You're welcome [@Kailash](/t5/user/viewprofilepage/user-id/2450000), I'm glad that you found a working solution :)


Tags: artefact

deployment
Timeline for Linked Assets
Asked by Jenna Ringer:

We are using Jira Software and the Asset Management for Jira Application.   

The only thing I am missing (I think) is a Gantt/ Timeline View to help identify when a piece of equipment could become available.   

I have added all assets and their details into the Asset Management app, and linked an asset to my issue.   

Is there a way to create a Timeline using the Linked asset Names?


Answers:
author: Kaja Iske
body: Hi [@Jenna Ringer](/t5/user/viewprofilepage/user-id/5484531) , we've got the same problem. Have you found a solution now?


Tags: asset-management

assets

gantt

jira-service-desk-cloud

jira-service-management-cloud

jira-software

linked

timeline
Question about emailing to members of an object with member smart value
Asked by Phillip Jones:

Hello All,

I am working on an automation to email out a notification to a group that is assigned a ticket. The way we are using our groups is calling them "assignment groups" in our Assets.  

The automation I have right now I have attached as a screenshot, the problem I am running into is that when this rule runs it works perfectly, almost. It sends more than one email right now. One to the correct assignment groups and one to EVERY assignment group that ANY of the members are part of.  

For example my email is in this group and one other, so both groups get emails.  
Another member of the group is in six groups and thus he gets 6 emails and so do the members of those 5 other groups.  

Is there a way to make sure it only sends an email to the single assignment group that is assigned on the ticket? I think I am missing a condition or a lookup etc.

Thank you!  

![Automation object.png](/t5/image/serverpage/image-id/322399i61DB803B8456D968/image-size/large?v=v2&px=999 "Automation object.png")


Answers:
author: Kian Stack Mumo Systems
body: [@Phillip Jones](/t5/user/viewprofilepage/user-id/5193482),

Can you show how you are looking up the objects and then what the smart value is set to?

comments: author: Phillip Jones
body: So I found out the issue, I was looking at all memebers emails and not getting the one from the actual ticket itself.  
So my fix was to add this to the AQL lookup: objecttype = "Group name" and key= {{triggerIssue."Group name".key}}


Tags: cloud

jira-service-management

jira-service-management-cloud
Forms submitted action is not available
Asked by Sara:

I'm trying to add an automation so when a form is create will send a notification but I don't have the option to add a trigger, "Forms submitted", why is this? Thanks

I tried to do this: <https://confluence.atlassian.com/jirakb/forms-using-automation-to-notify-a-user-when-a-form-has-been-submitted-on-an-issue-1319246880.html>, maybe there is another way.


Answers:
author: Trudy Claspill
body: Hello [@Sara](/t5/user/viewprofilepage/user-id/3753558)

The "Form Submitted" trigger is available only if you are creating the rule within a Service Management project.

If you are creating a Global rule or creating a rule from within another type of project, that trigger is not available.

comments: author: Sara
body: Thank you!


Tags: cloud

jira-service-management

jira-service-management-cloud
How to Create a query of tickets that are generated every weekend?
Asked by Kevin Kumar:

Hi there,

how can i write a query to generate tickets that come in every weekend constantly to track?

Thank you.


Answers:
author: Dave Rosenlund _Trundl_
body: Hi, [@Kevin Kumar](/t5/user/viewprofilepage/user-id/5239617). Someone may suggest something better, but assuming you do this on Monday morning, off the top of my head:

```
created < now() AND created > endofDay (-3)
```

should do the trick.

Then [save the JQL as a filter](https://support.atlassian.com/jira-software-cloud/docs/save-your-search-as-a-filter/).

Best,

-dave

comments: author: Dave Rosenlund _Trundl_
body: You may want to be more specific with the '\< date' -- that's up to you.


author: Kevin Kumar
body: sounds good, thank you [@Dave Rosenlund _Trundl_](/t5/user/viewprofilepage/user-id/1164057)


author: Dan Breyen
body: Hi Kevin, I'm no expert with Automation, but I believe you could create an Automation to run on every Saturday (or whenever) and have the action be 'Create Issue'. Then you can create whatever tickets you need.

Hope that helps.

comments: author: Kevin Kumar
body: Thank you [@Dan Breyen](/t5/user/viewprofilepage/user-id/5086375)


author: Vijay Dadi
body: Hello [@Kevin Kumar](/t5/user/viewprofilepage/user-id/5239617) ,

You can try this filter also - created \>= startOfWeek() AND created \<= endOfWeek()

Thanks

Vijay


Tags: cloud

jira-service-management

jira-service-management-cloud
How to add custom fields data in email request?
Asked by Dinonath Khan:

so there is a email request in jira service management means through mail we can create the ticket means if i will send a mail to itms@abc.atlassian.net it will create a ticket

so in my request type form there is platform(platform is a custom field) and it is a dropdown in request type form ,so if we raise a request from customer portal than we are getting this platform dropdown we can able to select platform and create a ticket in Jira agent portal it will show selected value of platform, in platform there a options available in dropdown ==\> Netflix  
Primevideo  
hotstar  
so if we are raising tickets from customer portal these options are available in platform(custom fields)  
but while creating tickets through mail how can we pass platforms as a customer in email so that it will visible the platforms in tickets, do i need to configure something? please help me on that  

<br />

<br />

<br />

![Screenshot from 2024-05-07 19-01-49.png](/t5/image/serverpage/image-id/322370i0084E1CC39BC72CD/image-size/large?v=v2&px=999 "Screenshot from 2024-05-07 19-01-49.png")![Screenshot from 2024-05-07 20-22-19.png](/t5/image/serverpage/image-id/322371i8FB7832EE297AB56/image-size/large?v=v2&px=999 "Screenshot from 2024-05-07 20-22-19.png")


Answers:
author: Michel Neeser
body: Hi [@Dinonath Khan](/t5/user/viewprofilepage/user-id/5487871)

Emailed requests are limited to two fields: Summary (which is mapped to the subject of the email) and Description (which is mapped to the content of the email).

If you want to capture additional fields in a structured manner, you would have to guide your customers to the portal directly.

Hope this helps!

comments: author: Dinonath Khan
body: Thanks Michel


Tags: cloud

jira-service-management

jira-service-management-cloud
Date Format
Asked by Arlene OConnor:

So I created a form with a field using the Date field.

![2024-05-07_10-36-40.jpg](/t5/image/serverpage/image-id/322390iB927EF65CDCC91F9/image-size/large?v=v2&px=999 "2024-05-07_10-36-40.jpg")

When choosing from the the calendar, it appears dd/mm/yyyy.

However, when inputted into the email using the custom field link (which is linked to this field), it shows up as yyyy-dd-mm. I went into the settings section and all dates are shown in the correct format so I can't figure out why it is inverting like this.

![2024-05-07_10-36-57.jpg](/t5/image/serverpage/image-id/322391iB87A05DCDDC63D91/image-size/large?v=v2&px=999 "2024-05-07_10-36-57.jpg")


Answers:
author: Michel Neeser
body: Hi [@Arlene OConnor](/t5/user/viewprofilepage/user-id/5051565)

I am not sure how you're actually inserting the date into an email -- but if you're using smart values, you can format a date [like this](https://support.atlassian.com/cloud-automation/docs/jira-smart-values-date-and-time/):

```
{{date.format("dd/MM/yyyy")}}
```

Let me know if this helps!

comments: author: Arlene OConnor
body: Here's the way it appears in the email:

tentative to be released on {{issue.SRC-ReleaseDate}}

because the "release date" is important to the automation that triggers the email being sent out.


author: Michel Neeser
body: [@Arlene OConnor](/t5/user/viewprofilepage/user-id/5051565) I think the following expression should work then:

```
{{issue.SRC-ReleaseDate.format("dd/MM/yyyy")}}
```


author: Arlene OConnor
body: Thank you; that did work! Question, though: Because I couldn't find it in my searches of articles and other questions, can I change the dd/mm/yyy to read May 7, 2024 instead of 05/07/2024? Our communications director wants the email release to match precisely to the template she designed.


author: Michel Neeser
body: [@Arlene OConnor](/t5/user/viewprofilepage/user-id/5051565) You can achieve this with the following:

```
{{issue.SRC-ReleaseDate.longDate}}
```

Also, you can have a look at the large table at the top of [this article](https://support.atlassian.com/cloud-automation/docs/jira-smart-values-date-and-time/) to get an idea of the possible date formats.


author: Arlene OConnor
body: Thanks again for all your help!


Tags: cloud

jira-service-management

jira-service-management-cloud
Creating A Company Managed Projects without being a site-admin
Asked by Corey Dean:

Hello,

I need to give Project Managers the ability to create Company Managed Projects without making them Jira site-admins. These are the requirements they are asking for.

* create company-managed business projects
* create a company managed project template that will be used for all AMR IT PMO projects (Without buying an Addon)
* configure the template to allow for creating epics, milestones, service requests in those projects (Without buying an Addon)
* permissions to update workflows for the execution of these projects
* create custom fields

Any information is greatly appreciated.


Answers:
author: Dave Rosenlund _Trundl_
body: Hi, [@Corey Dean](/t5/user/viewprofilepage/user-id/3731372). I hate to be the one to tell you this, but it's requirements like these that led to the creation of Team Managed projects ?

We may agree or disagree where Atlassian draws the administration line, but I am afraid some of these things can only be done by system admins.

Checkout:

[**Change service project permissions**](https://support.atlassian.com/jira-service-management-cloud/docs/change-service-project-permissions/)

(I don't like reading doc. either, but it and the linked pages provide a good overview of what permissions you *can* give to your project managers.)

-dave

comments: author: Dave Rosenlund _Trundl_
body: P.S. Welcome to the community ?


author: Corey Dean
body: Thanks


Tags: cloud

jira-service-management

jira-service-management-cloud
Customer access question
Asked by Tine:

Customer say they cannot raise requests, and I can't find anything wrong in the settings. They also want to be able to edit their own tickets.


Answers:
author: Michel Neeser
body: Hi [@Tine](/t5/user/viewprofilepage/user-id/3660814)

Please refer to [this page](https://support.atlassian.com/jira-service-management-cloud/docs/set-up-and-manage-portal-access/) in order to check your configuration settings. The configuration depends on whether you want to have an open portal or if only invited customers should be able to raise requests. Either way, customers can see their raised tickets by clicking the button "Requests" on the top right of your portal.

Hope this helps!


Tags: cloud

jira-service-management

jira-service-management-cloud
Is it possible to hide the status field in Atlassian Assist issue view?
Asked by Test Team:

I realize the statuses can be displayed differently in portal, but I do not see the option to do it for slack view![Screenshot_37.png](/t5/image/serverpage/image-id/322306i32161C6AF23C3C45/image-size/large?v=v2&px=999 "Screenshot_37.png")


Answers:
author: Jennifer Lee
body: It's not possible if you didn't create or have access to SOMEONE ELSE'S ACCOUNT. Hint: if it yours then you control the account. If it's not then you just keep hacking until you break...

comments: author: Test Team
body: Thank you for the reply [@Jennifer Lee](/t5/user/viewprofilepage/user-id/5491863)

My aim is to hide the status of the ticket from customers in slack view of the issue, or at least display only pending and closed instead of waiting for support, waiting for approval and etc.


Tags: cloud

jira-service-management

jira-service-management-cloud
Platform 7 and Jira Data Center plugins development
Asked by dberrutti:

Hello community,

We are developing a plugin for Jira Data Center, and we are aware of the Platform 7 changes as described here: <https://developer.atlassian.com/platform/marketplace/dc-apps-platform-7/>

However, the atlassian-sdk-plugin we are using for developing our plugin ONLY ACCEPTS Java 8 (the sdk was obtained following the steps described here: <https://developer.atlassian.com/server/framework/atlassian-sdk/install-the-atlassian-sdk-on-a-linux-or-mac-system/>)

How can we develop a Java 17 plugin using a sdk that only accepts Java 8?


Answers:
author: Danylo Kobzar
body: <https://community.developer.atlassian.com/t/announcing-data-center-platform-7-0-next-step-to-improve-our-security-posture/76446/23>   
You can keep Java 8 in our code but build it for Java 17. Seems like this approach still requires both version of Maven/Gradle build configuration for Platforms version \< 7 and Platform 7


Tags: atlassian-sdk

data-center

jira-service-desk-data-center

jira-service-management

jira-service-management-data-center

jira-service-management-server
Can I change orange colour SLA display from 30 mins to breach to 2 hours to breach
Asked by arti.b.patil:

hello  
i am working on JSM DC 5.15 version.  
as per our requirement, we need to change Orange/Amber colour incidiation.

Currently system take less than 30 minutes left for the SLA to breach. and change SLA in Orange / Amber colour. I want to change it to - less than 2 hours left for SLA breach.  

Please help


Answers:
author: Sebastian Krzewi?ski
body: Hi [@arti.b.patil](/t5/user/viewprofilepage/user-id/5464142)

I'm afraid but this is not possible now. You can watch and vote for that feature - <https://jira.atlassian.com/browse/JSDSERVER-4535>

Regards,

Seba


Tags: cloud

data-center

jira-service-management

jira-service-management-cloud