youngmon/atlassian-qna huggingface dataset:
What are the folders without build key in bamboo build folder?
Asked by Kristian Svensson:

I'm trying to clean up in our Bamboo server. As part of that I got the disk usage of the folders in xml-data/builds. Some folders here have the name plan-xyz-JOBX instead of the build key. What are this folders and can I find which build plan they are for? As an example, one of the folders is called plan-290916042-JOB1.


Answers:
author: Jimmy Seddon
body: Hi [@Kristian Svensson](/t5/user/viewprofilepage/user-id/630703),

From what I have seen those folders contain build results for plan branches that have been cleaned up/deleted.

That numeric number is the internal reference for which plan/branch they were created for.

To determine what build they belong to you would need to look at the build_logs themselevs, it should still reference the plan/branch at the top of the log.

I hope that helps.

-James
Dynamic git source code checkout
Asked by Philippe Weber:

Hello,

I'm trying to achieve a git checkout of a specific tag/commit controlled by the execution of the build process.

In the plan configuration, I defined the repository to use a variable as a branch

![Screenshot from 2019-06-06 15-10-19.png](/t5/image/serverpage/image-id/56857i90C1E685D132AA62/image-size/large?v=v2&px=999 "Screenshot from 2019-06-06 15-10-19.png")

For it to work a default value must be assigned as a Plan variable, here using master![Screenshot from 2019-06-06 15-09-55.png](/t5/image/serverpage/image-id/56858i9FD69A2AF317E307/image-size/large?v=v2&px=999 "Screenshot from 2019-06-06 15-09-55.png")

Then in the build execution this variable value is overridden with a specific commit hash.

My issue is that when the corresponding Source code checkout task is executed, it is first checking out the repository before substituting the variable.

```

simple	06-Jun-2019 14:41:24	Starting task 'Checkout' of type 'com.atlassian.bamboo.plugins.vcs:task.vcs.checkout'simple	06-Jun-2019 14:41:24	Checking out into /ec/local/citnet/bamboo-agent-home/xml-data/build-dir/DISSCHAIN-DISSCHAINSOA25-REE/disschain-impl/extractionsimple	06-Jun-2019 14:41:24	Updating source code to revision: 94b8954182c9d96cb7f511b0a62caf226eb76b7acommand	06-Jun-2019 14:41:24	Substituting variable: ${bamboo.sources.release.tag} with 99b82efeed26c459d79d29cfd7d38226b88c55e8
```

So I end up with the wrong content.

I suppose the issue is because the repository is pooled for Change Detection by the Bamboo build upfront, but that is not what I need. In my case this is a copy of the main repository

I hope there is another configuration to achieve such dynamic checkout, but I need help finding it please...


Answers:
author: Daniel Santos
body: Hello [@Philippe Weber](/t5/user/viewprofilepage/user-id/761658)

I think I understand what you need, but I also know that you cannot achieve it using the strategy you planned.

Bamboo will now allow you to change server instance variables. The best you can do is to change them in the terminal, but that will not serve to your purpose. Tasks run from JAVA runtime which evaluates the variables before running the command on terminal.

Reference on variables not being overwritten:

