youngmon/atlassian-qna huggingface dataset:
csv import jira asset problem
Asked by Jacek:

Good Day

I started a few days ago with the jira asset management which is really a cool feature.  
So i have configured it the way its described in

[Atlassian Asset and Configuration Management Handbook](https://www.atlassian.com/whitepapers/it-asset-and-service-configuration-management-in-jira-service-management)

Now i am starting to prepare my import structures.

Last week i imported a few Hardware Devices to test the referenced objects to vendor, supplier and manufacturer. This is working fine. Today i started to import a few employees and tried to call the referenced objects for the failities (Buildings) for the location of each user i test to import. I have also the attribute for the manager for each employee.   
So following things arent working when i import e few users. The manager, and the location.

So at least one manager for three employees is already known and imported in the assets. The location are also present in the facilities schema.

I double checked everything and compared also with the guide and with the configuration which is working for the hardware assets.  

Tried also to import one again the computes additionally with the assigned user. This is also not working.   
Anyone an idea what i can look for to find the issue.  
Doeing the references manually in the objects is working fine. So the references should be cofigured fine.


Answers:
author: Jacek
body: Hi   
i just realised, that this guide i sent before is (i believe) a bit outdated for the assets in the cloud. I found a difference in the guide. The Business Partners dont have an changed main attribute name change. All others has it. So for example i do not touched the Attribute = Name to business name, how its described for example for employee. There its in the beginning also just name, and then you should change to employee name.

So i just tested this and am using now the templates. And its working fine.


Tags: cloud

jira-service-management

jira-service-management-cloud
How long will the redirection of old URL of Atlassian Domain to the new one will rok?
Asked by Marta Mita:

Hi guys,

I read the article about changing URL:

<https://support.atlassian.com/organization-administration/docs/update-a-product-url/>

There is the info that Atlassian will store the previous URL in your site's history and redirect all links to the new URL.

Do you know for how long this will work with the redirection of the old URL to the new one?


Answers:
author: Walter Buggenhout
body: Hi [@Marta Mita](/t5/user/viewprofilepage/user-id/4959502),

There is no information on that matter in the documentation. That suggests that there is nothing in place to remove the URL from the history and:

* you may assume that it will stay there;
* at the same time it would be wise to communicate with your users to use the new URL consequently and modify any integrations you may have set up in the past to the new URL as well. There is no rush, but keeping an old URL in use while it is no longer visible will over time cause confusion at some point.

Hope this helps!

comments: author: Marta Mita
body: Hi [@Walter Buggenhout](/t5/user/viewprofilepage/user-id/783225)

thank you for your feedback :-)

Best,

Marta


Tags: cloud

jira-service-management

jira-service-management-cloud
Issus is not showing in the portal list whenever we change the Reporter.
Asked by Yugandhar Mocherla:

Hello,

Whenever we manually change the "reporter" of an existing issue in one of the service projects, to the "customer", the customer could not see that issue in his list in the portal.

For the same issue, if an agent adds the comments, then the customer is receiving an email but when replies to that comment email, it is creating a new issue in the JSM.

Any suggestions please?

Thanks,

