youngmon/atlassian-qna huggingface dataset:
Is it possible to change release contents?
Asked by aksata:

I have created release for my deployment project and I have used certain release branch for this purpose. After that, one artifact have been added on this branch, but release contents in release that I have created have not changed. Can I somehow update it or do I have to create new release? I mean the release contents which you see in release details. There are only 2 artifacts, but release branch creates 3.


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

The best approach is to create another release. I say that because Bamboo was designed in a way that releases are snapshots of something that happened in the past and will not be changed. We create a release when a build is ready to be deployed.

I was running some tests here and if there is no release after the one you want to fix for that plan, you can delete the release and create it again. That should allow you to fix the issue. Keeping the same release.

I hope that helps.
Can I change build status and add label post build using rest api?
Asked by schow-lmi3d:

I want to be able to change the build status and add a label after a build has finished. We have integration tests that get run and if they fail I want to be able to modify the build accordingly. How can I do this with the rest api?


Answers:
author: Daniel Santos
body: Hi [@schow-lmi3d](/t5/user/viewprofilepage/user-id/2182869)

To create the label you could use a call like:

```
curl -X POST --user <USER>:<PASSWD> -H "Content-Type: application/json" -d '{"name":"new-label"}' <BAMBOO_URL>/rest/api/latest/result/<BUILD-KEY>/label
```

Regarding the change of build status. Are you trying to start, stop, rerun builds?

What would be the change in status that you mentioned?

comments: author: schow-lmi3d
body: We have integration tests that run on a separate plan. We want the integration to change the state of build plan if the integration plan fails. I want to know if there is a REST API to alter the build plan to fail.


author: Daniel Santos
body: We can't change the status of a build unless we run it again and it fails. Without knowing your environment I would risk saying that your integration test should be part of the build plan you want to change the status. This would make this plan fail when the integration test fails.   

Does that make sense?  

<br />


author: schow-lmi3d
body: Theres a few reasons why I didn't add integration tests as another stage in the plan. Thanks for the information.


author: Daniel Santos
body: Maybe running them as a manual stage?  
That would allow you to update a green build (green, but which still have stages to run) to a failed one in case that stage fails. Maybe your integration tests will take a lot to run and you don't want them to run every time... I'm just trying to provide you with a suggestion that may help you moving forward.


Tags: rest-api
"Single daily build" trigger with custom variable
Asked by Anton Egorov:

Hi all!

We have a plan with a required variable - everyone who runs the plan has to specify it manually using "Run customised..." -\> "Override a variable".

Now I want to add two "Single daily build" triggers:

1. Triggers everyday at 4am with this variable overridden with value "X"

2. Triggers everyday at 6am with this variable overridden with value "Y"

Is there a way to do it? Seems that triggers don't know anything about variables.


Answers:
author: Daniel Santos
body: Hi [@Anton Egorov](/t5/user/viewprofilepage/user-id/2441620)

You won't be able to use Bamboo triggers to achieve this, as you already know.  

What you can do instead is to configure your server cron or even create a special plan in Bamboo that will serve as your cron to call the following REST API:

```
curl --user <USER>:<PASSWORD> --data "bamboo.variable=value" -X POST <BAMBOO-URL>/rest/api/latest/queue/<PLAN-KEY>
```

Using this endpoint you are able to start a build with the specified variable you want.  

In case you want to create a special build in Bamboo for that, then you will need to create a script task to check the time and decide whether the variable to be passed is X or Y.  

I hope that helps.


Tags: trigger

variable
Bamboo Task not stopping
Asked by Vineesh:

I am running a python script in bamboo. by using the below task as 'script'

```
C:\Users\username\AppData\Local\Programs\Python\Python37-32\python C:\Users\userna\bamboo-home\xml-data\build-dir\GP-GIT-GIT\AppName\app.py

```

But, it is not completing the and it is always show in progress, please see the below screen shot.

![bamb.PNG](/t5/image/serverpage/image-id/60598iC6F54455B4BFE3FF/image-size/large?v=v2&px=999 "bamb.PNG")

I am using a flask-python application.

Ie, Flask application could not complete the task. always running. I want to run the entire program(1. Check out source code from the Git, and run the flask program) when a new commit in Git.


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

