youngmon/atlassian-qna huggingface dataset:
Opsgenie Alert is Not Acknloweged When Jira Service Management Ticket is Moved to Status
Asked by Callum Brown:

Hi,

I've setup Opsgenie to acknowledge an alert when the corresponding JSM issue is moved to the status 'Under investigation':![Screenshot 2024-05-16 at 15.13.02.png](/t5/image/serverpage/image-id/324174i4F8DE5E7819FE43F/image-dimensions/418x259?v=v2 "Screenshot 2024-05-16 at 15.13.02.png")

**However, the alerts in Opsgenie are not being acknowledged when moving to this status. They are also not being closed when moved to a closed stauts (with the category of Done) as needed with the 'CLOSE ALERT' rule.**

Alerts are being created as needed with the first two 'CREATE ALERT' rules.

Here are the webhook settings:

![Screenshot 2024-05-16 at 15.16.01.png](/t5/image/serverpage/image-id/324181iEBE193631FCE1D64/image-dimensions/393x308?v=v2 "Screenshot 2024-05-16 at 15.16.01.png")

And confirmation that the status I'm trying to move to is matched to the status in the rule:

![Screenshot 2024-05-16 at 15.19.07.png](/t5/image/serverpage/image-id/324184i60F6187A92F6CE0C/image-dimensions/154x199?v=v2 "Screenshot 2024-05-16 at 15.19.07.png")![Screenshot 2024-05-16 at 15.19.30.png](/t5/image/serverpage/image-id/324185i33289BE217584973/image-dimensions/340x161?v=v2 "Screenshot 2024-05-16 at 15.19.30.png")

**Is anyone able to provide some insight on what I'm doing wrong here and confirm how we can get the Opsgenie alerts to be acknowledged when the JSM ticket is moved to this status?**


Answers:
author: Baleshwer Dagar
body: Hello [@Callum Brown](/t5/user/viewprofilepage/user-id/5499095)   
Update your webhook events from **issue_created / issue_updated** to **Jira:issue_created / Jira:issue_updated** if you are using an equals condition; otherwise, use contains.  

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

comments: author: Callum Brown
body: Thanks for sending this over.

I just tried this but it made no difference.

It's worth noting that alerts are being created without any issues and this is using "webhook event **equals** issue_created".

Thanks,

Callum


Tags: cloud

jira-service-management

jira-service-management-cloud

opsgenie
Is it possible to search Organizations based on organization detail fields?
Asked by Esteban Diaz:

One of the newest features on JSM is the Organization detail fields. Can we search and filter organizations based on these fields?


Answers:
author: Anusha A
body: Hi [@Esteban Diaz](/t5/user/viewprofilepage/user-id/1168474)

Welcome to Atlassian Community support and Thanks for your question!