Yugandhar.  
[](https://community.atlassian.com/t5/user/viewprofilepage/user-id/5308974)


Answers:
author: Jack Brickey
body: Hi [@Yugandhar Mocherla](/t5/user/viewprofilepage/user-id/5308974) , can you please check the issue that is not appearing and ensure that the customer request type field has a value?

comments: author: Yugandhar Mocherla
body: Hello Jack,

Thank you for your response.

Yes, Request type has a value.

Here, we are using JSM (Cloud) for MSSP. We create issues in the JSM for the generated alerts using the shared account (initially this will be the customer/Reporter for the issue) and once the threat is true positive then we assign the "Organization" value to the issue and then change the reporter.

Thanks,

Yugandhar.


author: Jack Brickey
body: So if the Customer is the reporter AND the Customer request type is set then that Customer should be able to see the issue in the portal.


author: Yugandhar Mocherla
body: Yes, Jack.


author: Jack Brickey
body: I'm not sure exactly what you mean by shared account. It may be that there's something unique in there that is pointing to the smoking gun here. Is this the only scenario/issue type what you're having this problem? is the problem consistent every time?


Tags: cloud

jira-service-management

jira-service-management-cloud
Dynamic form and form to PDF
Asked by Martina Bassi:

Hello community,  

we need to import in JSM a project currently built and used in Microsoft Access.  
The project goal is the scraps management, form the factory to the supplier.  
The flow is really simple:  
found a scrap in the factory \>  
open a request in JSM through a form (let's call it formA.1) with mandatory and not fields \> analysis of request in JSM with further info to append in the previous formA.1 + button "SQE escalation Y\|N" (formA.2) \>  
if button "SQE escalation == Y" append info in the previous formA.2 (formA.3) and send email to supplier with formA.3 in attachment.  

So my questions are:  
- is it possible to have a dynamic form which can be populated in different moments of workflow?  
- is it possible to export a form in pdf and send it through email with automation?  
- formA.1 is in italian. The final formA.3 must be in english. Is it possible to have an automatic translation?  

Thank you very much,  
Martina


Answers:
author: David Redwine
body: 1 - yes, Jira Automation is often the most flexible way to handle this, but workflow post functions are also often used, and transition screens are also sometimes used to pop up extra screens to ask the user for additional input at different steps in the workflow.

2- Yes, See this link for emailing pdf of form to JSM licensed user, and at the bottom of the KB article is a link to "emailing a pdf of a JSM ticket form to a portal only user".

<https://confluence.atlassian.com/jirakb/how-to-send-jsm-form-pdfs-as-an-email-attachment-to-specific-users-using-automation-1167830111.html>

3- There is no automatic translation. Even the Jira Marketplace plugins for translation, for the most part only translate the comments on a form....and they are usually called manually in Jira. However it is easy enough for your end users to use Google translate for the Italian PDF they receive...it is the closest thing to a human translator you will probably find. See the following 2 links.

<https://www.adobe.com/acrobat/hub/translate-a-pdf.html>

<https://support.google.com/translate/answer/2534559>


Tags: cloud

jira-service-management

jira-service-management-cloud
Help creating report on how many tickects were passed from one status to another
Asked by Devi Savanth Lal Gudivada:

Help creating report on how many tickects were passed from one status to another


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

You can write a query/filter like this:

project = ABC and status changed from Open to Delayed during (2024-06-01, 2024-06-30)

That will show you the issues that changed status from Open to Delayed during the month of June. Adjust times as you desire.


Tags: cloud

jira-service-management

jira-service-management-cloud
Remote RSA key may have changed?
Asked by HS_Elwin:

I had been on another part of a project for a while, so the repository wasn't accessed for about 10 months or so.

2 days ago, I was tasked on working on it again, only to find out the repository had disappeared. Other repositories on our account hadn't, just this one, so that was odd. I had other things on my to-do list, and I wasn't worried (I still had the local files), so I decided I'd try to fix it today.

As if by miracle, today the repository was back as if it was never gone. I was relieved for a moment until I tried to test access to the repository with a pull request.![error_repository.png](https://community.atlassian.com/t5/image/serverpage/image-id/292499i23D632E82CD620E5/image-size/large?v=v2&px=999 "error_repository.png")

As you can see, things got a lot more odd. I went to check my RSA keys and those on bitbucket only to find out those were still the same... but the fingerprint I left partially unredacted in the image above (SHA256:4\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*E) was not the fingerprint I had listed in my known_hosts.

Conclusion; either bitbucket must have changed servers/fingerprints at some point in the last 10 months, or I am actually dealing with a man-in-the-middle attack?

Can someone confirm if bitbucket made such changes in the last 10 months?

And if not... welp... does anyone know how to get rid of a man-in-the-middle attacker?


Answers:
author: Ben
body: G'day [@HS_Elwin](/t5/user/viewprofilepage/user-id/5367097) !

We rotated our SSH host key back in May of this year. If that host key has not been updated on your end, you will receive that error message.

Please refer to our article for troubleshooting steps to fix this:

* <https://bitbucket.org/blog/ssh-host-key-changes>

Hope this helps, let me know if any issues.

Cheers!

- Ben (Bitbucket Cloud Support)


Tags: access

bitbucket-cloud

cloud

ssh
Not receiving recovery link
Asked by Stephen Thompson:

Hi,

I can't log in to my account and I'm not receiving a recovery link after I request one. I've tried numerous times over numerous days and I've checked my spam folder. All the ways to contact Atlassian under that account require me to log in and I can't do that. The email address for the account in question is \*REDACTED\*. Can you help?

Thank you.


Answers:
author: Ben
body: G'day Stephen!

Thank you for contacting Bitbucket Cloud Support.

I can see that your account is active, and you do not have 2FA enabled on either your Atlassian account or your Bitbucket Cloud account.

Additionally, your email address is not suppressed. Based on our SMTP logs your inbox is receiving our emails without any bounce issues.

May I ask how you are trying to regain access to your account? If you need a password reset, the correct link is below:

* <https://bitbucket.org/account/password/reset/>

Cheers!

- Ben (Bitbucket Cloud Support)

comments: author: Stephen Thompson
body: Thank you for the help. It took me to the same place that I have been previously. I had to request a link multiple times but finally one came through. Again, thank you for the help.


Tags: bitbucket-cloud

cloud
Is it possible to know through an API if a branch is main branch?
Asked by Nimrod Golan:

Is it possible to know through an API if a branch is set as a main branch?

wasn't able to see anything about it. only thing was on the UI itself where when it lists the branches, each branch entity has the 'ismainbranch' property, but on the official API documentations there is nothing...


Answers:
author: Theodora Boudale
body: Hi Nimrod,

You can use the following API endpoint to get a repository's main branch:

* <https://developer.atlassian.com/cloud/bitbucket/rest/api-group-repositories/#api-repositories-workspace-repo-slug-get>

You can request a [partial response](https://developer.atlassian.com/cloud/bitbucket/rest/intro/#partial-response) and only get the main branch with a call like this:

```
curl --request GET \
--url 'https://api.bitbucket.org/2.0/repositories/workspace-id/repo?fields=mainbranch.name' \
--header 'Authorization: Bearer access-token' \
--header 'Accept: application/json'
```

It is also possible to get this info with the endpoint that gets a branch:

* <https://developer.atlassian.com/cloud/bitbucket/rest/api-group-refs/#api-repositories-workspace-repo-slug-refs-branches-name-get>

If you don't request a partial response you'll need to use [field discovery](https://developer.atlassian.com/cloud/bitbucket/rest/intro/#field-discovery):

```
curl --request GET \
--url 'https://api.bitbucket.org/2.0/repositories/workspace-id/repo/refs/branches/somebranch?fields=*.*.*.*' \
--header 'Authorization: Bearer access_token' \
--header 'Accept: application/json'
```

You can also request a partial response as follows:

```
curl --request GET \
--url 'https://api.bitbucket.org/2.0/repositories/workspace-id/repo/refs/branches/somebranch?fields=target.repository.mainbranch.name' \
--header 'Authorization: Bearer access_token' \
--header 'Accept: application/json'
```

Please feel free to reach out if you have any questions!

Kind regards,  
Theodora

comments: author: Nimrod Golan
body: Great Theodora, that was very helpful! thanks.

is it possible to include this information also on the webhook events request body too?


author: Theodora Boudale
body: You are very welcome, Nimrod!

This field is not included in events payloads. We have a feature request to return this field in the **Repository** entity of webhooks event payloads:

* <https://jira.atlassian.com/browse/BCLOUD-21982>

I would suggest adding your vote to that feature request (by selecting the **Vote for this issue** link) as the number of votes helps the development team and product managers better understand the demand for new features. You are more than welcome to leave feedback, and you can also add yourself as a watcher (by selecting the **Start watching this issue** link) if you'd like to get notified via email on updates.

Implementation of features is done as per our policy [here](https://confluence.atlassian.com/support/implementation-of-new-features-policy-201294576.html%20) and any updates will be posted in the feature request.

Kind regards,  
Theodora


Tags: bitbucket-cloud

cloud
Can?t login to bitbucket
Asked by Jonathan Sokolowski:

Even after resetting my password bitbucket continues to give me the error:

\> You may run into this issue when you use specific browsers or add-ons that hide the referer header for id.atlassian.com and other Atlassian sites. Check for these and then try logging in again.

I can login to id.atlassian.com but when I click on bitbucket I get the above error.

Seems related to <https://community.atlassian.com/t5/Bitbucket-questions/Login-Error-Bitbucket-Account/qaq-p/2452980>

Can someone please help reactivate my account?


Answers:
author: Theodora Boudale
body: Hi Jonathan and welcome to the community!

Your Bitbucket Cloud account was marked as dormant, which is the reason why you were seeing this error.

I went ahead and reactivated it, could you please try logging in when you have some time, and let me know if the issue is resolved?

Kind regards,  
Theodora

comments: author: aparra
body: i have the same problem.


author: Theodora Boudale
body: Hi,

I see that one of my colleagues responded to the question you created here: <https://community.atlassian.com/t5/Bitbucket-questions/We-couldn-t-log-you-in/qaq-p/2598972>. Your Bitbucket Cloud account should now be active.

Kind regards,  
Theodora


Tags: atl-rvw

bitbucket-cloud

cloud
BitBucket branch rename history
Asked by Yatish Madhav:

Hi

This is one of my first/early BitBucket community posts :) Hoping this is a start of great things and I learn a ton RE BitBucket.

I have a query around when a repo branch has changed. Can we see the history of a branch rename, who did it and when?

Thank you in advance.

Thank you  
Yatish


Answers:
author: Patrik S
body: Hello [@Yatish Madhav](/t5/user/viewprofilepage/user-id/3279728) and welcome to the Community!

Git only tracks the branch renaming in the reflog of the local repository where the rename originally happened. In case you still have access to the repo where the rename was initially executed, you can run the following command inside the local repo to check the reflog entries :

```
git reflog
```

where a rename entry would be similar to the example below:

```
9002ff79 (HEAD -\>dev, origin/development) HEAD@{0}: Branch: renamed refs/heads/dev to refs/heads/development
```

If you don't have access to the local repo where this action was executed, I'm afraid git does not track this information elsewhere.

Hope that helps!

Thank you, [@Yatish Madhav](/t5/user/viewprofilepage/user-id/3279728) !

Patrik S

comments: author: Yatish Madhav
body: Hi [@Patrik S](/t5/user/viewprofilepage/user-id/4603309) - thanks very much for that answer. I had a look and got a similar response BUT I just realized I originally created the repo with the default branch name as main and not master - so it was in fact not ever changed :D

But this response helps. Thank you again.

Cheers for now.


Tags: bitbucket-cloud

cloud
Unable to login Bitbucket - We couldn?t log you in
Asked by Pablo Lopez:

After I logged into bitbucket I got this message:  

"You may run into this issue when you use specific browsers or add-ons that hide the referer header for id.atlassian.com and other Atlassian sites. Check for these and then try logging in again."


Answers:
author: Ben
body: Hi Pablo,

I've just re-activated your workspace, it was inactive and in a dormant state due to not being logged in since 2018.

You should be able to log in now.

Cheers!

- Ben (Bitbucket Cloud Support)

comments: author: T?rker Ince
body: [@Ben](/t5/user/viewprofilepage/user-id/4537226) Can you please reactivate mine also?


Tags: bitbucket-cloud

cloud
What happened to my repositories?
Asked by leeca:

I though I had a couple of repositories at BitBucket. I use these for personalized tools, like all my bash scripts. These seem to be missing.

From my git config files

```
[remote "origin"]
url = https://REDACTED@bitbucket.org/REDACTED/REDACTED.git
```

and

```
[remote "origin"]
url = https://REDACTED@bitbucket.org/REDACTED/REDACTED.git
```

It's been a while since I accessed them .. prolly more then 1 year, but no more then 3.

Any hope of recovering these repositories?


Answers:
author: leeca
body: .. ok, the 'View all' option is on the far right


Tags: bitbucket-cloud

cloud
Since few days we can't locate our workspace called https://bitbucket.org/REDACTED/
Asked by veacks:

Hi,

Since few day we are unable to access our team workspace (on a free Atlassian).

It was open with the account (*REDACTED* , I have also added my personal email *REDACTED*).

There is 2 years of code and all our prototypes.

For some reason when trying to access the account from "*REDACTED*" it's redirecting directly to our holding.

I m starting to freaking out!


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

Thank you for reaching out to the community.  

I can confirm that the workspace you've mentioned still exists and repositories are still there.  
Unfortunately, the account you linked is currently deactivated by the organization.  
For that, I highly recommend contacting the organization admins who are managing the account to either reactivate the account or provide you with admin access to the workspace.  

Regards,  
Mark C


Tags: bitbucket-cloud

cloud
Bitbucket api creating repository
Asked by PravinU:

We are using rest apis for creating repositories, inviting team members, creating branches, restricting its permissions etc. but we want that token with limited permissions, current token seems admin and has repository deletion permissions as well, and we dont want that, any idea howe we can make it limited access?  


Answers:
author: Patrik S
body: Hello [@PravinU](/t5/user/viewprofilepage/user-id/784174) and welcome to the Community!

Currently, the OAuth scope **repository:admin** is required to execute most of the actions that you listed. Unfortunately, there's not a particular scope that includes all the actions you listed, except repo deletion. The admin scope also comes with the ability to delete the repository.

You can have a full description of what is included in each scope in the following documentation :

* <https://developer.atlassian.com/cloud/bitbucket/rest/intro/#bitbucket-oauth-2-0-scopes>

Based on that list, you may adjust your scopes accordingly to the action being performed, and restrict the admin scope to only the API calls where it is strictly necessary.

Thank you, [@PravinU](/t5/user/viewprofilepage/user-id/784174) !

Patrik S

comments: author: PravinU
body: Ohh, thanks.  
Is there any way to restrict admin apis from ip etc? This seems issue for us if we expose api token with admin access, also is there any way to recover deleted repo is its done by mistake?


author: Patrik S
body: Hello [@PravinU](/t5/user/viewprofilepage/user-id/784174) ,

If your workspace is under the premium plan, you can restrict access to the workspace to particular IPs by leveraging the [IP allowlisting feature](https://support.atlassian.com/bitbucket-cloud/docs/control-access-to-your-private-content). However, this will restrict any access to the workspace originating from IPs that are not on the list. This includes both the API and UI access. It's not possible to limit only the admins APIs.

As for the repository deletion, support can help to recover if the repository was deleted within the last 7 days. You can open a support request on the following portal:

* <https://support.atlassian.com/contact/>

Also, given that git is a distributed version control system, any previous clone that you or any member of your team have can also be considered a backup of the repo, as it contains the history of the repository. If that is the case, you can create a new repository and push the local backup repo to the new repo.

Thank you, [@PravinU](/t5/user/viewprofilepage/user-id/784174) !

Patrik S


Tags: bitbucket-cloud

cloud