youngmon/atlassian-qna huggingface dataset:
how to block transition
Asked by Lucas de Souza:

Hello everyone.

I hope you are doing well today.

I have an issue, I am trying to block any user from moving a ticket from Resolved to Closed, I tried to find something like transition property but had no success.

The idea is to an automation close the issue after 25d and once it is on Closed no one can edit it.

Thanks a lot for your help.


Answers:
author: Kris Dewachter
body: Hi [@Lucas de Souza](/t5/user/viewprofilepage/user-id/5333980) ,

I believe your can set a "Hide from user" condition on the transition.

![Screenshot 2024-01-15 at 15.41.34.png](https://community.atlassian.com/t5/image/serverpage/image-id/300587iB78C4CD9FB7CA667/image-size/large?v=v2&px=999 "Screenshot 2024-01-15 at 15.41.34.png")

If i'm correct, an automation rule will still be able to execute the transition.

Please try it and let me know if this solves your case.

Best regards,

Kris


author: Marc - Devoteam
body: Hi [@Lucas de Souza](/t5/user/viewprofilepage/user-id/5333980)

Yes you can set workflow status and/or transition properties, but you request is contradicting then.

As you want to disable a transition by any user, but want automation to set it to closed after a certain period. Automation is also operated by a user, you or the default automation user.

The options you want to have it done based on a condition or validation, requires a marketplace app, like;

* JMWE
* JWT
* JSU
* Scriptrunner


author: Nikola Perisic
body: Hello [@Lucas de Souza](/t5/user/viewprofilepage/user-id/5333980) ,

Can you post a screenshot of the property that you have added to your workflow.

Also this article: <https://community.atlassian.com/t5/Jira-Content-Archive-questions/Block-Workflow-Transition-for-Reporter/qaq-p/1997857> mentions installing a JWME app that will expand the possibilities of editing your workflow.

Let me know if this has helped.

BR,

Nikola


Tags: cloud

jira-service-management

jira-service-management-cloud
Submitting requests without logging in
Asked by Osama Al-Areky:

Hello,

Is it possible to submit requests without loging in or creating accounts on jira service management portal forms and how?. Thank you.


Answers:
author: Marc - Devoteam
body: Hi [@Osama Al-Areky](/t5/user/viewprofilepage/user-id/5345042)

Yes you can.

See the following documentation: [set-up-an-open-portal](https://support.atlassian.com/jira-service-management-cloud/docs/set-up-an-open-portal/)

For more background, you can also look at: [setting-up-login-free-portal-access](https://confluence.atlassian.com/servicemanagementserver/setting-up-login-free-portal-access-1289420880.html) (this applies to DC setup, but is equal on Cloud)


Tags: cloud

jira-service-management

jira-service-management-cloud
Bidirectional update of fields when field value changes for Summary/Description in Opsgenie or JSM
Asked by Jaspreet Singh:

We want your kind assistance to have the bidrectional integration working properly from JSM ?? OG so an update in Priority, Summary, Description fields etc. should sync the other tool with same changes.  
Currently update to these fields from OpsGenie is making an update inside JSM Comment section and update at JSM end, is not making these fields updated in OpsGenie.

In JSM, also when we open a webex from ticket, bidrectional updates, are not making to it.

Can we get a solution to above problems as we are running POC.


Answers:
author: Eugenio Onofre
body: Hi [@Jaspreet Singh](/t5/user/viewprofilepage/user-id/5129217)

Unfortunately the bidirectional connection does not work this way. It only posts comments to Jira or move it to DONE state when a specific alert is closed.

One possible workaround would be to create an automation in Jira that would:

1. Be triggered whenever the "updated" comment is posted by Opsgenie
   1. The condition would need to match the comment format from Opsgenie
2. The action would be to do a GET request for the specific alert in Opsgenie
   1. You will need to create a custom field in Jira to store the alert ID.
3. Update the summary/description after the GET

Please remember to accept this response in case it helps you resolve your question as it may also help other community members in the future.

Best Regards,  
Eugenio


Tags: cloud

jira-service-management

jira-service-management-cloud
Who raised a request
Asked by Dan Turcanu:

using the ,, Raise the request on behalf of'' feature as described below

[Raise a request on behalf of a customer \| Jira Service Management Cloud \| Atlassian Support](https://support.atlassian.com/jira-service-management-cloud/docs/raise-a-request-on-behalf-of-a-customer/)

doesn't give away who was the actual user who filled in the request.

Is it possible at all to know who was behind the specific ticket that was raised on behalf of?

Thanks


Answers:
author: Nikola Perisic
body: Hello [@Dan Turcanu](/t5/user/viewprofilepage/user-id/5405408) ,

Welcome to the community, this is a mandatory field and when you raise the request you will see within the "Shared with" section the email of the person and the placeholder "Creator"

Let me know if you can see this.

BR,

Nikola


author: Asha Goyal
body: Hello [@Dan Turcanu](/t5/user/viewprofilepage/user-id/5405408)

If you just want to see it, use the JQL with Creator = xyz as this is system field and will store the information and does not give you much option.

And if you want to use it in any other way use a new user picker field to be added in the request called Requestor. This will help to capture the data who was the original requestor.

Kindly Vote and Accept if it helps.

Thanks


Tags: cloud

jira-service-management

jira-service-management-cloud
Service desk Internal& External permissions
Asked by Natalie Skuratovich:

Hello,  
We have a Service Desk for external clients and would like to create an internal SD visible only for our colleagues, not clients. Currently, all users can see both the internal support project and the external support project when they go to submit tickets. Is it possible to handle?  
How can I give access to our colleagues and ensure clients will not have access to see and submit tickets in internal SD?  

Thank you in advance for the advice and reference


Answers:
author: Marc - Devoteam
body: Hi [@Natalie Skuratovich](/t5/user/viewprofilepage/user-id/5405294)

Welcome to the community.

To achieve this, create a new JSMP project and change the customer permissions, so that only customers added to the project are able to raise requests.

As an example, if you have a group for all your internal users, add this group and grant this group the Service Desk Customer role.

Also make sure to adjust the permission scheme, to remove the Application Access permission "all-logged-in-users" from the Browse permission is set.


Tags: cloud

jira-service-management

jira-service-management-cloud
Can't see tickets associated with Assets
Asked by Jiatao Liu:

if i create a ticket like incident/problem/change with asset object selected, then i go to Asset-\>object and find all related tickets (filter by Unresolved) on the form, see attached.

But, while i closed the ticket, i can't see the ticket on the form of Asset, how can i trace all closed ticket associated with asset object?


Answers:
author: Eugenio Onofre
body: Hi [@Jiatao Liu](/t5/user/viewprofilepage/user-id/5120434)

You mention an attachment but the file was not uploaded.  
I assume you are using the "Linked Issues" inside the object.

There is a checkbox that says "hide resolved issues". This would prevent any issue with a resolution set from being displayed on the list. Please check if this is not the case.

![Screen Shot 2024-01-17 at 22.11.07.png](https://community.atlassian.com/t5/image/serverpage/image-id/301064i9E5EE23EA111F780/image-size/large?v=v2&px=999 "Screen Shot 2024-01-17 at 22.11.07.png")

Please remember to accept this answer in case it helps you resolve your question as it may also help other community members in the future.

Regards,  
Eugenio


Tags: jira-service-management

jira-service-management-server

server
Unable to access account after SSO removed from lastpass
Asked by Nate Nygren:

My company's security tech setup Jira in Lastpass for SSO. The company went a different route for Helpdesk and he removed Jira from Lastpass's SSO, but now we're all unable to access our Atlassian accounts, which means I'm locked out of my Bitbucket repos. I had to setup a personal account to log in to use the support system, so how can I get SAML removed from our Atlassian accounts if we're all not able to sign in?


Answers:
author: Theodora Boudale
body: Hi [@Nate Nygren](/t5/user/viewprofilepage/user-id/5014679),

First, allow me to say that I am not very familiar with this integration as it is not developed by Atlassian.

Could you please let us know the following:

* I assume that you set this up for Jira Cloud (as opposed to Server)?
* Did you need to enable SAML in your Org in <https://admin.atlassian.com/> as part of this setup?
* What happens when you try to log in to your Atlassian accounts now? Do you get redirected to LastPass SSO?

If the answer to all these questions is yes, is it possible to set it up again, so you can log in to your Atlassian accounts and disable SAML from <https://admin.atlassian.com/> ?

I would also suggest reaching out to the support team for LastPass, explaining the situation and asking for advice.

Kind regards,  
Theodora


Tags: bitbucket-cloud

cloud
I can't remove a user
Asked by Alcino Silveira Lago:

Every time I open a pull request, in the reviewer option, a user appears that I don't know, I've looked everywhere and I don't know where to find him to remove from the project's reviewer

His name is Artur Rodrigues.


Answers:
author: Mark C
body: Hi [@Alcino Silveira Lago](/t5/user/viewprofilepage/user-id/5014546)

Welcome to the community.

Would it be possible for you to check if the user is added as a default reviewer under your Repository settings or Project settings?

**To check under your repository settings:**

1. Go to your repository (e.g. <https://bitbucket.org/workspace_id/repo_name>)
2. Click **Repository settings**
3. Click **Default reviewers**

**To check under your project settings:**

1. Go to your workspace (e.g. <https://bitbucket.org/workspace_id>)
2. Click **Projects**
3. Click the project where the repository is added
4. Click **Project settings**
5. Click **Default reviewers**

Let me know how it goes.

Regards,  
Mark C

comments: author: jcline871
body: I have the same issue. Users I have deleted from my account keep showing up as default reviewers. I have checked all the places you suggested and they are not included. They are not part of my account in any way at this point as I've checked every nook and cranny. It's definitely a bug.


Tags: bitbucket-cloud

cloud
investigate zombie trigger
Asked by white fluffy:

Hi there,  
I have bitbucket server v7.6.16.  
Following to pull request merge (or push into master) some unknown webhook triggers different jenkins builds and then build notifications of triggered (unrelevant) builds are received and published for some commits.  
Where can one find some webhook historic call logs? When i look into repository webhook event log i find the last success, last failure, and number of successful calls however i can't see the full history of previous calls.  
Also is there a way to see what build sent specific build notifications for commit?

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


Answers:
author: white fluffy
body: Hi there,  
We suspect bitbucket server integration plugin behavior can be related (since builds mentioned in the log are the only builds that use bitbucket server connection to repository).  
jenkins: v2.263.1, bitbucket server integration: v2.1.3, bitbucket server: v7.6.16  
The impression is that any job connected to specific bitbucket repository with "Bitbucket Server" updates last commit (of mentioned repository) build status.  
Can someone confirm this is an expected behavior?

comments: author: white fluffy
body: Can someone confirm bitbucket server integration plugin logs the following posting messages? ![20220906_jenkins_bitbucket_server_notifications.png](https://community.atlassian.com/t5/image/serverpage/image-id/214542iB2F6B6C9A34EE674/image-size/large?v=v2&px=999 "20220906_jenkins_bitbucket_server_notifications.png")![20220906_jenkins_bitbucket_server_notifications_02.png](https://community.atlassian.com/t5/image/serverpage/image-id/214543i8ADBA576EA822B0F/image-size/large?v=v2&px=999 "20220906_jenkins_bitbucket_server_notifications_02.png")


Tags: bitbucket-server

server
how to find all company repositories
Asked by Mark Rossini:

how can we find all of our company repositories - all repository links?


Answers:
author: Mark C
body: Hi [@Mark Rossini](/t5/user/viewprofilepage/user-id/4255532)

Thank you for reaching out to the community.

If all your company repositories are within a workspace and if you have access to it, you can go to the workspace URL (e.g. <https://bitbucket.org/workspace_id/>).

If you can't see any repositories and you know there are repositories in the workspace, that means you don't have access to the workspace.  
For that, you will need to reach out to the workspace admins to get access.

Hope it helps and let me know how it goes.

Regards,  
Mark C

comments: author: Mark Rossini
body: Yes, it works. Thank you.


author: Mark C
body: Hi [@Mark Rossini](/t5/user/viewprofilepage/user-id/4255532),  

Great. Glad to know it works.  

Do let me know if you have further questions that I can help with and feel free to mark this question as answered as well.

Regards,  
Mark C


Tags: bitbucket-cloud

cloud
Not able to enable 2FA required for enabling Pipeline in Bitbucket Free account.
Asked by Rushikesh Deshmukh:

Hi All,

I am trying to enable pipeline feature available in Bitbucket free account, which requires enabling 2FA. While trying to enable 2FA, even after providing correct password for atlassian account. It is not getting accepted. Tried changing the atlassian password using forgot password option, but still facing same error. I have login using my gmail address. Kindly suggest a way to enable 2FA in this case.

![Bitbucket-2FA-Error.png](/t5/image/serverpage/image-id/212044i2610FEECBB013EA5/image-size/large?v=v2&px=999 "Bitbucket-2FA-Error.png")


Answers:
author: Mark C
body: Hi [@Rushikesh Deshmukh](/t5/user/viewprofilepage/user-id/5013349)

Welcome to the community.

Based on the screenshot, you're enabling 2FA for your Atlassian account.  
The Pipelines requirement is to actually enable your Bitbucket Cloud account's 2FA on the [Bitbucket.org](http://bitbucket.org/) website.

You can check this link for the steps on how to enable 2FA for your Bitbucket cloud account on [Bitbucket.org](http://bitbucket.org/): [Bitbucket Cloud - Enable two-step verification](https://support.atlassian.com/bitbucket-cloud/docs/enable-two-step-verification/)

Hope it helps and let me know how it goes.

Regards,  
Mark C

comments: author: Rushikesh Deshmukh
body: Hi [@Mark C](/t5/user/viewprofilepage/user-id/1210823)

Thanks for the reply.

I am already following the document, which is suggested by you. The issue which I am facing is, "While trying to enable 2FA, even after providing correct password for atlassian account. It is not getting accepted. Tried changing the atlassian password using forgot password option, but even after changing password still facing same error."

I am login to Bitbucket using my gmail address, is this the reason for not able to enable 2FA?.

![Bitbucket-2FA-Error.png](https://community.atlassian.com/t5/image/serverpage/image-id/214029iEA7245E6DD792CF8/image-size/large?v=v2&px=999 "Bitbucket-2FA-Error.png")


author: Mark C
body: Hi [@Rushikesh Deshmukh](/t5/user/viewprofilepage/user-id/5013349)  

You'll need to enable 2FA by logging into [Bitbucket.org.](http://bitbucket.org/)  

After that, go to this link: <https://bitbucket.org/account/settings/two-step-verification/manage>  

Let me know how it goes.  

Regards,  
Mark C


Tags: bitbucket-cloud

cloud
HTTP Status 500 ? Internal Server Error on j_atl_security_check
Asked by Bibin Varghese:

Hi,   

I've upgraded our BB server recently from 4.14.4 to 7.17.9 LTS. Everything was working well and I tried to upgrade the plugins one by one after the upgrade. All of a sudden I got an HTTP Status 500 -- Internal Server Error on j_atl_security_check after enabling the plugin '[External Hooks by Reconquest](https://marketplace.atlassian.com/apps/1211631/external-hooks-by-reconquest?tab=overview&hosting=server)'. And also when I tried to configure the webhooks in a repo, it is showing 'Handler dispatch failed; nested exception is java.lang.IncompatibleClassChangeError'  

Please let me know your thoughts on this.  

Thank you


Answers:
author: Bibin Varghese
body: The issue is now fixed. The java.lang.IncompatibleClassChangeError was caused due to JAVA incompatibility. We upgraded JAVA to the latest version and everything is working fine now.


Tags: bitbucket-server

hook

server
This invitation no longer exists
Asked by rosi:

IT IS RESOLVED

Hello,

At first (yesterday) I was able to see the invitation for bitbucket account but now I don't.

I replaced some characters (like %...) in order to work but still the same problem. I checked it from another browser and PC.

(To inform you that the project link exists but it shows me this error This invitation no longer exists. Contact the person who invited you to request a new invitation. )

Could you please tell me what can I do in order to have access?

Thank you in advanced.


Answers:
author: Mark C
body: Hi [@rosi](/t5/user/viewprofilepage/user-id/5013266)

Welcome to the community.

Glad to know it is resolved now.  
I believe this happened because the invitation link has expired.  
Would you be able to confirm if re-sending the invitation has resolved the issue?

Regards,  
Mark C


Tags: bitbucket-cloud

cloud

resolution
i couldn't able to merge my code with master branch
Asked by Naga Raj:

i was tried to merge and failed.

below mentioned Message Appearing

"

The following error(s) occurred saving this pull request

* Unrelated branches

"


Answers:
author: Rob van der Lee
body: Hello Naga. You might want to check this stackoverflow for some help. You are running into this issue because Bitbucket cannot calculate the difference between the two branches. It is quite literally "unrelated branches".

To solve this the stackoverflow article suggests rebasing. This will work but do note that rebasing can be a dangerous action to do as you need history rewrite for this.

In case you need to push, double check the local repository if the changes made after rebase is how you expect them to be. This never hurts and prevents loss of work.

**stackoverflow:**   
<https://stackoverflow.com/questions/46157540/creating-a-pull-reques-in-bitucket-error-unrelated-branches>

comments: author: Naga Raj
body: ok sir. I'll check and

Thank You for your Help.


Tags: bitbucket-cloud

cloud
Self-hosted shell runner - pass configuration securely
Asked by Moritz Friedrich:

After the introduction of self-hosted shell runners, we immediately switched from the previous Docker runners to shell runners *running inside Docker containers*, so we can have a simple way to deploy to our Swarm cluster (by having the deployment image running inside it, with access to the Docker socket on the host). Essentially, we're just running a pipelines runner with access to the Docker swarm host.

What bugs me, however, is that the runner script requires secret credentials to be passed as command line parameters:

```
/runner/bin/start.sh \
  --accountUuid "$(cat /run/secrets/account_uuid)" \
  --runnerUuid "$(cat /run/secrets/runner_uuid)" \
  --OAuthClientId "$(cat /run/secrets/oauth_client_id)" \
  --OAuthClientSecret "$(cat /run/secrets/oauth_client_secret)" \
  --runtime linux-shell \
  --workingDirectory /build
```

By inspecting the current process list, the full prompt of the running process is exposed, thus displaying the secrets in plain text to any interested party:

```
moritz@whale-01 ~> sudo ps -aux | grep runner
root 1225126 79.0 1.5 2549580 60704 ? Sl 06:48 0:00 java -jar -Dbitbucket.pipelines.runner.account.uuid=<REDACTED> -Dbitbucket.pipelines.runner.repository.uuid= -Dbitbucket.pipelines.runner.uuid=<REDACTED> -Dbitbucket.pipelines.runner.oauth.client.id=<REDACTED> -Dbitbucket.pipelines.runner.oauth.client.secret=<REDACTED> -Dbitbucket.pipelines.runner.directory.working=/build -Dbitbucket.pipelines.runner.environment=PRODUCTION -Dbitbucket.pipelines.runner.runtime=linux-shell -Dbitbucket.pipelines.runner.docker.uri= -Dbitbucket.pipelines.runner.scheduled.state.update.initial.delay.seconds=0 -Dbitbucket.pipelines.runner.scheduled.state.update.period.seconds=30 -Dbitbucket.pipelines.runner.cleanup.previous.folders=false -Dfile.encoding=UTF-8 -Dsun.jnu.encoding=UTF-8 ./runner.jar
```

**As there is no way to pass configuration via config files or environment variables, there is no way for me to protect the runner credentials from other processes or malicious employees.**

@ Atlassian, can you please revise the way the runner script works?


Answers:
author: Theodora Boudale
body: Hi Moritz,

I reached out to our development team about your request.

Even if credentials are passed as environment variables or in a file, they will still be visible if you run **sudo ps -aux \| grep runner**, and other users could still access the variables and files. This is not a problem that is solvable by us.

If you are concerned about security, you can configure the host to not allow other users onto the machine or restrict what users can see.

Kind regards,  
Theodora


Tags: bitbucket-cloud

cloud
Does bitbucket have a function or plugin for page lock time period + number of times?
Asked by SWRD-Lastertech-Admin:

bitbucket ??????????+?????????


Answers:
author: Theodora Boudale
body: Hi [@SWRD-Lastertech-Admin](/t5/user/viewprofilepage/user-id/5013082),

If you are looking to prevent users from changing the source code during a specific time frame, we don't have such a feature available out of the box.

You can temporarily change the permissions of users and user groups to a certain repository to **Read** (this way they won't be able to change the source code of the repo), and then switch back to the original permissions.

You can do it from the Bitbucket website, if you open a repo then go to **Repository settings** \> **User and group access**

Alternatively, you could also use our APIs to write a script and change the permissions to **Read** (and then change them back to the original permissions):

<https://developer.atlassian.com/cloud/bitbucket/rest/api-group-repositories/#api-repositories-workspace-repo-slug-permissions-config-groups-group-slug-put>

<https://developer.atlassian.com/cloud/bitbucket/rest/api-group-repositories/#api-repositories-workspace-repo-slug-permissions-config-users-selected-user-id-put>

Kind regards,  
Theodora


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

What do you mean by "page lock"?

comments: author: SWRD-Lastertech-Admin
body: Maybe there is a problem with my expression, the code base needs to be locked for a limited time, or the user needs to kick out the specified code base regularly?

Excuse me for the translation software I use


author: Nic Brough -Adaptavist-
body: Why would you need to stop people using it for a time?


author: SWRD-Lastertech-Admin
body: Prepared for temporary use by third parties


author: Nic Brough -Adaptavist-
body: Why would that need you to stop access to it?


Tags: bitbucket-cloud

cloud