youngmon/atlassian-qna huggingface dataset:
Team-managed project workflow stuck on an approval
Asked by Lukasz:

I have a Team-managed (!) project with a few request types. My workflow is shared between some of the request types. I defined approval steps (agent assigns approvers, there's a dedicated field to hold the approvers).

When a ticket in one of the request types reaches the approval step, things work as expected.

When a ticket in another type reaches the approval step, it is stuck because it is impossible to add the approver.

This screenshot shows what happens when a ticket in the problematic request type reaches an approval stage - there's no way to add approver. The tooltip links are unhelpful as they point to Company-managed project documentation.

![Screenshot 2024-02-21 103923.png](/t5/image/serverpage/image-id/307692iEFD9587C79FA0728/image-dimensions/293x178?v=v2 "Screenshot 2024-02-21 103923.png")

This screenshot shows that for the problematic request type, the "Approvals" field is missing as compared to the request type that works. I can't seem to be able to add the Approvals field manually:

![Screenshot 2024-02-21 103641.png](/t5/image/serverpage/image-id/307690i3C9D91F1B822750A/image-size/large?v=v2&px=999 "Screenshot 2024-02-21 103641.png")

How did I get into this mess, and how do I fix it?


Answers:
author: Rilwan Ahmed
body: Hi [@Lukasz](/t5/user/viewprofilepage/user-id/4268233) ,

From the screenshot you shared, it does not seems to be a team managed project. Instead it is a service management project (I can see SLA settings links).

1. Go to project settings --\> Screens, check if the Approvers fields are in corresponding issue type screens. Mainly the **Create Issue Screen**
2. Go to Admin settings --\> Issues --\> Custom Fields. Search for Approvers field and see if there are any field context setup.

comments: author: Lukasz
body: Thanks for the prompt response, [@Rilwan Ahmed](/t5/user/viewprofilepage/user-id/716861)

It almost certainly is a Team-managed JSM project. Here is a screenshot of settings:

![Screenshot 2024-02-21 110334.png](https://community.atlassian.com/t5/image/serverpage/image-id/307695i6966BB2F34F00B1D/image-size/large?v=v2&px=999 "Screenshot 2024-02-21 110334.png")


Tags: cloud

jira-service-management

jira-service-management-cloud

team-managed-projects
Approver: Is it possible to define a replacement for a period of time
Asked by Adrien Riccardo:

Hello,

I would like to know if the manager is absent for an extended period of time,

a replacement can be assigned to issue the approvals. Our approvers field is a custom field asset,

I thought of creating a second field that would not be mandatory and in the event of a long absence from the approver 1. An agent could modify it manually.

What do you think?


Answers:
author: Mark Higgins
body: Hi Adrien,

Without being seen to plug my organistion, we have created an 'app' that uses Assets to do this.

[https://marketplace.atlassian.com/apps/1232804/out-of-office-for-jira?hosting=cloud\&tab=overview](https://marketplace.atlassian.com/apps/1232804/out-of-office-for-jira?hosting=cloud&tab=overview)

Mark

comments: author: Adrien Riccardo
body: Thank you very much Mark but i was looking for a solution in datacenter only


Tags: data-center

jira-service-management

jira-service-management-data-center
Notifications
Asked by Nino Pirashvili:

Hello,

In Jira Cloud, the notification rules an enabled. I was able to send/receive a Test email as well, but when I create an issue, I do not receive the notification on email.


Answers:
author: Nikola Perisic
body: Welcome to the community [@Nino Pirashvili](/t5/user/viewprofilepage/user-id/5434844) !

Have you checked your personal settings?

* Click on your avatar -\> Personal Settings
* Make sure that "You're the reporter" is checked

![Screenshot 2024-02-21 at 10.24.11.png](https://community.atlassian.com/t5/image/serverpage/image-id/307682iB2BC088CEBBF45FE/image-size/large?v=v2&px=999 "Screenshot 2024-02-21 at 10.24.11.png")

Also check your Notification option (which by default should have a notification type of "An issue is created" added recipients Reporter):

* Project Settings -\> Notifications

![Screenshot 2024-02-21 at 10.26.20.png](https://community.atlassian.com/t5/image/serverpage/image-id/307683iC12B08A4C05D1869/image-size/large?v=v2&px=999 "Screenshot 2024-02-21 at 10.26.20.png")


Tags: cloud

jira-service-management

jira-service-management-cloud
Display ticket status in the customer portal
Asked by Adrien Riccardo:

We would like to display the description of the status in the portal so that the user has more information. Is it possible via an app or no?


Answers:
author: Rilwan Ahmed
body: Hi [@Adrien Riccardo](/t5/user/viewprofilepage/user-id/5432881) ,

Welcome to the community !!

Go to your project settings --\> Request types.   
Click Edit fields for the required Request type and go to "Workflow statuses" tab.

Here you can give any status name to show to the customer. There is no other way to show nay descriptions to the statuses

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

comments: author: Adrien Riccardo
body: Hello [@Rilwan Ahmed](/t5/user/viewprofilepage/user-id/716861) , thank you very much


Tags: data-center

jira-service-management

jira-service-management-data-center
Customer portal and reopened tickets
Asked by Per Heideby:

Hi.

Since 15/1/2024, all ITSM tickets that have been reopened can no longer be found/searched on the customer portal as status open. They need to be searched as closed to find them.

Is there a way to make sure that a re-opened ticket can be found as open?


Answers:
author: Walter Buggenhout
body: Hi [@Per Heideby](/t5/user/viewprofilepage/user-id/5365106),

While going through some unresolved questions here, I bumped into this one. Open or closed tickets are identified by the value in the *resolution* field. If there is something there, a ticket will be considered closed. To make it *open* again, that value must be removed.

I suspect that you have designed a workflow that does allow tickets to be reopened by updating the status, but you have not taken care of the value in the resolution field. So, check your workflow settings and make sure to remove the resolution from your ticket as the same time you change the ticket status back to open.

Hope this helps!


author: JM Perrot
body: hello [@Per Heideby](/t5/user/viewprofilepage/user-id/5365106)

Can you try this JQL request :

```
status changed FROM Done TO Open AND status = Open
```

I think it can help you. Of course you can specify the issuetype and request type if needed.

Let me know if my answer is not convenient,

Regards,

JM

comments: author: Per Heideby
body: Hi, sorry for not specifying.

It seems that there may be a problem where closed tickets are displaying as open, and vice versa, for our external users when they perform searches.

this happens when our external users search the help center portal.


author: JM Perrot
body: Ok, Like Walter said, is due to the resolution field, so you can run my request, make a bulk change to clear resolution field and check your workflow : when you leave the status "done", be sure to clear resolution.

Let me know if it's better, I'm guilty too, I didn't ask some questions before \^\^


Tags: cloud

customer-portal

jira-service-management

jira-service-management-cloud
atlassian credit
Asked by ???:

We have SLA credits covered due to Atlassian incident. Can I use this credit to make purchases at Atlassian mall? Hoodies, mugs, etc.


Answers:
author: Walter Buggenhout
body: Hi [@???](/t5/user/viewprofilepage/user-id/4904405),

What a cool idea ?

I would raise the suggestion via the ticket you raised to request the credit. You never know, but [from this support article](https://support.atlassian.com/subscriptions-and-billing/docs/service-level-agreement-for-atlassian-cloud-products/) you can read that this is not really the idea. This type of credit is automatically deducted from your next monthly or annual invoice, depending on your invoicing cycle.

Hope this helps!


Tags: cloud

jira-service-management

jira-service-management-cloud
I want to make the status change conditional on when I add a comment towards the inside in an automa
Asked by KOBAYASHI HIROKAZU _JIT TRI_:

**I want to make the status change conditional on when I add a comment towards the inside in an automated rule.**

**Right now, the status change is automatic for all comments, regardless of whether they are internal or customer.**


Answers:
author: Hariharan Iyer
body: Hi [@KOBAYASHI HIROKAZU _JIT TRI_](/t5/user/viewprofilepage/user-id/5434485) ,

You can add an IF condition on the comment author - something like this

![Screenshot 2024-02-21 at 10.10.47?AM.png](https://community.atlassian.com/t5/image/serverpage/image-id/307639i1C27C961228307EB/image-size/large?v=v2&px=999 "Screenshot 2024-02-21 at 10.10.47?AM.png")

This checks if the author of the comment is from a specific domain - e.g. your company's email domain.

Hope that helps!

comments: author: KOBAYASHI HIROKAZU _JIT TRI_
body: Thank you very much.  
The domain is not a distinguishable target as we use JSM for internal use only.  
Is it possible to create conditions for individual parts?

![????????? 2024-02-21 152114.png](https://community.atlassian.com/t5/image/serverpage/image-id/307660iEACFFC395A7887C2/image-size/large?v=v2&px=999 "????????? 2024-02-21 152114.png")


author: Hariharan Iyer
body: Hi [@KOBAYASHI HIROKAZU _JIT TRI_](/t5/user/viewprofilepage/user-id/5434485) san,

Yes, that is possible as well. You can check for the value

```
{{issue.comments.last.internal}}
```

equals

```
true?
```


author: KOBAYASHI HIROKAZU _JIT TRI_
body: [@Hariharan Iyer](/t5/user/viewprofilepage/user-id/5124435)

Thank you very much.  
I was able to set up the automation!


Tags: cloud

jira-service-management

jira-service-management-cloud
Regarding confidential work Is it possible to only allow access to those involved in the issue?
Asked by ???_??_:

Regarding confidential work  
Is it possible to only allow access to those involved in the issue?


Answers:
author: John Funk
body: Hi [@???_??_](/t5/user/viewprofilepage/user-id/4704901)

Yes you can use Issue Level Security so that only users identified in the security level will be able to see the Issues.

<https://support.atlassian.com/jira-cloud-administration/docs/configure-issue-security-schemes/>

comments: author: ???_??_
body: thank you for answer :)  
I will take note.


Tags: cloud

jira-service-management

jira-service-management-cloud
When assigning an issue to a team, Can I have my team members get notified?
Asked by ???_??_:

When assigning an issue to a team,  
Can I have my team members get notified?


Answers:
author: Laura Campbell _Seibert Media_
body: Hello [@???_??_](/t5/user/viewprofilepage/user-id/4704901) Yes, you can configure notifications for JSM. Check out these resources

<https://support.atlassian.com/jira-cloud-administration/docs/configure-email-notifications/>

<https://support.atlassian.com/jira-service-management-cloud/docs/set-up-notifications-for-your-customers-and-team/>

Keep in mind that regardless of the notifications you configure, each team member can decide to unsubscribe from their individual emails. They will only see notifications from within Jira if they do that.

comments: author: ???_??_
body: ![_00_team_field.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/308265i41E01D3C6E85FB39/image-size/large?v=v2&px=999 "_00_team_field.jpg")![_00_wings_team_field.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/308266i2FFAD25FF933BCB1/image-size/large?v=v2&px=999 "_00_wings_team_field.jpg")

Hi, [@Laura Campbell _Seibert Media_](/t5/user/viewprofilepage/user-id/3327113)

If I use a team field, will my team members be notified?


Tags: cloud

jira-service-management

jira-service-management-cloud
Como cadastrar um aprovador no JSM
Asked by Willian Santos:

Gostaria de saber como fa?o para cadastrar um aprovador no JSM


Answers:
author: Jack Brickey
body: Hi [@Willian Santos](/t5/user/viewprofilepage/user-id/5434342) ,Se voc? deseja adicionar um usu?rio como aprovador a uma lista de aprovadores existente, v? para definir \> problemas \> campos personalizados e localize seu campo de aprovador. Clique nas elipses ? direita e selecione Contextos. Na pr?xima tela, voc? pode adicionar aprovadores clicando no valor padr?o. Se voc? tiver v?rios contextos para este campo, certifique-se de selecionar o contexto para o projeto ou tipo de problema que deseja.

comments: author: Willian Santos
body: Oi Jack, ent?o, no caso n?o existe um aprovador existente, somente eu que no caso sou o ADM, sabe dizer onde add um colaborador para colocar a fun??o de aprovador?


author: Jack Brickey
body: Please check the documentation as it does a good job of explaining the approval configuration. [set-up-approvals](https://support.atlassian.com/jira-service-management-cloud/docs/set-up-approvals/)


Tags: cloud

jira-service-management

jira-service-management-cloud
creation of new jira fields to link form fields
Asked by Barbara Ouhab:

Hello,  
I would like to link form fields to Jira fields but I don't know how to create new Jira fields.  
The idea is to be able to automatically fill in Jira fields, and to be able to set up automatic assignments.

Thanks to you

![Sans titre.png](/t5/image/serverpage/image-id/307574iE64714A26AE4E96E/image-size/large?v=v2&px=999 "Sans titre.png")


Answers:
author: Fabian Lim
body: Hi [@Barbara Ouhab](/t5/user/viewprofilepage/user-id/5427923)

You need to work with your Sys Admin to create the fields for you and set the correct context and options. Once they are created you can bring them to your form.

Regards,

Fabian


Tags: cloud

jira-service-management

jira-service-management-cloud
Bitbucket server rest api to get project or repo level settings
Asked by Radhika kaur:

Looking for easy way to save/export bitbucket project or repository settings to use as a backup.   
Tried below but that's not a known method  
[http://example.com/rest/api/1.0/projects/{projectKey}/repos/{repositorySlug}/settings](https://docs.atlassian.com/bitbucket-server/rest/5.15.0/bitbucket-rest.html#idm121706395808)  

Any help/suggestion is appreciated.  

<br />


Answers:
author: Ulrich Kuhnhardt _IzymesCo_
body: Hello Radhika,

According to the [REST API docs](https://docs.atlassian.com/bitbucket-server/rest/7.21.0/bitbucket-rest.html#idp375) there is no single endpoint to fetch or restore all settings.

Repo settings endpoints are divided up into different aspects such as

### pull request settings: /rest/api/1.0/projects/{projectKey}/repos/{repositorySlug}/settings/pull-requests {#toc-hId-1998845265}

repo hooks:

### /rest/api/1.0/projects/{projectKey}/repos/{repositorySlug}/settings/hooks {#toc-hId-191390802}

You would probably need a script to fetch and 'backup' the settings you need to keep, same for restore.

Hope that helps,

Ulrich, // Izymes

comments: author: Radhika kaur
body: Thanks for the response [@Ulrich Kuhnhardt _IzymesCo_](/t5/user/viewprofilepage/user-id/4011392) I figured it's not there but worth a try asking the community.


Tags: bitbucket-server

server
How to configure pipeline from one repository to two servers
Asked by Rodrigo Sarri:

Hello everyone, {#toc-hId--499197455}
-------------------------------------

I hope when my message finds you all well. I have two servers (one for stating and one for production) on different IPs, I read in this link that**I can't have more than one SSH per repository**: <https://support.atlassian.com/bitbucket-cloud/docs/use> -multiple-ssh-keys-in-your-pipeline/

But for what I need it is necessary to have two SSH keys because the users of each key are completely different and I cannot just change the user in the variable since the user who generates the SSH of each of the servers has different permissions. Is there an alternative to this?

Thanks in advance for any help.

Cheers,

Rodrigo Sarri


Answers:
author: Theodora Boudale
body: Hi Rodrigo,

The alternative is described in the documentation you linked:

* <https://support.atlassian.com/bitbucket-cloud/docs/use-multiple-ssh-keys-in-your-pipeline/>

You can use multiple keys with a pipeline by generating the SSH key pairs locally (if you haven't generated them already), adding them as secured variables, and then referencing them in the bitbucket-pipelines.yml file.

The documentation provides step-by-step instructions on how to achieve that. If you have any questions or face any issues during the process, please feel free to let me know.

Kind regards,  
Theodora


Tags: bitbucket-cloud

bitbucket-pipelines

cloud

ssh

ssh-key
Creating a commit through API ignore query params
Asked by Samuele Salvatico:

Hi!  
I'm trying to create a commit using this API: [Create a commit uploading file API](https://developer.atlassian.com/cloud/bitbucket/rest/api-group-source/#api-repositories-workspace-repo-slug-src-post)   
I need to create the commit on a specific branch because push on *master is locked.*

This is my request

```
POST /2.0/repositories/myworksp/myrepo/src?branch=chore%2Fupdate-file&message=Updated+file.yml&files=file.yml HTTP/1.1
Accept: application/json, text/plain, */*
Content-Type: multipart/form-data; boundary=--------------------------487458948671530879406796
Authorization: Bearer theT0k3n
User-Agent: axios/1.2.1
Accept-Encoding: gzip, compress, deflate, br
Host: api.bitbucket.org
Connection: close
Transfer-Encoding: chunked
```

<br />

As described in docs, I set \`branch\` query param to set branch, but the error "Push is locked on master branch" is always returned.  

Do I need to set the branch name in a different way?

P.S. If I make the request in a non-restricted repo the commit is correctly created on master branch of that repo


Answers:
author: Theodora Boudale
body: Hi [@Samuele Salvatico](/t5/user/viewprofilepage/user-id/5102309) and welcome to the community!

If you want to create a commit that adds or updates a file, you can use a call like the following:

```
curl -X POST -u username:app-password https://api.bitbucket.org/2.0/repositories/workspace-id/repo-slug/src -F myFile.json=@myFile.json -F branch=test-branch -F message="my commit message"
```

If you want to create a commit that deletes a file you can use the **files** parameter as follows:

```
curl -X POST -u username:app-password https://api.bitbucket.org/2.0/repositories/workspace-id/repo-slug/src -F files=myFile.json -F branch=test-branch -F message="my commit message"
```

Kind regards,  
Theodora

comments: author: Jonathan Li
body: Any idea why CURL works but not Python's requests? The file gets uploaded but the params are ignored (commits to master branch and doesn't use the right commit message)

Python Code:  
response = requests.post(  
url=f"<https://api.bitbucket.org/2.0/repositories/xxxx/xxxxx/src>",  
headers={  
"Authorization": f"Bearer {token\['access_token'\]}"  
},  
files = {  
'README.md' : ('README.md', f),  
'message': "my commit message",  
'branch': 'defect/referencechanges'  
}  
)  
CURL:  
curl -H "Authorization:Bearer xxxxxx" -X POST <https://api.bitbucket.org/2.0/repositories/xxxxxx/xxxxxxx/src> -F README.md=@README.md -F branch=defect/referencechanges -F message="my commit message"


author: Jonathan Li
body: Nvm, figured it out.

response = requests.post(  
url=f"<https://api.bitbucket.org/2.0/repositories/xxxxxx/xxxxxxx/src>",  
headers={  
"Authorization": f"Bearer {token\['access_token'\]}"  
},  
files = {  
'README.md' : ('README.md', f),  
'message': ('', "README.md edited via API for testing"),  
'branch': ('', branch)  
},  
)


Tags: bitbucket-cloud

cloud

rest-api
How to move a repo to a different project?
Asked by Dimitrios Danampasis:

I have a few repositories that I would like to move from various projects to a new one.

Is there an option to do that in Bitbucket Server?


Answers:
author: Fabio Racobaldo _Herzum_
body: Hi [@Dimitrios Danampasis](/t5/user/viewprofilepage/user-id/2163206) ,

you can find a solution in this thread <https://community.atlassian.com/t5/Bitbucket-questions/How-do-I-move-a-bitbucket-repo-from-one-project-to-another/qaq-p/949423>

Hope this helps,

Fabio

comments: author: Dimitrios Danampasis
body: Hi Fabio,

Perfect, I have seen this but I thought it was only for Cloud. Now, I checked again and this option is available on Server too.

Thanks a lot!!

Best

Dimitris


author: Fabio Racobaldo _Herzum_
body: You're welcome [@Dimitrios Danampasis](/t5/user/viewprofilepage/user-id/2163206)


Tags: bitbucket-server

server
without the punctuation characters searching is lame - I can not find packages or specific annotatio
Asked by RobS:

What alternative do I have to search for @Autowired or

import com.cyz.mypackage

periods and @ characters are of no such value unless I pull in to an IDE and search there - This seems not very constructive of your programing team


Answers:
author: Theodora Boudale
body: Hi [@RobS](/t5/user/viewprofilepage/user-id/5101999) and welcome to the community.

Searching for Autowired will show @Autowired as well in the results, and a search for import com.cyz.mypackage should also bring up the file with this line.

Please keep in mind that code search uses the main branch in a repository and it will not return results for files on other branches. Are the files with this content in a branch other than the main one? And what is the behavior you are experiencing if you search the terms I suggested above? Are you getting no results at all?

Kind regards,  
Theodora


Tags: bitbucket-cloud

cloud
Slack integration compact PR descriptions
Asked by Andrew S Lane:

Our team likes the Slack notifications from Bitbucket Cloud for \`pull request updated\`, but lengthy descriptions add a lot of clutter...

I can't seem to find a way to customize these notifications, if even to add a setting of "compact". Does this functionality not exist?


Answers:
author: Patrik S
body: Hello [@Andrew S Lane](/t5/user/viewprofilepage/user-id/5101617) ,

Welcome to Atlassian Community!

I'm afraid there's not currently a way to configure the size of the message on Bitbucket Cloud side. However, we already have a feature request to implement this functionality, which you can find in the link below :

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

I would suggest you to add your vote there, since this helps both developers and product managers to understand the interest. Also, make sure you add yourself as a watcher in case you want to receive first-hand updates from that ticket. Please note that all features are implemented with [this policy](https://confluence.atlassian.com/support/implementation-of-new-features-policy-201294576.html) in mind.

Thank you, [@Andrew S Lane](/t5/user/viewprofilepage/user-id/5101617) .

Patrik S


Tags: bitbucket-cloud

cloud

description

integration

pull-request

slack

truncate
Can't Login
Asked by Alejandro:

I'm getting this 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've tried three browsers, in incognito mode, delete cookies ...etc.

Please i need you to fix it asap.


Answers:
author: Theodora Boudale
body: Hi [@Alejandro](/t5/user/viewprofilepage/user-id/5101481) and welcome to the community.

Your Bitbucket Cloud account was marked as Spam by our spam filters, which is the reason why you were not able to log in. Our apologies for the inconvenience caused by this.

I went ahead and activated the account, could you please try logging in now and let me know if it works?

Kind regards,  
Theodora


Tags: bitbucket-cloud

cloud