* [How can i change a bamboo variable in a script task](https://community.atlassian.com/t5/Bamboo-questions/How-can-i-change-a-bamboo-variable-in-a-script-task/qaq-p/216146)  
  This post was answered by one of our developers on variables

I see two options for you to move forward:

1. **Run a customized build** You will be able to give a specific value to any plan variables if you run a customized build. More details at: [Running a plan build manually](https://confluence.atlassian.com/bamboo/running-a-plan-build-manually-289276898.html).
2. **Check out your code from a script task**   
   You won't have the facilities of a task or shared credentials for this, but you should be able to check out any repository as you can from your terminal.

I hope that helps.
Could not access this repository in Bitbucket Server
Asked by Marcelo Neto:

Hi everyone

Im getting this error, and i lost to much time and i dont find any solutions, someone can help me?

I get this error after add linked repositories

![Screenshot_1.png](https://community.atlassian.com/t5/image/serverpage/image-id/56806i15DE8ED439DCCC15/image-dimensions/684x182?v=1.0 "Screenshot_1.png")

if help i used bitbucket server version v5.16.0 and bamboo server version 6.7.2

Please someone help, its urgent.

Thanks

Marcelo


Answers:
author: Daniel Santos
body: Hi [@Marcelo Neto](/t5/user/viewprofilepage/user-id/2837902)

I'm sorry to hear that you are facing this issue.

As the message states Bamboo is not able to access the repository and therefore is asking you to try recovering this connection. A couple of checks that may guide to a better understanding of what is causing this issue:

1. **Check if this repository works outside Bamboo using Git client with SSH keys.**   
   This will allow us to make sure the problem is not in Bitbucket side.
2. **Check if there were any changes in Bitbucket server SSH port or address recently.**If the address is different or the port is closed Bamboo would not be able to access the repo.
3. **Try to resave the repository to reestablish the SSH keys**   
   This one will only work if the application links are properly configured and the user trying to save the repository has the permissions over this same repository on Bitbucket side.
4. **If resaving the SSH keys do not work, what do you see in the Bamboo server logs when you try resaving them?** Checking the file *\<Bamboo_Home\>/logs/atlassian-bamboo.log* will allow you to see if the public key was added again.  

Please let me know what you get from them.
Plan to execute on the agent depending on an input variable
Asked by Devendra Singh Rawat:

We have a Bamboo plan that is used to create tenancies in an application. The same plan can be used to create tenancies in Model or Prod.

We have separate agents for Model \& Prod. We want a way to select the agent based on an input variable when the plan is triggered.


Answers:
author: Jimmy Seddon
body: Hi [@Devendra Singh Rawat](/t5/user/viewprofilepage/user-id/3291969),

Welcome to the Community!

Can you provide a bit more information about what makes the agents for Model \& Prod different and what build tasks they are performing differently?

I'm almost wondering if what you really need is a deployment project instead of an input variable, any more information you can provide about what is being done would be helpful.

Thanks!

-James

comments: author: Devendra Singh Rawat
body: Thanks James for the response. Below are the details.

The main difference between Model \& Prod agent is that they are in different networks. Model agent connects to Model environment and Prod agent to Prod environment. Please note both the environment constitutes of same set of applications (though different instances).

With regard to tasks also they are doing exactly the same thing in Model \& Production. Just for reference the plan triggers an Ansible playbook which connects to multiple interfacing applications to manage tenancies. From build perspective the only difference is the endpoint used by respective agents the tasks the are same.


author: Jimmy Seddon
body: Hi [@Devendra Singh Rawat](/t5/user/viewprofilepage/user-id/3291969),

Ok based on your response you should look at using a Deployment Project instead of a Build Plan.

Here's a link to the documentation on what deployment projects are:

<https://confluence.atlassian.com/bamboo/deployment-projects-338363438.html>

In a nutshell, this will allow you to setup multiple "environments" (in your case Model \& Prod) you can then provide a list of tasks you wish to have run when deploying to that environment (which includes things like checking out configs from source code, downloading built artifacts, running scripts, copying files, etc.)

You can also assign agents to environments (which is exactly the piece you are looking for) where you get to decide which agent is capable of executing the set of tasks for a given environment.

I hope that helps answer your question!

-James


author: Devendra Singh Rawat
body: Thanks James the deployment project achieved my objective


author: Jimmy Seddon
body: Awesome! I'm glad that worked for you!

-James


Tags: plan

remote-agent
Is Jira Service Management not free anymore for 3 users?
Asked by Dario Garay:

Is Jira Service Management not free anymore for 3 users?


Answers:
author: John Funk
body: Hi Dario - Welcome to the Atlassian Community!

Yes, it should be. Can you provide more information as to why you would ask that?


Tags: cloud

jira-service-management

jira-service-management-cloud
Hide Custom Field in Customer Portal after Submission
Asked by Danny Marshall:

I currently have request that uses a workflow that requires approval. Our customers create request through our portal, we don't use the email channel to create requests.

I would like to add some custom fields that should only be visible when the customer creates the request through the portal and on the issue page for agents.

Once the ticket is submitted, I would like these particular fields to be hidden on the customer portal, this is because there is sensitive information contained in these fields that I do not want the approvers to see.

Is there a way to achieve this?


Answers:
author: Vijay Dadi
body: We can hide them in the JSM but not from the customer portal. Hope there is any app in marketplace which can do this.

comments: author: Danny Marshall
body: Thanks [@Vijay Dadi](/t5/user/viewprofilepage/user-id/5408989) I thought that may be the case.


Tags: cloud

jira-service-management

jira-service-management-cloud
What level of Permission I should have in JIRA in order to remove and suspend access of user in JIRA
Asked by Aman.Aggarwal:

Hi All,

I am an IT Admin responsible for managing JIRA and Confluence access for users in our organization. However, due to recent updates in JIRA, I am currently unable to remove or suspend users in the User Management section. Although I have been assigned the Site Admin role, it appears that these permissions are insufficient to perform the required actions. Do let me know what minimum access level one should have to perfom such action in JIRA.


Answers:
author: Michel Neeser
body: Hi [@Aman_Aggarwal](/t5/user/viewprofilepage/user-id/5398956) and welcome!

Atlassian is currently changing how user management works. If your instance already has the new experience, you need to be an Organization admin or User access admin to administer users. You can find more information on [this page](https://support.atlassian.com/user-management/docs/what-are-the-different-types-of-admin-roles/).

Hope this helps!


Tags: cloud

jira-service-management

jira-service-management-cloud
Force the users to add a date which is Now + 5 business days.
Asked by Susann Ivarsson:

We have a date customfield for "Desired delivery date". Our standard delivery time is 5 business days which is communicated lots of time but despite that they usually choose a date earlier than 5 days.

I want to create a behaviour to force the users to add a date which is 5 days or more from now. If they pick a date which is less than 5 days from now they will receive an errormessage.


Answers:
author: Florian Bonniec
body: Hi [@Susann Ivarsson](/t5/user/viewprofilepage/user-id/5034023)

You could use something like this

```
import com.atlassian.jira.component.ComponentAccessorimport com.atlassian.jira.issue.fields.CustomFielddef earliestDate = new Date().plus(5)def dateField = getFieldById(fieldChanged)def dateValue = dateField.value as Dateif (dateValue < earliestDate ){dateField.setError("Date cannot be earlier than (${earliestDate})") }
```

Regards

comments: author: Susann Ivarsson
body: Hi,

It works perfect but how do I excludes the weekdays?


author: Florian Bonniec
body: You could try something like this  

```
import com.atlassian.jira.component.ComponentAccessor
import com.atlassian.jira.issue.fields.CustomField

def earliestDate = new Date().plus(5)

def dateField = getFieldById(fieldChanged)
def dateValue = dateField.value as Date

if (dateValue < earliestDate ){
dateField.setError("Date cannot be earlier than (${earliestDate})") 
}


def addBusinessDays(Date date, int workdays) {
if (workdays < 1) {
return date;
}

def result = date;
int addedDays = 0;
while (addedDays < workdays) {
result = result.plusDays(1);
// Check if it's a weekday
if (!(result.getDayOfWeek() == DayOfWeek.SATURDAY || 
result.getDayOfWeek() == DayOfWeek.SUNDAY)) {
++addedDays;
}
}
return result;
}
```

<br />

<br />

Regards


Tags: behaviours

jira-service-desk-data-center

jira-service-management

jira-service-management-data-center

jira-service-management-server

scriptrunner

server
sent as a message in Microsoft Teams to the person I assigned it to
Asked by Aykan Inal:

Hello  
I want the incoming ticket to be sent as a message in Microsoft Teams to the person I assigned it to.  
How can I achieve this?


Answers:
author: Rudy Holtkamp
body: Hi [@Aykan Inal](/t5/user/viewprofilepage/user-id/4590463)

You can do this with Automation. Just create a new rule and select 'Issue assigned' as the trigger. Followed by the action 'Send Microsoft Teams message'.

It will look like this:

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

Then select the Send MS Teams message action, there you can follow the provided instructions to setup Teams correctly.

Good to know, your organization needs to facilitate the Teams part. (In my case our IT department does not allow connection to Teams ??).

Good luck  
Rudy

comments: author: Aykan Inal
body: to assigned person ? is it true ?


author: Move Work Forward
body: Hi [@Aykan Inal](/t5/user/viewprofilepage/user-id/4590463)

You can use [Advanced Microsoft Teams Jira Connector](https://marketplace.atlassian.com/apps/1216325/advanced-microsoft-teams-jira-connector?hosting=cloud&tab=overview) for this.

The Assignee needs to create a configuration to get personal notifications when an issue is assigned.

Cheers,  
Leo

comments: author: Aykan Inal
body: HOW TO?


Tags: jira-service-desk-cloud

jira-service-management

jira-service-management-cloud
Backing up assets
Asked by Steven Vits:

I want to create a flow (using power automate) to backup the assets.

Following [some](https://developer.atlassian.com/cloud/jira/service-desk/rest/api-group-assets/#api-group-assets) Info i get the workspaceID using an http get action to <https://MySite.atlassian.net/rest/servicedeskapi/assets/workspace>

I do however get stuck in the next step when I do use the workspaceID from the return of that call. <https://MySite.atlassian.net/rest/servicedeskapi/assets/workspace/{'workspaceID>'} is giving me a 404 not found response.

Anyone that can help me out with this please?


Answers:
author: Dirk Ronsmans
body: [@Steven Vits](/t5/user/viewprofilepage/user-id/5379734) ,

Are you including the { } in the url? those are placeholder and you just need to add the id itself behind the /

comments: author: Steven Vits
body: no I do replace the entire '[{'workspaceID](https://mysite.atlassian.net/rest/servicedeskapi/assets/workspace/%7B'workspaceID)'} like

<https://MySite.atlassian.net/rest/servicedeskapi/assets/workspace/c2d6a42d-e349-495d-ad64-126e959c61c7>


author: Dirk Ronsmans
body: Ah i see what you missed here.

To get the workspace ID you indeed use
> https://\<JSM Premium Site Name\>.atlassian.net/rest/servicedeskapi/assets/workspace

However then to communicate with the Assets module you actually use
> <https://api.atlassian.com/jsm/assets/workspace/{workspaceId}/v{version}/object/{id>}

So once you have the workspaceid you actually call <https://api.atlassian.com/jsm/assets/workspace/{workspaceId>} (so api.atlassian.com)


author: Steven Vits
body: <https://api.atlassian.com/jsm/assets/workspace/c2d6a42d-e349-495d-ad64-126e959c61c7/v1/object/4> return:

{  
"errorMessages": \[  
"NotFoundInsightException: Could not find Object with id: 4"  
\],  
"errors": {}  
}

however using devtools in edge It was possible to retrieve  
<https://MySite.atlassian.net/gateway/api/jsm/assets/workspace/c2d6a42d-e349-495d-ad64-126e959c61c7/v1/objecttypeexport/4>

contaminated with a payload

Not the cleanest way but it seems to work.


Tags: assets

backup

cloud

jira-service-management

jira-service-management-cloud
What happened to the obr files on Marketplace for Jira / Service Management?
Asked by cm piet:

I'm looking for obr files for Atlassian products, specifically Service Management - but this applies to Jira Software too. Similar questions were previously asked here and the answer received was on the marketplace: <https://marketplace.atlassian.com/apps/1213632/jira-service-management/version-history>

Well today the link doesn't work, and I can't find a listing for service management on the marketplace anymore. So where do the obr files live today?


Answers:
author: Curtis Kruger
body: I was able to retrieve the download URL by using the update button (it gave an error), and then by checking for the error in the atlassian-jira.log. For version Jira Service Management 5.12.8 it is <https://marketplace.atlassian.com/download/apps/1213632/version/1050120008>

comments: author: cm piet
body: Thanks, I was able to get what I needed (5.15.2) by manipulating the version to [1050150002](https://marketplace.atlassian.com/download/apps/1213632/version/1050150002) but its crazy that we're forced to resort to this for now.


Tags: jira

jira-service-management

jira-software

obr

unknown-hosting-type
Is there a Jira tool for customer portals for software implementation?
Asked by Joe Ellickson:

I am searching for a tool that can help our company with our implementation process and I am hoping I - considering we are a Jira support-driven team, and use Confluence as a knowledge base - to find a customer-facing solution to help manage our implementation process. *In short, I'm looking for the Turbo Tax of software implementation tools.*

**The goal is to have a customer-facing implementation portal to:**

* Introduce each phase of the implementation process including:
  * sections for each module
    * purpose, value, directions, and resources
  * sample document links
  * basic questions in various field (choice, text, likert) that accompany
* Automate responses to keep the customer moving in the process
  * Announce success
  * Prompt to keep going or offer help after X business days of no activity
* Document uploading
* Track customer completion and success and share it
  * by percentage
  * other positive reinforcement tactics
* Track the backend:
  * how our implementation team is doing in responding and moving customers through the process
  * where pain points in our process may be
* Other key additions
  * Limit the complexity for who and how people can provide information (logins or lack there of)
  * Auto-saving with each step and being able to move back and forward on the process
  * track conversations within the implementation through the software (so it's not lost in individual team member inboxes)

I'm aware of a few other tools out there and have demoed with them, and I am open to learning more about other solutions outside of this sphere, but the real opportunity is to have all of our team working out of our Atlassian suite.


Answers:
author: Nadhila Savira
body: Hi Joe,

This is Nadhila from the JSM team. I'd like to try and give you a suggestion here.

It seems that your requirement is quite complex, and as Support Engineer, I'm afraid we cannot give you the thorough consultation that you might need to ensure the fulfilment of your inquiry.

However, I think our Partners can be your perfect solution here. They can help you from the designing phase, to training your staff members in the end of implementation. You can find an Atlassian Partner in your area here: <https://partnerdirectory.atlassian.com/>


Tags: cloud

jira-service-management

jira-service-management-cloud
Printing tickets with attachments
Asked by Anthony Lim:

Hi,

Looking for a way to automate this task. I want to print a ticket (with the activity section showing all), and also include all the attachments, and place everything inside a folder. Also, I hope it can do the same for any subtickets that exist for the ticket. If there are any services that do this, please let me know.


Answers:
author: Joseph Chung Yin
body: [@Anthony Lim](/t5/user/viewprofilepage/user-id/5501644) -

Welcome to the community. Unfortunately it is possible out of the box especially dealing with issue's attachment content. What is your reasoning wanting to automate this type of operations? Please advise.

You may want to search in Atlassian Marketplace to see if there are any third party add-ons that will achieve what you wanted to do.

[https://marketplace.atlassian.com/search?hosting=cloud\&product=jira-service-management\&query=export](https://marketplace.atlassian.com/search?hosting=cloud&product=jira-service-management&query=export)

Majority of those add-ons address the issue export, however I don't believe they will be able to extract the actual issue's attachments content since attachments are different objects stored in the environment.

Hope this helps.

Best, Joseph Chung Yin

comments: author: Anthony Lim
body: Hi [@Joseph Chung Yin](/t5/user/viewprofilepage/user-id/396739) ,

Thank you for your reply. I'm currently trying to automate auditing tasks, and hope to transfer all the information in a ticket to a zip folder (ticket, activity section, attachments, subtickets). Currently, it's a very manual process to grab all the information, but luckily filing the tickets is easy.

Thanks

Anthony Lim


Tags: cloud

jira-service-management

jira-service-management-cloud
How to set up a customize drop list field with option to manually enter a value
Asked by Allen Chen:

I am familiar with regular drop list field configuration but customer wants a drop list field with 2 preset values as available options, for example, A and B, and the third option would be "Others". When "Other" is selected, customer wants to be able to manually enter text or values. This field will be used on issue creation and issue view. Is this achievable on Jira cloud? Maybe by using third party apps?

Thanks!


Answers:
author: Mikael Sandberg
body: Hi [@Allen Jingshi Chen](/t5/user/viewprofilepage/user-id/5501605),

Welcome to Atlassian Community!

You can achieve this by using [Forms](https://support.atlassian.com/jira-service-management-cloud/docs/use-forms-in-jira-service-management/) on your request, it has an option to add Other and if selected the customer is prompted to enter a value.

comments: author: Allen Chen
body: Hey Mikael,

Thank you for the reply.

It worked but I have two questions.

1. You have to go to the customer portal to create the issue. Can you do this in the below user/agent issue creation page?

![Screenshot 2024-05-20 155911.png](https://community.atlassian.com/t5/image/serverpage/image-id/324889i62597A3A3A6EF475/image-size/large?v=v2&px=999 "Screenshot 2024-05-20 155911.png")

2. It is not a field but a form, is there a way to do this using fields?

Thank you!


author: Mikael Sandberg
body: No, forms cannot be visible from the Create issue screen, you would either enable the generic URL from where you can create issues, or after the issue is created you add the form to it.

If you need it to be visible from the Create issue screen you would need an app like scriptrunner or one of the other scripting apps available in the Marketplace in order to do this. Also note that in order for customers to use the Create button they have to have a Jira license.


Tags: jira-service-desk-cloud

jira-service-management

jira-service-management-cloud