It is possible that the script you are running is not finishing.  
Have you run this script on windows terminal from outside Bamboo to check how it behaves?  

Are you able to stop the build by going to **Actions \>\> Stop Build** ?
Bamboo Specs accessing code repository?
Asked by Kevin Matlock:

I'm working through a setup of Bamboo Specs. Due to firewall restrictions I'm unable to host my bamboo specs repo out in the cloud since it wouldn't have access to my internal Bamboo server; as a result, I've also installed Bitbucket Server on the same machine running Bamboo and have linked these two apps on this machine. This Bitbucket server instance is only to store my Bamboo Specs changes.

Using the "Bamboo Specs tutorial" I can push changes to this tutorial's plan and all works as expected. Obviously, this tutorial plan has not repos defined.

I'm having problems when I try to change one of my real build plans, where the source for the plan is a linked repo out on Bitbucket Cloud. The changes are clearly noticed by Bamboo but I end up with the following error:

repository '(Bamboo Server's bamboo-specs repo)' is not permitted to use following repository(ies): (Bitbucket Cloud repo used during build time)

com.atlassian.bamboo.exception.RssPermissionException: The plan stored in repository '(bamboo specs repo)' is not permitted to use following repository(ies)...

How can I get Bamboo to simply process my Specs changes and not have it do anything with the linked repo in the cloud?

I've tried adding my Specs repo to this plan as the first entry (the "default"?) hoping it would just "use" (whatever that means; unsure what it's trying to do) the repo running on my local Bitbucket Server.

How can I work around this error?

thanks


Answers:
author: Daniel Santos
body: Hi [@Kevin Matlock](/t5/user/viewprofilepage/user-id/1490865)

The issue you are facing seems to be caused by a missing permission configuration in your linked specs repository.

Do you mind checking if the specs linked repo has the **Repository configuration \>\> Permissions \>\> Bamboo Specs repositories access**configured as expected for the repositories that your plan is trying to use?

comments: author: Kevin Matlock
body: Excellent, this addressed the issue. I didn't see much documenting the need for that, but this was certainly my problem.

Thanks very much for the response and for the help!


author: Daniel Santos
body: Hi [@Kevin Matlock](/t5/user/viewprofilepage/user-id/1490865)

Thank you for the feedback. I've opened the following feature request to address this issue. Voting on it is a good way to flag this as something important.

