youngmon/atlassian-qna huggingface dataset:
Getting a issue with linked server issue in Bamboo with Bitbucket
Asked by Dharma Raju:

Hi ,

We are having Stash repository and it was integrated with Bamboo CI server. Now we migrated Stash repository to BitBucket repository latest version.

We created an app link of BitBucket server to bamboo and we removed the existing stash app link in the Bamboo server. After that, we are able to see all the repositories in the Bamboo server getting from Bitbucket server but while selecting any repository under server section it is showing Blank. we can able link the server repositories link and branches manually but we are using more than 100 repositories in the Bamboo server. Is there any way to link the server, repositories, and branches in an automated way like update the scripts or else any configurations, how it is working earlier with stash repository.

Please help me out.

Thanks,

Dharma.


Answers:
author: Jeyanthan I
body: Did you mean that you cannot list any repositories after integrating with your new Bitbucket server?

Generally, when you've changed anything in your environment, it's best to recreate the application link in both bamboo and bitbucket side. Could you please try the same?

This [Troubleshooting guide](https://confluence.atlassian.com/kb/application-links-troubleshooting-guide-718668765.html) might come handy.

Also, look out for hints in the tomcat logs.


Tags: bitbucket
Build Automation Tools Confusion
Asked by Ali Raza:

Hello All,

I am new to Bamboo and I watched some videos about bamboo and found it really great and have an understanding of the overall structure of bamboo. Right now I am confused that what I want to do is possible in bamboo or not.

My task:

* Get the latest Software from Bamboo---- Can be done in bamboo.
* Run Code Composer Studio and Generate Hex File--- Not sure How
* Run Flash Programmer and Load the Hex file on Chip---Note sure how

is this possible in bamboo? How can I connect my 2 softwares with bamboo?

BR

Ali Raza


Answers:
author: Cristiano Mariano
body: Hi Ali! How are you doing?

Integration with 3rd party tools is usually done using a plugin or command line.

I don?t know whether there are plugins to integrate these tools and Bamboo but I found some command lines for them (maybe you already use them):

Code Composer Studio: <http://processors.wiki.ti.com/index.php/Projects_-_Command_Line_Build/Create>

Flash Programmer: <https://community.nxp.com/thread/389139>

You could create a Build Task of type Script and invoke these command lines from there.

Hope this helps!

Thanks,

Cristiano
Scheduled deploy to PROD only if DEV deploy went green?
Asked by serge-clearpoint:

Hi,

I'm trying to "chain" deploys in that if the DEV deploy goes green (is successful) it should then deploy to PROD.

However! We have a designated "deploy window" for PROD, meaning that we can only deploy during certian times of the day. Therefore we made use of the "scheduled" deploy functionality.

This worked, until one day we found that the PROD deploy project, deployed a version which had passed the "build", but failed the "DEV deploy" stage.

It seems that this is due to Deployment Projects only being able to download artifacts/releases from the Build project, if they're run on a schedule.

Is there any way to specify "Deploy to PROD at 2am daily the last successful release deployed to DEV"?


Answers:
author: Cristiano Mariano
body: Hi Serge! How are you doing?

I am not sure this is possible to achieve using Deployment environments.

What do you think of moving the DEV deployment to a stage in your build plan? This way, if your deployment in DEV fails, your build will be red. You will loose some features of deployments, but at least you make sure only green builds go to PROD.

Hope this helps!

Thanks,

Cristiano

comments: author: serge-clearpoint
body: Hi Cristiano!

Thank you for your reply. Yes, that is what it looks like we are going to have to do. We are also looking at having a task in the scheduled deploy to check (through the Bamboo API) that the version was successfully deployed to DEV before deploying to PROD.

Cheers

Serge


Tags: deployment

project

release
Can i get all builds data of a plan through rest api reference in bamboo??
Asked by surajso:

i couldnt able to find any solution for getting all build data in bamboo .it only gives data of latest 25 builds not for all builds.

is there any way to acheive this???


Answers:
author: Steffen Opel _Utoolity_
body: A common pattern to achieve this is:

* Get the size of the result set via 'max-results=1'  
  https://localhost:8085/rest/api/latest/result/PROJECTKEY-PLANKEY.json?max-results=1
* Use the output's '$results.size' value to request the entire result set  
  https://localhost:8085/rest/api/latest/result/PROJECTKEY-PLANKEY.json?max-results=\<$results.size\>

Unfortunately there seems to be a bug with this particular API only returning $results.size=1 rather than the actual result set size, see [Result resource shows incorrect size of build results (BAM-17961)](https://jira.atlassian.com/browse/BAM-17961).

**Workaround**

Using an arbitrary large number (say 1,000,000) that is greater than the actual result set seems to return the actual '$results.size':

* Get the size of the result set via 'max-results=1000000'  
  https://localhost:8085/rest/api/latest/result/PROJECTKEY-PLANKEY.json?max-results=1000000

This returns the actual $results.size=x for me, allowing a proper request for the entire result set in turn.


Tags: bamboo-administration
Can i get all builds data of a plan through rest api reference in bamboo??
Asked by surajso:

i couldnt able to find any solution for getting all build data in bamboo .it only gives data of latest 25 builds not for all builds.

is there any way to acheive this???


Answers:
author: Jeyanthan I
body: I see that there is an existing Bug raised here - <https://jira.atlassian.com/browse/BAM-17961>.

<br />

As mentioned there, the possible workaround would be to use an arbitrarily large number (say 1,000,000) that is greater than the actual result set seems to return the actual '$results.size':

* Get the size of the result set via 'max-results=1000000'  
  https://localhost:8085/rest/api/latest/result/PROJECTKEY-PLANKEY.json?max-results=1000000

This returns the actual $results.size=x, allowing a proper request for the entire result set in turn.

<br />

Hope that helps!


Tags: rest-api
Cannot Change Pinned Auto Slack Message Created from the JSM Incident ChatOps
Asked by Kylie Pak:

We have successfully configured our JSM Incident project w/ slack so that we can create new slack channels for each incident from the incident ticket. But upon creation a message is generated and pinned to the top of the channel that we are unable to edit. We do not use services and utilize a different field for priority. We would like to be able to remove and ideally replace the priority and service fields in this message.


Answers:
author: Kylie Pak
body: ![fa865041-8b9c-4cc4-bd9e-8a9cd78ff833.png](https://community.atlassian.com/t5/image/serverpage/image-id/305548i5724C8732A7DA9BA/image-size/large?v=v2&px=999 "fa865041-8b9c-4cc4-bd9e-8a9cd78ff833.png")

comments: author: Kylie Pak
body: This is the post that we are trying to remove "services" and "priority" from.


Tags: cloud

jira-service-management

jira-service-management-cloud
I am not receiving JIRA email notifications as a admin, reporter or even as an assignee
Asked by Lakshmi Kumari:

Hi,

I quit and re-joined a month back and since then I haven't been able to receive any JIRA email notification for any changes made to a project in terms of any transition or comments added/deleted etc. Looks like my email ID is disabled by Atlassian and maybe the emails are bouncing back.

Please review and re-activate my account/email ID so that I can see the JIRA email notifications.

Regards,

Lakshmi


Answers:
author: Andy Heinzer
body: Hi [@Lakshmi Kumari](/t5/user/viewprofilepage/user-id/5203874)

I found there was a suppression on our side for your account. This typically happens if we attempt to send a message to your address and your SMTP mail server responds in a manner that states your account is disabled or non-existent.

You should be able to receive new notifications from our Cloud services again now.

Andy

comments: author: Lakshmi Kumari
body: Hi Andy,

You are right. I made few changes to few tickets and I received email notifications.

Thanks again. Have a great day ahead.

Regards,

Lakshmi


Tags: cloud

jira-service-management

jira-service-management-cloud
Atlassian support for BAA HIPAA questions
Asked by Stephanie Meyer:

Hello, we are in the process of signing a Business Associate Agreement and our legal team would like to speak with someone at Atlassian on this. Is there a phone number to call to speak to a real person?


Answers:
author: Dan Breyen
body: Hi [@Stephanie Meyer](/t5/user/viewprofilepage/user-id/5293076) welcome to the community! I would suggest opening a ticket with [Atlassian Support](https://support.atlassian.com/contact/#/) to get your questions answered. They monitor these community posts, but it might be faster with a ticket.

Hope that helps.


Tags: cloud

jira-service-management

jira-service-management-cloud
Changing order of customer actions in portal
Asked by Alec Fields:

Hello!

I am working on developing a customer service portal, and I have a question about how issues are viewed in the portal.

First, what is this section of the ticket called, and can I change the order of the options?

![Screenshot 2024-02-09 134742.jpg](/t5/image/serverpage/image-id/305528iA37E7C56BAE2C5AE/image-size/large?v=v2&px=999 "Screenshot 2024-02-09 134742.jpg")

In the screen capture above, I have also changed the name of one of the workflow transitions, but it has not updated in the portal. Any suggestions?


Answers:
author: Jack Brickey
body: I am not sure about what creates the order, but I suspect it is based on the order of creation. You could test that by creating a temporary transition and see if it shows up at the bottom.

comments: author: Jack Brickey
body: And if my assumption pans out, you could create an entirely new workflow and create the transitions in the order in which you wish them to appear. Once that workflow is created, you can associate it to the issue type replacing the existing one.


Tags: cloud

jira-service-management

jira-service-management-cloud
Sending conditional emails directly based on user selections
Asked by jusgray:

Greetings, Community

I created a form and would like to send a confirmation email to the person who created the ticket (reporter/initiator) and to the user that the reporter/initiator selects. I've gotten this far but got stuck on what to do next.

For more context, I've created a nested form "Details" within the main form of "Security Access". Label is called "Dep. Approver". When a user selects "approver 1" and submits the form it should email the person filling out the form and the person selected with checkboxes.

Any assistance in the right direction will be greatly appreciated. Thank you in advance for your response(s).

![Screenshot 2024-02-09 132123.png](https://community.atlassian.com/t5/image/serverpage/image-id/305521i05482D54CE713BFE/image-size/large?v=v2&px=999 "Screenshot 2024-02-09 132123.png")![Screenshot 2024-02-09 132708.png](https://community.atlassian.com/t5/image/serverpage/image-id/305522iC3FDE3220E5ED0B5/image-size/large?v=v2&px=999 "Screenshot 2024-02-09 132708.png")


Answers:
author: Jehan Bhathena
body: Hi [@jusgray](/t5/user/viewprofilepage/user-id/5363403) ,

When you say "Nested form" do you mean you've added the field "Dep. Approver" under conditional access in a JSM form?

Also, have you mapped the Dep. Approver to any Custom field in Jira or is this value stored only in the form?

If the value is stored in a Custom field then the automation becomes quite simple, you just need to fetch the value from the field and pass it as a value to the SEND EMAIL action.

If you're storing it only in the form, this might get tricky. You need to use APIs to get the value then. First you'll have to find the FormID using <https://developer.atlassian.com/cloud/forms/rest/api-group-forms-on-issue/#api-issue-issueidorkey-form-get> (or perhaps a different API). The to get the values use the below API to get it in Simple form:

<https://developer.atlassian.com/cloud/forms/rest/api-group-forms-on-customer-request/#api-request-issueidorkey-form-formid-format-answers-get>

Once you have the values, if there are more than 1 values loop thru them and send Emails.

Given your use case I would suggest you map the form field to a Custom field, since it makes life much easier and you may not need to apply a complex automation to process the Form values.

comments: author: jusgray
body: Thank you, I am new to JSM and sometimes forget the terms. I have a service request and have an attached form.

Your first suggestion worked where I created a custom field, but it appears I can only that to the request type and not to the custom form. I could work around that by adding another form, but it seems that I can only add one form per request type. Another option would be changing the layout options in the service request, but also doesn't seem like an option JSM provides.

Your second option seemed pretty solid as well, but not familiar with using API calls within JSM yet.


Tags: automation

cloud

condition

email

jira-service-management

jira-service-management-cloud
Can I have customers getting notified by default
Asked by Duarte Meneses:

Hello,

I have a service management project for a group of customers that are under the same organization. I need them to receive notifications when any customer belonging to the organization creates a ticket or a ticket is commented, transits status or is modified.

The organization is added to each ticket when it is created and customers are able to see them, but, somehow, they do not get notified.

Customers are able to see the tickets shared by the organization but when they enter a ticket, by default the notifications are off. They are able to click there and turn notifications on but is it possible to have customers that option turned on by default?

![image.png](/t5/image/serverpage/image-id/305520iDFEF96EB7F0CC87A/image-size/large?v=v2&px=999 "image.png")

Thank you


Answers:
author: Dan Breyen
body: Hi [@Duarte Meneses](/t5/user/viewprofilepage/user-id/4763989) if you want every ticket opened by an organization to be sent to all customers of an organization, you should check this setting. Under settings (the gear) / Products look on the left for the 'Jira Service Management' section. Under Configuration / Organization Management there is a setting called "Should new request automatically be shared with a customer's organization". This should send out notifications to everyone in the organization by default.

That would be the first thing I would look at.

Hope that helps.

comments: author: Duarte Meneses
body: That option helps when a ticked is created. I tested it and all customers got notified when a ticket was created. But then, they still need to click on "notifications off" (inside the ticket) to get other notifications related to the ticket? Is it possible to have those notifications on by default?

Thank you for the help.


Tags: cloud

jira-service-management

jira-service-management-cloud
JQL for cases updated by the reporter
Asked by victoria chaumeton:

We want to have a filter that shows when a case is updated by the person that the case it opened for "reporter" or the additional participants.

thanks

vicki


Answers:
author: Mikael Sandberg
body: You can use [updatedBy](https://support.atlassian.com/jira-service-management-cloud/docs/jql-functions/#updatedBy--) function, but you would have to specify the user, you cannot use reporter as part of the JQL.


Tags: cloud

jira-service-management

jira-service-management-cloud
Rich custom field text is not saved in outgoing email.
Asked by Marat Popov:

I need to save the formatted text in sent email.

1. I made a custom "Send Email" screen to send emails whose body contains the contents of a formatted field "Mail body".![send email screen.jpg](/t5/image/serverpage/image-id/305515i44DD5BFE480D0CAD/image-size/large?v=v2&px=999 "send email screen.jpg")
2. The sent email doesn't contain formatted text and looks like this:![result.jpg](/t5/image/serverpage/image-id/305516iF25A08ADF4E1B476/image-size/large?v=v2&px=999 "result.jpg")
3. I am sending an email through the JWT post function functionality "Send Custom Email". In the post function, the "Email Format" option is HTML and the custom field "Mail body" (cf14911) is a multi-line field with Active Renderer - Wiki Style Renderer.![post-function.jpg](/t5/image/serverpage/image-id/305511i6B9A46B2704799D6/image-size/large?v=v2&px=999 "post-function.jpg")![mail body.jpg](/t5/image/serverpage/image-id/305512i24C90251129F53CE/image-dimensions/422x220?v=v2 "mail body.jpg")
4. The 'User Default Settings' are as follows:![user default setting.jpg](/t5/image/serverpage/image-id/305517iA894BB42126FF045/image-size/large?v=v2&px=999 "user default setting.jpg")


Answers:
author: Marc - Devoteam
body: Hi [@Marat Popov](/t5/user/viewprofilepage/user-id/5396962)

mail sent is always text or html as a global setting.

If you want formatting in email you need to do this in html encoding.

Wiki Style rendering setting on applies to the field used in the system, this formatting will not be used in sending mail.

JWT has a special function for this.

See the documentation [here](https://apps.decadis.net/display/JWTSDC/Copy+formatted+description+of+issue+into+email)

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

Thank you very much for your response!

I didn't know about wikiToHTML() function.

Now it works as I expected!


Tags: jira-service-management

jira-service-management-server

server
How to setup only particular domain users mails can create ticket in jira ?
Asked by Neeraj Pandey:

How to setup only particular domain users mails can create ticket in jira ? No, other domain mails can create a ticket in Jira.

We aim to restrict ticket creation in Jira to only users with email addresses from our company's domain. However, even after specifying the allowed domains and selecting the "Internal Only" option in customer permissions, tickets are not being created when emails are sent from users with company domain email addresses. Currently, only users added as project members are able to create tickets by sending emails.


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

Just don't add users who are not in that domain into the create permission for your projects.


Tags: cloud

jira-service-management

jira-service-management-cloud
How can I migrate an existing Jira Software project to a Jira Service Management project ?
Asked by Christoph:

Hi there - we are currently running a trial with JSM on-premise and wonder if we can migrate an existing JSW project to JSM.

The idea is to reuse / recycle an existing Jira Software project (used as a Helpdesk project) to Jira Service Management.

Goal is to have all existing issues (read: Helpdesk tickets) available in the future JSM project.

We tried to switch the project type from Software to Service - didn't help.

We tried to create a new project with a shared configuration reusing the old JSW project - didn't help.

We don't get the new "Request Types" etc. so we assume we must have missed something :(

Any help is most appreciated - Thanks Christoph


Answers:
author: John Funk
body: Hi Christoph,

You cannot just change the project. You have to create a new project and then migrate the data.

comments: author: Christoph
body: Sorry - but somehow my instance seems wierd after installing JSM. I can still create Software projects and Business projects as before. But there is no "Create (new) project" for Jira Service Management. Only something labeled "Insight IT Service Management" which is probably not what I'm looking for.

Any thoughts what I'm missing here ? I've checked the usual JSM Getting started Guides - they all simply say "Create project" .....

NB: Restarts / Reindexing didn't help

NB2: Nothing suspicious in the jira-servicedesk.log


author: Christoph
body: Just for information - clearing TomCat / temp directory and reinstall JSM helped. Can create a JSM project now and yes - MOVING issue works basically.

Obviously need to work on a number of custom fields so that they get moved as well, but that's another story.


author: Thomas Deiler
body: Dear [@Christoph](/t5/user/viewprofilepage/user-id/572675) ,

have you tried to create a new JSM project, configure to for your needs and then MOVE the issues of your JSW project to the new JSM?

Bye

Thomas

comments: author: Christoph
body: No, but sounds like a reasonable idea - will give that a try and report back. Have a great day - Thanks Christoph


Tags: jira-service-management

jira-service-management-server

server
What effect does editing a workflow have on the project or projects it is associated with?
Asked by Drew Montagna:

Hello,  
New to Jira.  
Trying to establish if editing a workflow within a project will impact other projects it is associated with. I am assuming any workflow can be part of a workflow scheme that is assigned to several different projects. Or, is a copy created, assigned to the workflow scheme per the project your working in, while leaving the original workflow in tact?


Answers:
author: Robert Wen_ReleaseTEAM_
body: Hello [@Drew Montagna](/t5/user/viewprofilepage/user-id/5426440) ! Welcome to the Atlassian Community!

Yes, on business-managed projects, if you change a workflow the changes apply to all projects that use that workflow. This could happen with multiple projects using the same workflow scheme or each project on separate workflow schemes that have the same workflow in them.

comments: author: Drew Montagna
body: Hi Robert,  
Thanks for the fast response.

I'm using the free instance of Jira, in a company managed project.  
I would assume the new workflow affects only new issue types as they are added to the project(s), correct? Is it any different on team based projects?


author: Drew Montagna
body: Also, I cannot see where I would add the project columns that correspond to the new statuses I now have, based on the new workflow.


author: Robert Wen_ReleaseTEAM_
body: Let me see if I answer your questions.

1. Any workflow changes will affect ALL issue types associated as defined by the workflow schemes. In fact, if the changes involve removing statuses, it will prompt you to remap the removed statuses. It will be similar on team-managed projects.

2.You need to go to the configuration of boards to map columns with any new statuses.


author: Drew Montagna
body: I'm clear with answer 1.

Is the 'configuration of boards' at the admin level, or project level?  
Can you supply an example path?

Thanks for your help.


author: Robert Wen_ReleaseTEAM_
body: Here is the documentation. <https://support.atlassian.com/jira-software-cloud/docs/configure-columns/>

A project admin or the board admin can configure the columns on a board.


author: Drew Montagna
body: Great. Thanks.


Tags: cloud

jira-service-management

jira-service-management-cloud