Please, take a look at this documentation: [Create queues based on customer details \| Jira Service Management Cloud \| Atlassian Support](https://support.atlassian.com/jira-service-management-cloud/docs/create-queues-based-on-customer-details/)

I believe that documentation can help you with building a JQL based on Organisation Details.


Tags: cloud

jira-service-management

jira-service-management-cloud
How can I change the Portal Login Title
Asked by Tobias Erting:

Hello all,

I have the following problem. When someone wants to log in to our portal, he always sees the picture attached below. I would like to get rid of the line framed in red, but with the best will in the world I can't find a way to do it. The other lines like "Help Center" and the small lines underneath I was able to change myself. Is there a function somewhere to change this?  
Thanks in advance

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


Answers:
author: Dave Mathijs
body: Hi [@Tobias Erting](/t5/user/viewprofilepage/user-id/5499072) welcome to the Atlassian Community!

Unfortunately, you cannot change/remove the instructional text above the Email address box.

comments: author: Tobias Erting
body: Hm okay. But its a bit confusing that it states you can sign up even if it is disabled. Shouldn't it at least remove this "or sign up" when you can't sign up in this window?

But thanks anyways for the fast anwser.


author: Dave Mathijs
body: That depends on your customer access settings indeed.


author: Nicolas PR
body: I am experiencing the same issue. Subscriptions are disabled, yet the text suggests 'signup,' which misleads our customers.

[@Dave Mathijs](/t5/user/viewprofilepage/user-id/2662590), when you mention, 'That depends on your customer access settings indeed,' does this imply that the text changes dynamically based on the configuration?

Am I missing some settings?


author: Dave Mathijs
body: Within Customer access under portal settings, you can choose whether customers are able to sign up for an account or not.


Tags: cloud

jira-service-management

jira-service-management-cloud
Wanting to add in a root cause field
Asked by Mel Brooker:

On our workflow for service desk we have Bug, Support and New Feature.

When we close a Bug ticket i want to have the root cause captured but cannot figure out how to do this.

For Support and New Features i want this to remain the same as it is now, where they can just be closed.


Answers:
author: Dave Mathijs
body: Hi [@Mel Brooker](/t5/user/viewprofilepage/user-id/2264696)

If you want to have the root cause filled out only for Bugs (and not for Support and New Feature requests), then you'll have to split the workflow for these issue types.

The Bug workflow can be identical with the only difference being a transition screen added to the closing transition.

This transition/workflow screen features a custom field 'root cause' which can be a text field multi-line.

Please note that the 'resolution' field also can indicate a root cause from a list of values.

comments: author: Mel Brooker
body: Hi Dave, thanks for the reply.

I have the workflow which has 3 resolution fields which are Resolved (Waiting or customer) Closed (Dev) and Closed (No Dev)

I cannot get it to bring up the pop up, which you get when you click Done, when changing to any of these. I know how to update the Resolution fields, i just cannot get that box to trigger when its set at one of these statuses.

Does that make sense?


author: Mel Brooker
body: ![Screenshot 2024-05-16 at 15.14.29.png](https://community.atlassian.com/t5/image/serverpage/image-id/324175iB3ADBD56B6B85875/image-size/large?v=v2&px=999 "Screenshot 2024-05-16 at 15.14.29.png")


author: Maciej Dudziak _Forgappify_
body: Hi [@Mel Brooker](/t5/user/viewprofilepage/user-id/2264696)

You have several options, depending on what you want to achieve.

1. Assuming Root Cause is a custom field, make it required before closing the issue. To do this, add a Field Required Validator on all transitions leading to closed/resolved statuses.

If you want to enforce it only for the "Bug" issue type, then you need to create a separate workflow for the issue type.

If you want a screen to be displayed where you can fill in the field, you need to create and add a screen to those transitions.

2. or if you don't want to split the workflow, then you could use any Jira expression-based validator found on the Atlassian [marketplace](https://marketplace.atlassian.com/search?query=jira%20expression%20validator).

I am from Forgappify, and we developed Jira Expression Validator, which is part of the [Workflow Building Blocks for Jira](https://marketplace.atlassian.com/apps/1233642/workflow-building-blocks-for-jira?hosting=cloud&tab=overview) free app. Expression could look like follows:

```
issue.issueType.name != "Bug" || issue.customfield_10126 != null 
```

You need to change ID of the field, but it is easy to find using our editor, just start typing "issue.", then name of the field.

Cheers


Tags: cloud

jira-service-management

jira-service-management-cloud
Best Practices for setting up Demand Management in Jira Service Management
Asked by Dawn Basch:

I'm looking for best practices in setting up Service Management for Demand Management - workflows, checklists, groups, etc. I want to make sure i can automate as much as possible and take into account various gates for moving through engagement, to assessment, review, approval, etc.


Answers:
author: Danut M _StonikByte_
body: Hi [@Dawn Basch](/t5/user/viewprofilepage/user-id/5441014),

For projects tracking \& reporting in JSM, this article might be of great help for you:

<https://community.atlassian.com/t5/App-Central/An-effective-dashboard-for-Service-Desk-and-Customer-Support/ba-p/2360369>

Danut.


Tags: cloud

jira-service-management

jira-service-management-cloud
Whats the best way to "Add" to request particpants when using multiple Automations?
Asked by Calvin:

Hi all, we have one automation where on ticket create it adds a certain request partipant based on certain values.

Now someone wants another automation where based on other values it adds a request participant on creation.

I find that instead of adding though, it re-writes over it. So I tried to add a "re-fetch" of the issue in the second automation and "copy from issue" on the Automation Request Participant field so that it "copies and fetches the current". But it seems like even with the re-fetch it doesn't mean the second automation will run first, and so it still gets written over.

Should I update the original automation too with a re-fetch or "Copy from issue" or is there a better way to just add these request participants without wiping the list.

Cheers!


Answers:
author: Kalyan Sattaluri
body: Hello [@Calvin](/t5/user/viewprofilepage/user-id/4851947)

If you want to "add" Participants, instead of overwriting them, you need to you use advanced edit section and provide ID to add using JSON.

This applies to all rules which are trying to add to existing list of users.

Please see this section == [LINK](https://support.atlassian.com/cloud-automation/docs/advanced-field-editing-using-json/#:~:text=Request%20participants,last.author.accountId%7D%7D%22%0A%20%20%20%20%20%20%20%20%7D%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%5D%0A%20%20%7D%0A%7D)

Hope it helps. Thanks!

Snippet:

The request participants field for Jira Service Management must be in a certain structure. For example, to add the last commenter of the issue to participants:

{  
"update": {  
"Request participants" : \[  
{  
"add": {  
"id":"{{issue.comments.last.author.accountId}}"  
}  
}  
\]  
}  
}

comments: author: Calvin
body: Thanks Kalyan, it does indeed :)


Tags: cloud

jira-service-management

jira-service-management-cloud
Can I block merging PRs with a especific branch as origin?
Asked by Pablo Hernando Izquierdo:

Hello,

I was looking to secure a branch, by not only blocking people to merge to the branch but also from the branch.

So if the origin of the pull request is production, only a group of people can merge that pull request.

Many thanks.


Answers:
author: Ulrich Kuhnhardt _IzymesCo_
body: Agree with the comment by [@Saxea _Flowie_](/t5/user/viewprofilepage/user-id/5230209) - there are a few more apps that support your requirement:

1. [Workzone for Bitbucket Cloud](https://marketplace.atlassian.com/apps/1211303/workzone-pullrequest-workflow?hosting=cloud&tab=overview) by Izymes (UI based configuration)
2. Code Owners for Bitbucket By Mibex Software (code based configuration)

Please let me know if I can help you any further with your setup.

Cheers, Ulrich

comments: author: Pablo Hernando Izquierdo
body: Hello,

First thing Tanks for your answer.

Im working with Bitbucket Cloud, wich of those are supported for it? Also, does any of this plugins block merging in local, and then pushing the changes?

Many thanks.

Pablo.


author: Saxea _Flowie_
body: Bitbucket [built in branch permissions](https://support.atlassian.com/bitbucket-cloud/docs/use-branch-permissions/) are only based on target branch.

However, [Flowie](https://flowie.app/), which is a Bitbucket app is capable of restricting based on other aspects, including the **source** and/or **target** branch. You can use the [merge plugin](https://flowie.app/docs/en/plugins/merge) with [conditions](https://flowie.app/docs/en/configuration#rules-and-conditions).

comments: author: Pablo Hernando Izquierdo
body: Hello,

First thing Tanks for your answer.

Ive tried tio use flowi, but i cant get it to work in my test repository, how would the flowie settings would be for this merge checks?

Also, does it block merging in local?

Many thanks.

Pablo.


author: Saxea _Flowie_
body: Hi [@Pablo Hernando Izquierdo](/t5/user/viewprofilepage/user-id/5304998)

To block locally you need to use git hooks. Flowie (and any other plugins/add) only blocks remote/Bitbucket.

You would need to use the condition. Something like this:  

```
import {configure} from "flowie.app"
import {merge} from "flowie.app/plugins"
import {target, source} from "flowie.app/conditions"

configure({

 plugins: [
 merge([
   source("production").and(target("master")),
  {

     allow: ["Team leaders group"]
  },
 ]),

],

})
```

I suggest you reach out on the support channels of the website(email or chat) which is easier for us to help you, as we probably need more details for a complete config.


Tags: bitbucket-cloud

cloud
Create Folder structure respect to project and department
Asked by SandeepSingh R:

Hi Folks,

I want to Create Folder structure respect to project and department in bitbucket as shown below, these has to be linked to respected issues

Project_name1/Hardware/Techspec/..  
Project_name1/Hardware/Schematic/..  
Project_name1/Hardware/Layout/..  
Project_name1/Hardware/Gerber/..  
Project_name1/Software/Techspec/..  
Project_name1/Software/firmware/..  
Project_name1/Software/HEX/..  
./Mechanical.....  
./App  
./...  
.  
.  
.  
.  
.  
.  
.  
.  
.  
Project_name2/Hardware/Techspec/..  
Project_name2/Hardware/Schematic/..  
Project_name2/Hardware/Layout/..  
Project_name2/Hardware/Gerber/..  
Project_name2/Software/Techspec/..  
Project_name2/Software/firmware/..  
Project_name2/Software/HEX/..  
./Mechanical.....  
./App  
./...  
.  
.  
.  
.  
.  
.  
.  
.  
.  
Project_name3/Hardware/Techspec/..  
Project_name3/Hardware/Schematic/..  
Project_name3/Hardware/Layout/..  
Project_name3/Hardware/Gerber/..  
Project_name3/Software/Techspec/..  
Project_name3/Software/firmware/..  
Project_name3/Software/HEX/..  
./Mechanical.....  
./App  
./...  
.  
.  
.  
.  
.  
.  
.  
.  
.


Answers:
author: Syahrul
body: G'day [@SandeepSingh R](/t5/user/viewprofilepage/user-id/5269410)

I'm not sure if that's possible; your best bet is to split this into multiple Bitbucket projects. That way, you can manage them separately.

Please check our documentation on how to [manage a project](https://support.atlassian.com/bitbucket-cloud/docs/create-and-manage-projects-in-bitbucket-cloud/) for more information.

Regards,  
Syahrul


Tags: bitbucket-cloud

cloud
How to get email against username so I can login with email and password
Asked by Soft Solutions:

Hi ,

I have my username and passowrd of bitbucket account.

I did't logged in to account for last two years.

Now when i try to login it ask me to enter email and password. And i don't remeber the email against username.


Answers:
author: Ben
body: G'day!

Unfortunately - as the email used against that workspace is not the same email that you have raised this community ticket using - we are unable to verify that you are the rightful owner of that workspace and therefore cannot reveal any information related to it. This is due to our security policies that protect user-generated content.

I would recommend checking your GIT config as this may reveal any email addresses that you have used in the past (if they are stored here).

Cheers!

- Ben (Bitbucket Cloud Support)

comments: author: Soft Solutions
body: Hi Ben.

As i already mentioned in ticket that i don't remember the email that was used to register. So how i can raise ticket from that email.

I have changed my machine. So i don't have git config now.

Can you please give me a some starting or ending part of email aginst username **\*\*\*\*\*?**

Or how i can prove that i am rightful owner?

I realy need your help.


author: Ben
body: Hi again,

I can understand your frustration, as well as the fact that you are unable to log in or verify that you are the rightful owner of the content due to not remembering the email address.

I, unfortunately, cannot reveal personally identifiable information (even censored) on a public forum due to our aforementioned policies.

I can confirm that the email address is a gmail address and contains a portion of the username you have mentioned (I assume it is a first/last name combination).

Please note: I have also censored the screenshot and the username listing due to this being a public forum.

Thank you.

- Ben (Bitbucket Cloud Support)


Tags: unknown-hosting-type
Accidentally pushed large commit, now repo is large
Asked by kerryfrombenbrook:

Hi, I didn't mean to push my last commit (a folder with MANY images in it), and now my repo is very full. How can I remove that? Thank you!


Answers:
author: Syahrul
body: G'day [@kerryfrombenbrook](/t5/user/viewprofilepage/user-id/396601)

I have triggered Git GC on both large repositories within your workspace which has reduced the repository size significantly.

Could you review it and let me know how it goes?

Cheers,  
Syahrul

comments: author: kerryfrombenbrook
body: Yes! Thank you so much! Have a great day, and thank you again!


author: kerryfrombenbrook
body: Ok, I reset my local commit to the previous commit, and then ran "git push origin -f"

I can confirm that the large commit is no longer on the BitBucket repository, but my size is still 3.5 GB. Do I need to compact it somehow?

thanks!


Tags: bitbucket-cloud

cloud

sourcetree
Bitbucket runner macos make pipeline faile after restart
Asked by Shin JS You:

When I add new runner about macos, it works fine on bitbucket pipeline.

But after I restart runner. Pipeline will show system error.

After add new runner again, it works fine on bitbucket pipeline again.

Should I re-add a new runner after the original runner shut down every time?


Answers:
author: Norbert C
body: Hello there,

THank you for reaching out to Atlassian Support.

I suspect what happens here is that when you exit the Runners, it doesn't delete the temporarily files stored under /tmp/runner_id hence when you start the build after you restart the Runners, it fails

To resolve this, can I ask you to delete the /tmp/runner_id directory after you stopped the Runners and let us know if that makes any difference?

comments: author: Tim L
body: I have this same problem. I can delete the /tmp/runner_id but the next time I run the pipeline that same tmp folder is there again and get's left behind again. What is causing the tmp file to stay and is there anything I can do so this does not happen? I can't even run two steps in my pipeline without removing that folder in between each step.


Tags: bitbucket-cloud

bitbucket-pipelines

cloud
Website on *.bitbucket.io stopped working
Asked by kremedved:

Hey! I noticed that my site <https://unitymedved.bitbucket.io/> doesn't work anymore, but it was available a few days ago. Nothing was changed from my side, can you take a look on this, please?

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


Answers:
author: Patrik S
body: Hello all,

Our engineering team identified the issue that was causing the static webpages hosted on bitbucket.io to not load properly.

We received an update from our engineering team that the static website service has been fully restored and the pages should load successfully now.

We apologize for the inconvenience this has caused you and your team.

Thank you!

Patrik S


author: Damien Lavrilleux
body: +1 Same for me

comments: author: JCBridgeman
body: +1


author: Number Game
body: I see this on basically all bitbucket pages


author: n3t
body: Same here, worked until yesterday, stopped working now. As my repository was named in old manner \*.bitbucket.org, I tried to rename to \*.bitbucket.io, but no luck. Tried some PR, but didn?t help also. Searching in Google <https://www.google.com/search?q=site%3Abitbucket.io> - seems no BitBucket page works now...

Any change in this, not anymore supported? Didn?t find any news about this...


author: allanberry
body: +1


author: Hadi Tavakoli
body: +1 same here

comments: author: hATrayflood
body: +1 Same for me


author: Shawn Jordan
body: +1 same here


Tags: bitbucket-cloud

cloud
adding new merge strategy
Asked by Lukas Polacek:

I have a file "changelog" where in every pull request is added line what was done in the branch and link to ticket in Jira to which it is bound. This results to instant merge conflict while merging to develop branch, because of development in large team and dealing with several pull requests per day. While solving the conflict locally I simple use ort strategy. Is there a possibility to implement this new strategy to resolve it automatically on bitbucket in pull request?


Answers:
author: Aron Gombas _Midori_
body: My first idea is: are you sure it is the best place to keep the "changelog" in the repository?

Why don't you externalize it? For example, instead of appending a line to the file, pass the information to a REST API that writes it a database, Google Spreadsheet or some other *external* resource. You can then just forget about the problem.

comments: author: Lukas Polacek
body: Thank you for the input. I know that it would be better, But my customer demands this placement. So I am looking for the solution elsewhere.


Tags: unknown-hosting-type
"Something went wrong" message when accessing https://idle-champions.bitbucket.io/
Asked by nisckis:

Good day,

since today, when me or anyone else from another place tries to access <https://idle-champions.bitbucket.io/> all we are getting is a "Something went wrong" message and the expected webpage does not load.

We have tried different browsers, incognito mode and clearing cache, even people from other countries is getting the same error message when accessing <https://idle-champions.bitbucket.io/>

Is this something I can fix in the repository or is it a Bitbucket bug?

Thanks a lot in advance,

Nisckis.


Answers:
author: Patrik S
body: Hello all,

Our engineering team identified the issue that was causing the static webpages hosted on bitbucket.io to not load properly.

We received an update from our engineering team that the static website service has been fully restored and the pages should load successfully now.

We apologize for the inconvenience this has caused you and your team.

Thank you!

Patrik S

comments: author: nisckis
body: Thanks a lot for fixing it :D


author: nisckis
body: I have tested a few more sites at bitbucket.io from other people/projects and all of them are returning the same "Something went wrong" error message

comments: author: saraturriziani
body: Hi, I can confirm I get the same error message also trying to access to my bitbucket page, i.e. <https://saraturriziani.bitbucket.io/>

I just came in the community to check if there was anybody experiencing the same issue. Btw, I noticed that the landing page with the error message has

/product/workspace/repositories/

added after the bitbucket.io site name.


Tags: bitbucket-cloud

cloud