* [\[BAM-20537\] Lack documentation on Java repository stored specs permission to access other repos](https://jira.atlassian.com/browse/BAM-20537)

Have a good one!


Tags: spec
Deployment plan result show in plan status
Asked by MS:

Is it possible to change the status of the plan to unsuccessful if the deployment plan was unsuccessful? Although, the plan itself has been ok (stages and tasks)?


Answers:
author: Alexey Chystoprudov
body: Hello [@MS](/t5/user/viewprofilepage/user-id/2211572) ,

Deployment projects were designed to be separated from build dashboard. Imagine situation when you have several builds to be executed against your commit. Then deployment is different point of view on your artifact with separate lifecycle.

If your configuration allows one-to-one mapping of build plan -\> artifact -\> deployment. Then maybe you can make deployment phase as Manual stage of your plan:

```
Plan

| - Build & test stage

|? ? ? ? |- run tests

|? ? ? ? \- build artifacts

| - manual stage

|? ? ? ? \- deploy artifacts
```

It will allow you to run deployment on demand and mark build result with outcome of deployment

comments: author: MS
body: Hello Alexey,

thank you for the quick response. There are two build stages and two artifacts in my project. Both artifacts properties has been marked as "Shared" and "Required". I used "Triggers" functionality which allow deployment process starts right after the correct build.  
In the "Other environment settings" section it is possible to set notifications for a specific person in case of deployment problem but you have to notice the email.

I do not fully understand your advice. I can add deployment as part of the project (next stage) and then I will have information about deployment on the dashboard but I would prefer to keep deployment as separate project.

Perfect solution will be checking build/ link deployment status without checking project properties but I am afraid that this is not possible at this moment. I simply wanted to know did I missed something.
Bamboo Admin Issue
Asked by ShowMgr_IT:

Hello I recently have been trying to upgrade our ancient installation of bamboo server.

I successfully completed the setup and imported the new data to the new external database instead of embedded, and i walked away whiel it imported. I came back and was presented with a login screen so i logged in as myself and I am no longer an admin. Nobody that logs in is an admin so we can't do anything witht he settings of the software.

How do I grant myself admin privileges if nobody is an admin.


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

That is really strange.

My suggestion is that we check if there is any user with admin permissions in your Bamboo DB, so you could use that user to reestablish the permissions in your instance.

Please try this query directly to your Bamboo DB:

    SELECT (CASE          WHEN AE.TYPE = 'PRINCIPAL'               THEN 'USER'          WHEN AE.TYPE = 'GROUP_PRINCIPAL'               THEN 'GROUP'        END) as USER_OR_GROUP,        (CASE           WHEN AE.SID = 'ROLE_ANONYMOUS'               THEN 'Anonymous users'           WHEN AE.SID = 'ROLE_USER'               THEN 'Logged in users'           ELSE AE.SID        END) AS NAME,        MASK,        (CASE          WHEN MASK = 1               THEN 'ACCESS'          WHEN MASK = 4               THEN 'CREATE PLAN'          WHEN MASK = 1024               THEN 'CREATE REPOSITORY'          WHEN MASK = 16               THEN 'ADMIN'        END) as PERMISSION_TYPE  FROM ACL_ENTRY AS AE  JOIN ACL_OBJECT_IDENTITY AS AOI        ON AE.ACL_OBJECT_IDENTITY = AOI.IDWHERE AE.GRANTING = true      AND AOI.OBJECT_ID_CLASS='com.atlassian.bamboo.security.GlobalApplicationSecureObject'ORDER BY USER_OR_GROUP, PERMISSION_TYPE;

Reference: [How to retrieve user and group access mappings / permissions from the Bamboo database - Atlassian Documentation](https://confluence.atlassian.com/bamkb/how-to-retrieve-user-and-group-access-mappings-permissions-from-the-bamboo-database-859516551.html).  

The query above should return users and groups set in global permissions. The permissions should appear in the last column.  

Are there any changes in the user repositories of your instance?  
Did you use LDAP or something in the past?
Linked Repository No Longer Accepts my BitBucket Username
Asked by Jennifer Moran:

My bitbucket repos have been setup as linked repos in Bamboo for quite a while now. I just added a new repo in bitbucket and wanted to add it as a linked repo in Bamboo - all of a sudden its telling me my username is invalid. Its the same username that i have on all my other linked repositories, which by the way are currently working for deployment jobs. I dont know why this doesnt work anymore ? Any ideas ?


Answers:
author: Ellie Z _they_them_
body: Hi Jennifer,

Thanks for reaching out to the Atlassian Community!

The issue that you are reporting looks to be related to changes to the Bitbucket Cloud APIs that went live on June 11, 2019. As many of these changes were needed to comply with GDPR, and protect our customer data, the changes went live as quickly as possible. Bamboo versions 6.8.3 and 6.9.1 were released to fix these issues, meaning that you will need to upgrade immediately.

We recently released new Upgrade Guides as well, for both Windows and Linux installations: [*Bamboo Upgrade - Quick Guides*](https://confluence.atlassian.com/bamkb/bamboo-upgrade-quick-guides-966050403.html), we hope they help with the upgrade process.

**Some background**

The Bitbucket Cloud REST API v1 was removed, and API v2 endpoints were updated to comply with GDPR privacy regulations. Part of these updates removed a variable containing information that Bamboo expects in the JSON response from Bitbucket.

This change resulted in the creation or editing of Linked repositories of type "Bitbucket Cloud" failing with 401 (Unauthorized) exceptions. You may see "Resource removed" or "Invalid username" error messages in the Bamboo UI.

For more information on the "Resource removed" issue, please see our public bug report here:

* [BAM-20270: Bitbucket Cloud Repository uses deprecated API 1.0](https://jira.atlassian.com/browse/BAM-20270)

For more information on the GDPR related change, please see:

* **Bug report** : [BAM-20455 - Cannot save Bitbucket cloud repository](https://jira.atlassian.com/browse/BAM-20455)
* **Community Article** : [Unable to add or edit Bitbucket Cloud repository in Bamboo](https://community.atlassian.com/t5/Bamboo-articles/Unable-to-add-or-edit-Bitbucket-Cloud-repository-in-Bamboo/ba-p/1099927)

**Workaround**

If you are unable to upgrade right away, as a workaround, we recommend creating Linked repositories of type *[Git](https://confluence.atlassian.com/bamboo/git-289277007.html)* or *[Mercurial](https://confluence.atlassian.com/bamboo/mercurial-289277014.html)* to connect to your [Bitbucket Cloud](https://confluence.atlassian.com/bamboo/bitbucket-cloud-289277000.html) repositories.

I sincerely apologize for any inconvenience this may have caused. Please let me know if you have any questions or concerns.

Cheers,   
Elias \| Bamboo Senior Support Engineer


Tags: atl-bam-20455
How do I update the name of a customer contact from their email address
Asked by Deirdre Carr:

I know that I have done this previously but I am having difficulty finding the option to update a customer's email address to their full name once I have added them as a 'customer' . Has it moved?


Answers:
author: Bruna Silva
body: Hello [@Deirdre Carr](/t5/user/viewprofilepage/user-id/490824),

Thank you for reaching out to Atlassian Community!

Just to ensure we are on the same page, apparently, you would like to edit the full name of a portal-only customer account. Is that correct?

If that's the case, allow me to share with you a document that contains the necessary steps to achieve it:

* [Edit name for portal-only customers](https://support.atlassian.com/user-management/docs/edit-name-for-portal-only-customers/)

Please note that the steps are different depending on your *user management experience*.

If you have any other questions regarding this matter, please let us know.

Regards,  
**Bruna**


Tags: cloud

jira-service-management

jira-service-management-cloud
User forced to login again after several minutes
Asked by Sven:

One of our users, who is a JSM Agent, is repeatedly being prompted to log in after an unspecified period. The user receives a message stating that the queue is outdated, after which he has to log in again.

We have thoroughly checked our settings and found no issues. Our authentication policy also seem to be working fine (idle session duration 24 h). This problem is reported by only this one user. The issue occurs across multiple browsers including Firefox, Edge, and Chrome. Interestingly, when I log in as an admin using the affected user's account, the problem does not occur.

Any ideas?


Answers:
author: Sven
body: This is how the log looks like for this user

It is noticeable that there seem to be multiple parallel connections. This is not the case with any other user.

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


Tags: cloud

jira-service-management

jira-service-management-cloud
No inbound email
Asked by Andr? Wendt:

We would like to receive email inquiries via Atlassian's service management standard email account. If we send to the specified Atlassian email address, there will be no receipt. I ask for help. Thanks


Answers:
author: Andr? Wendt
body: fixed at Manage global mail settings.


Tags: cloud

jira-service-management

jira-service-management-cloud
Editing a list of issues
Asked by dpuech:

I have filtered out a list of issues that I know need to be edited (different edits per issue, so I can't use Bulk edit).

I find myself clicking on an issue to edit it. When done, I go back to the list, and click on the next issue to edit (and sometimes I am not quite sure where I was on the list!).

What I would like to do is choose the issue at the top of the list. Edit it, and then click on **Next** to automatically open the next issue on the list? Or click on **Previous** to go back to see what I did on the earlier issue.

Are there such links available (and I just can't see them?)

thank you.


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

Welcome to the Atlassian community.

Which screen are you on when you create the filter?

From the Filters menu, navigating to the View All Issues page, I create a filter to get a list of issues. I opt to show the results in List View. Then I click on one of the issues in the results and it opens in the tab. In the upper right corner of the issue display is a button that says "Return to search". Next to that is "# of #", where the first number is the position in the list of the issue I clicked on, and the second number is the total count of issues in the list. And next to that are down and up arrows to let me move to the previous or next issue in the list.

comments: author: dpuech
body: Thank you very much Trudy. I see it now. As you might have guessed, I am new to JIRA.


author: Hannes Obweger - JXL for Jira
body: Hi [@dpuech](/t5/user/viewprofilepage/user-id/5506742)

welcome to the community!

If you're open to solutions from the Atlassian Marketplace, I think you might like the app that my team and I are working on, [JXL for Jira](https://marketplace.atlassian.com/apps/1224710?hosting=cloud&tab=overview&utm_source=atlassian-community&utm_medium=referral&utm_content=2709416).

JXL is a full-fledged spreadsheet/table view for your issues that allows viewing, inline-editing, sorting, and filtering by all your issue fields, much like you'd do in e.g. Excel or Google Sheets. Every so-called *sheet*in JXL is powered by either a JQL query or a saved filter, meaning that you can pull in any issues that you might be interested in, and edit away.

This is how it looks in action:

![inline-editing.gif](https://community.atlassian.com/t5/image/serverpage/image-id/326299i91038C08497CC84D/image-size/large?v=v2&px=999 "inline-editing.gif")

As you can see above, you can also easily perform bulk changes using copy/paste. There a long list of other advanced features, too: From support for configurable *issue hierarchies* , to *issue grouping* by any issue field(s), *sum-ups* , or *conditional formatting* .

Any questions just let me know,

Best,

Hannes


Tags: cloud

jira-service-management

jira-service-management-cloud
"System Directory" in Assets - Filter assets based on customer portal or project
Asked by hvgab:

I'm looking into using Jira Assets to make a system/service/product/program directory/catalog.

Now each system is owned by a team, and every team has their own Service Management Project.

When the user i in a customer portal, based on the portal/project I would like to only show the systems that that team owns.

Any recommendations on how to do this filtering?


Answers:
author: Justin King
body: Hey [@hvgab](/t5/user/viewprofilepage/user-id/5426084)   

Assuming you have structured your object types like so:  

* Object type: System
  * Attribute  
    * Name: Team
    * Type: Object
    * Type value: Team
* Object type: Team  
  * Attribute
    * Name: Project
    * Type: Project

You can configure your Asset custom field with the following AQL Filter scope  

```
objectType = System AND Team.Project = currentProject()
```

This will filter the Assets field to only include System objects with a team linked to the current project.


Tags: assets

customer-portal

data-center

jira-service-management

jira-service-management-data-center

portal
Automations for Jira Assets Cloud
Asked by nicolae_cotan:

When will it be possible to have Assets automations on Jira Assets Cloud (like it was available for Insights server version) ?


Answers:
author: Gikku
body: [@nicolae_cotan](/t5/user/viewprofilepage/user-id/5369590) Automation rules can be implemented for assets objects in cloud which has to be created from the global automation page. You can define an object created/updated/deleted trigger specific to an object schema [Object trigger - Jira automation triggers](https://support.atlassian.com/cloud-automation/docs/jira-automation-triggers/#Object-trigger)

You can also use smart values to copy the values of the object and its attributes into the rule definitions [Automation smart values - Assets](https://support.atlassian.com/cloud-automation/docs/jira-smart-values-insight/)


Tags: assets

cloud

jira-service-management

jira-service-management-cloud
How to create new value in custom field named "Project" in technical project
Asked by Tr?n T?i:

Hi Team,

I've a technical project that used custom field as "Project"

In this field, i can drop down the list and i can choose one. Each of one, that is the project name of my support project.

I want to create new value for this list because there are some new support project that was created recently.

Thanks,


Answers:
author: Tushar Gohel
body: Hi [@Tr?n T?i](/t5/user/viewprofilepage/user-id/5333779)

You can go to the settings and update the custom field value.

go to Admin -\> Issues -\> Custom Fields

Search your custom field there and select "Configure" from the gearwheel on the right

Then you click on "Edit Options", add your new Value and save it.

Ref: <https://support.atlassian.com/jira-cloud-administration/docs/edit-a-custom-fields-options/>

Thanks,

Tushar

comments: author: Tr?n T?i
body: Dear [@Tushar Gohel](/t5/user/viewprofilepage/user-id/3495480) ,

I did add new value for this custom Field by follow your answer.

Thanks,


Tags: cloud

jira-service-management

jira-service-management-cloud