youngmon/atlassian-qna huggingface dataset:
Dynamic Approval Based on Selection from Asset Field in JSM
Asked by AS:

- Company A has a Asset Object Field Drop Down with all of the applications our company supports. (23 Software Applications)

- Each Software Application has a Technical Owner and Business Owner

- When User 1 is requesting an Application, it is the desire that the Approval dynamically change based on the Software to whom ever the Technical Owner Is (This is a mandatory issue needed for functionality)

- Wish List item would be that the backup Approver would be the Business Owner.


Answers:
author: Paul Wiggers
body: Hello [@AS](/t5/user/viewprofilepage/user-id/3923888)

Thank you for your question and yes, I believe this is possible. I haven't yet tried it out fully but this is my crack at it.

I am not sure how your Assets are setup but I am assuming that the TO and BO are linked on the Asset. If so, you can create an automation:

* Triggers when the issue is created (or whatever other trigger you want)
* Add a Then Component \> Lookup Objects and use AQL to fetch the object that you want, based on the value of a field (in this case, the Application field)
* Edit the issue field "Approvers" and use the {{lookupObjects}} smart value to fill-in the retrieved user

Is this something that you can work with or do you need some additional information?  

Kind Regards,


author: AS
body: [@Paul Wiggers](/t5/user/viewprofilepage/user-id/4683569) First, Thank You for the response. Please see below. Is this close to what you were describing?

![AssetAuto000.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/305042i3B258DB9143AA2AE/image-size/large?v=v2&px=999 "AssetAuto000.PNG")![AssetAuto001.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/305044i537FC0A71E7C3D6E/image-size/large?v=v2&px=999 "AssetAuto001.PNG")![AssetAuto002.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/305043i9749CD615CD61910/image-size/large?v=v2&px=999 "AssetAuto002.PNG")

comments: author: Paul Wiggers
body: Hey there,

Yes, that is looking like something I had in mind. I am not sure about the field names since they are depending on your Assets setup but I seeing what you have already created, I am sure you can manage to get all the data set correctly.

If you can't get it this way, then you can also try to extended If then else route. That might work and could be easier to setup but requires a lot more labor when something changes.


Tags: approval

approver

assets

cloud

dynamic

jira-service-management

jira-service-management-cloud
Moving tickets between two service projects
Asked by Shey Al:

Hello,

I've read several posts here that discuss moving service project issues to dev/software projects, and I see that the recommended action for that is 'don't'.

However, I've been unable to find any discussions about moving issues between two service projects without breaking the communication with the customer.

Use cases would be where an unfamiliar user submits an issue via the devops service desk for a service that is owned by IT. Is that possible? If it is, is that as problematic as moving to software projects? Are there different paradigms recommended to achieve the goal of rerouting users to the appropriate service desk?

Thank you for your time.


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

that shouldn't be a problem for the customer. But you would want to add the customer to the project role in the project. You are moving the issue to, if they're not there already.

Just do a move action on the issue to move it from one project to the other project. But it certainly easy enough to do a test to make sure that works out first.

comments: author: Shey Al
body: Thank you!


author: John Funk
body: You're welcome!


Tags: cloud

jira-service-management

jira-service-management-cloud
transfer or link tickets between projects without losing history
Asked by Alexandre madeira moura:

Hi guys, I'm implementing Jira service management here in my team, and we have some interactions with some teams in the company, but we don't have access to their project. Is there any way I can transfer or clone the ticket, to another area, so that I can Don't lose the history?  

<br />


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

you can create an automation rule that clones the ticket into another project, and then links the tickets together. The clone will not move the history with it, but with the link you would have access back to that history.

The agent or user, would need to have the appropriate permissions in both projects to see the information.


author: Alexandre madeira moura
body: I know that Jira offers some settings through automation, but I was unable to operationalize the creation of a ticket for another area


Tags: cloud

jira-service-management

jira-service-management-cloud
Using SharePoint for knowledge base articles instead of Confluence
Asked by Mamatha Jha:

Hi team,

I have currently purchased SharePoint and created articles in it. I have created Jira Service Management -\> Customer Service Project (basically set up Jira as a ticketing tool).  

Now, when the customer types the query, I want knowledge articles to show up from SharePoint instead of Confluence. I haven't subscribed for Confluence.

Can anyone please help me in accomplishing this? Thanks in advance.

Thanks,  
Mamatha


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

JSM currently only works with Confluence as a knowledge-base. You can not connect it to Sharepoint (it's unlikely that this will ever be an option to be honest)


Tags: cloud

jira-service-management

jira-service-management-cloud
How to Correct the Active sprint dates(if we added wrongly )
Asked by Varalakshmi NB:

How to Correct the Active sprint dates(if we added wrongly )

01/30-01/13 (how to make it 01/30-02-13)


Answers:
author: BHUSHAN PATIL
body: Hi [@Varalakshmi NB](/t5/user/viewprofilepage/user-id/5424715) ,

Follow the below steps,

* Go to the **Backlog**
* Select the **Ellipse** menu (for the active sprint)
* Click on the **Edit** **Sprint** button.
* Change the **dates**

Regards,  
Bhushan


Tags: cloud

jira-service-management

jira-service-management-cloud
Creating Customer-facing Dashboard for viewing request
Asked by Eric Budden:

I'm trying to create a dashboard to allow customers to view their submitted requests to various service management projects filtered by project. The filters are all permissioned to be viewed by anyone in the organization, but they don't populate when customers view the dashboard. I've looked at organization level permissions but I don't see anything apparent to allow for viewing.


Answers:
author: Asher Francis
body: I'd suggest making sure they have the Browse Project permission. They won't be able to view issues without it.


Tags: cloud

jira-service-management

jira-service-management-cloud
How do I remove users off Board in Work Managment
Asked by melissa.horan:

I have users that do not have permissions to my Work Management project, showing up on the board within the project. How do I remove them?


Answers:
author: Paul Wiggers
body: Hello [@melissa.horan](/t5/user/viewprofilepage/user-id/3856584)

How do you mean, showing up?

Are there avatars shown on top? If so, than there are probably some issues assigned to those users. Perhaps they have been added by other team members or they might have joined themselves.

Have you checked if the project access is set correctly?

Perhaps you can provide us with some screenshots so we might give some more targeted advice on what might be going on.

Kind regards,


Tags: cloud

jira-service-management

jira-service-management-cloud
problems with Jira when using Chrome browser.
Asked by Vilas Singh Koka:

One of the user in my organization having sporadic problems with Jira when using Chrome. This issue does not happen with Firefox.  
Basically, mostly attempting to enter Jira after login, Chrome freezes, or enters an infinite loop that cannot be escaped.


Answers:
author: Bhavani
body: I am having terrible issue with JIRA filters in chrome, cannot access any filters, JQL shows empty, am forced to use edge browser, it works fine on edge but in chrome browser am so blocked

comments: author: Noni Khutane
body: [@Bhavani](/t5/user/viewprofilepage/user-id/3719161) What version of chrome and Jira are you running.  
Have you tried disabling all extensions on chrome?  
Have you tried incognito mode?

Try generating an HAR when running the filter to see if that can provide info on what is Jira is trying to do.

<https://confluence.atlassian.com/kb/generating-har-files-and-analyzing-web-requests-720420612.html>


author: Sean Furlong
body: Same issue here with Chrome up to date. This started happening in spring time for me, and I'm forced to use edge browser instead.


author: Dan Breyen
body: Hi [@Vilas Singh Koka](/t5/user/viewprofilepage/user-id/5424639) welcome to the community. Have you tried reproducing this issue yourself with Chrome? Is Chrome up to date? Does that same user have the issue on another PC? How about Edge?

I've tried reproducing the issue and haven't had any luck. Have you walked through the steps with them? Are there any steps that aren't included here?


Tags: cloud

jira-service-management

jira-service-management-cloud
How to automatical create a ticket every year scheduled + copies of the ticket depending on a field
Asked by Vera Valshonok:

Hi!

I am trying to set a scheduled automated created of a ticket once a year. I am doing it using automation and it works. But I also need for the ticket to be cloned according to the of the fields with the names of the customers. So the Master request should be created and with it copies of the ticked linked to it. We should be able to fin these copied ticket in jira so we need to add a field name they were copied for in the ticket Summary.

Is it possible to do so?


Answers:
author: Marc - Devoteam
body: Hi [@Vera Valshonok](/t5/user/viewprofilepage/user-id/5174542)

By cloning an issue by default the CLONE value is added in the summary of the new issue and its linked to the issue your trigger the clone action from.

What do you exactly need to be added more?

comments: author: Vera Valshonok
body: I need to add different fields that would copy from the master request and have lots of cones, not succeeding to do it in the same automation where I've set the automatic creation of a ticket next year.


Tags: cloud

jira-service-management

jira-service-management-cloud
DNS validation fails for custom email domain
Asked by lkovacs:

I'm in the middle of migrating our Jira to the Cloud and I'm having problems configuring our own domain for sending mails.

The verification for user management succeeded. But when I want to configure "sending mails on behalf of our domain", I can't get past the DNS record check. The required records (CNAME for DKIM active, CNAME for DKIM fallback, CNAME for bounce and TXT for verification) are all added to our DNS already. The CNAME records have the green checkmark but the TXT record fails the validation.

I saw this problem multiple times in the community either without a solution or solutions that don't apply to me. I already tried deleting and readding the domain and it didn't help. The DNS records are already propagated, and I can get the required values with nslookup or dig.

What should I try/check to make this work?


Answers:
author: Marc - Devoteam
body: Hi [@lkovacs](/t5/user/viewprofilepage/user-id/4151608)

I advise you to contact Atlassian Support, they can probably see if there is any problem relating your instance in the logging of your instance admin


Tags: cloud

jira-service-management

jira-service-management-cloud
Forms not displayed in JSMobile
Asked by Adela Cekalova:

Hi,  

I created forms in JSM, they are visible and work fine if I use the browser. But if I use the JSMobile app to access the portal, the forms do not appear there at all.  

Can anyone help me with that issue? :)  

I'm looking for a mobile app where our employees can easily use the portal with forms.


Answers:
author: Marc - Devoteam
body: Hi [@Adela Cekalova](/t5/user/viewprofilepage/user-id/5424542)

Welcome to the community.

This is a feature that is not available, there is an open request for this; [JSDCLOUD-10674](https://jira.atlassian.com/browse/JSDCLOUD-10674)

Otherwise there is an app on the marketplace that is able to make use of the forms, see [mobility-for-jira-mobile-for-enterprise-teams](https://marketplace.atlassian.com/apps/1211459/mobility-for-jira-mobile-for-enterprise-teams?hosting=cloud&tab=overview)

comments: author: Adela Cekalova
body: That's a pitty, but thanks for the info.


author: Berat Altunhan
body: Hi [@Adela Cekalova](/t5/user/viewprofilepage/user-id/5424542) ,

I understand that you use an app to receive requests from customers. But this application may not move the forms to its own interface. Therefore, I guess that customers cannot access the forms. Since we do not create the fields we use in the forms on JSM, the application may not show these forms.  
The best solution for you may be to open a ticket to the company that made the application. For this, you can find the application on the atlassian marketplace and contact the company that made the application.

I hope I could help you.


author: Nikola Perisic
body: Welcome to the community [@Adela Cekalova](/t5/user/viewprofilepage/user-id/5424542) !

Does the option of forms appear? Or when you try to create a form, it gives you the blank page?

I added more tags so Atlassian folks can notice it.


Tags: cloud

jira-mobile-apps

jira-service-management

jira-service-management-cloud
Feature Request: bitbucket-upload-file pipe
Asked by Jorge Cuar?n:

For the bitbucket-upload-file pipe, it would be nice to upload the file with a different specified name other than the local file:  

<https://bitbucket.org/atlassian/bitbucket-upload-file/src/master/>


Answers:
author: Igor Stoyanov
body: [@Jorge Cuar?n](/t5/user/viewprofilepage/user-id/5071743) hi.   
Please specify more details of how you want to use this pipe. What is your case?  

Regards, Igor


Tags: bitbucket-cloud

bitbucket-pipelines

cloud

download

file
how to convert gitlab pipeline to bitbucket pipeline?
Asked by Akash Tripathi:

how to convert gitlab pipeline to bitbucket pipeline?


Answers:
author: Aron Gombas _Midori_
body: Although both GitLab and Bitbucket uses the term "pipeline" and the concept is quite similar, the implementation in the two products are completely different. They are different even in the level of DSL.

I don't think there is a converter that would create an exact copy of your GitLab pipeline in Bitbucket.

You should convert it manually, by fully understanding the possibilities and the descriptor on both sides.


Tags: bitbucket-cloud

bitbucket-pipelines

cloud
How to modify the decscription of pull request after merged
Asked by ???:

How to modify the decscription of pull request after merged ?


Answers:
author: Ollie Guan
body: Hi [@???](/t5/user/viewprofilepage/user-id/5071684) ,

Pls refer to this KB.

<https://bitbucket.org/blog/editing-pull-requests-just-got-a-little-easier>
Pipeline gets stucked at pulling from repository
Asked by GedBitcucket:

Hi!

I created an automatic deploy with bitbucket pipelines. Process works but it gets stuck forever at the end pulling from the remote repository and throwing no errors.

![Captura de pantalla 2022-11-05 a las 13.08.42.png](/t5/image/serverpage/image-id/224287i482CD2E8E7655433/image-size/large?v=v2&px=999 "Captura de pantalla 2022-11-05 a las 13.08.42.png")


Answers:
author: Syahrul
body: Hey [@GedBitcucket](/t5/user/viewprofilepage/user-id/5071677)

Welcome to the community!

It's hard to troubleshoot without an error log, so I suggest you use the following git verbose commands to get more logging:

If you use HTTPS:  

```
GIT_TRACE_PACKET=1 GIT_TRACE=1 GIT_CURL_VERBOSE=1 <git command_here>
```

If you use SSH:  

```
GIT_TRACE_PACKET=1 GIT_TRACE=1 GIT_SSH_COMMAND="ssh -vvv" <git command>
```

These commands will generate more verbose commands that you can use to identify why the commands froze.

Cheers,  
Syahrul

comments: author: GedBitcucket
body: Thanks [@Syahrul](/t5/user/viewprofilepage/user-id/744536)

Finally I saw the issue. A passphrase prompt was launched after git pull command in my deploy script. So I used sshpass in order to detect it and give automatic response :)


Tags: bitbucket-cloud

cloud
python: Would like to get a list of all outstanding review requests for my organization
Asked by soualline:

for each repo owned by my company

get a list of open pull requests

get a list of reviewers for that request that have not approved the pull request

print results


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

You can use the following endpoints:

* [Get all repositories in a workspace](https://developer.atlassian.com/cloud/bitbucket/rest/api-group-repositories/#api-repositories-workspace-get)
* [List pull requests in a repository](https://developer.atlassian.com/cloud/bitbucket/rest/api-group-pullrequests/#api-repositories-workspace-repo-slug-pullrequests-get) - by default, only open pull requests are returned
* [Get a pull request](https://developer.atlassian.com/cloud/bitbucket/rest/api-group-pullrequests/#api-repositories-workspace-repo-slug-pullrequests-pull-request-id-get)

The last call has the info you need on approvals and reviewers. The object **participants** includes PR reviewers and the field **participants.approved** shows as true or false depending on whether the participant approved the PR or not. Please keep in mind that **participants** will include also non-reviewers who may have approved the PR. The field **participants.role** will tell you if the participant is a reviewer or not.

I am not familiar with Python, but an example request with curl that returns participant name, role, and approval status is the following:

```
curl -u BitbucketUsername:AppPassword https://api.bitbucket.org/2.0/repositories/workspace-id/repo-slug/pullrequests/2?fields=participants.user.display_name,participants.role,participants.approved
```

Kind regards,  
Theodora


Tags: bitbucket-cloud

cloud
Bitbucket pull
Asked by Justin Manford:

What is the best security to implement between Bitbucket Cloud and my on premise Linux server as far as transferring code and files back and forth? Ideally we want the request to originate from our on premise Linux server to our repository in Bitbucket Cloud so we don't have to open inbound ssh and sftp ports on our firewall. Does anyone have experience doing this?

Thanks

Justin


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

I cannot advise you on security practices on your server, I just wanted to mention that if the server is behind a firewall, the following page lists the IP addresses that need to be whitelisted and the ports that Bitbucket uses:

* <https://support.atlassian.com/bitbucket-cloud/docs/what-are-the-bitbucket-cloud-ip-addresses-i-should-use-to-configure-my-corporate-firewall/>

Additionally, if your workspace is on the Premium plan you can make use of the "IP allowlisting" so that the repositories on your workspace can be accessed only by specific IPs that you specify. You can check the doc below, specifically the section "Allowlisting IP addresses"

* <https://support.atlassian.com/bitbucket-cloud/docs/control-access-to-your-private-content/>

Kind regards,  
Theodora

comments: author: Justin Manford
body: What about pipeline runners? Do you know about them?


author: Theodora Boudale
body: Hi Justin,

If you use Pipelines Runners on a server behind a firewall, you will need to whitelist the IP ranges listed on this page:

* <https://ip-ranges.atlassian.com/>

Additionally, if you have a Premium workspace with IP Whitelisting enabled (from workspace's **Settings** \> **Access controls**), then you must include on the list "IP allowlisting" the IP addresses of your Runner hosts.

Kind regards,  
Theodora


author: Justin Manford
body: Yeah that's not secure. I already know this. Any organization that would allow that many IPs open to incoming SSH calls into their network would be stupid. You just don't open inbound SSH. I could live with outbound where our internal server initiated the call but we are a government agency. We don't 'whitelist'. We open communications port by port or by protocol. Would you allow someone to RDP or SSH into your desktop whenever they wanted to? How about 1000 different IP's SSH or RDP into your desktop? Can't trust a SaaS vendor when you have no control over their security or infrastructure. I was looking for.


author: Theodora Boudale
body: Hi Justin,

If you don't want to allow access to our IPs, you can look into using the Data Center version of Bitbucket instead, which can be installed on your own infrastructure <https://www.atlassian.com/software/bitbucket/enterprise/data-center>

Kind regards,  
Theodora


Tags: bitbucket-cloud

cloud
What is the Bug fix release for 7.19.3 for ommand injection vulnerability - CVE-2022-36804
Asked by RaghuSGS:

Hi All

I am using BB Server version 7.19.3 what is the Bug fix Release for Bitbucket Server and Data Center - Command injection vulnerability - CVE-2022-36804

Best

Raghu


Answers:
author: Anton Shaleev
body: Hi Raghu

According to [Bitbucket Server and Data Center Advisory 2022-08-24:](https://confluence.atlassian.com/bitbucketserver/bitbucket-server-and-data-center-advisory-2022-08-24-1155489835.html)

* 7.6.17
* 7.17.10
* 7.21.4
* 8.0.3
* 8.1.3
* 8.2.2
* 8.3.1

But as usual, upgrading to the latest bugfix release is recommended since it has all the recent bug fixes in addition to vulnerability fixes.


author: Robert Wen_ReleaseTEAM_
body: Hello [@RaghuSGS](/t5/user/viewprofilepage/user-id/5071395) ! Welcome to the Atlassian Community!

According to this notice, you need to upgrade to 7.21.4 or later.

<https://confluence.atlassian.com/bitbucketserver/bitbucket-server-and-data-center-advisory-2022-08-24-1155489835.html>


Tags: bitbucket-server

server
Create a tag on every merge
Asked by Mike Wilson:

I would like to create a script that

- reads the last git tag with version info in it

- write a new tag at the merge with an incremented version number

Is this possible, and please give pointers as to how it would be accomplished. I know we did this at a previous company. but maybe they were using BitBucket Server.


Answers:
author: Mark C
body: Hi [@Mike Wilson](/t5/user/viewprofilepage/user-id/5071393),

I do believe you can explore doing this using [Bitbucket Cloud Pipelines](https://bitbucket.org/product/features/pipelines).  
Bitbucket Cloud Pipelines will allow you to trigger Pipelines builds on pull requests and from there, you can perform your desired automation script (e.g. to read and write tags)

Here are some links that might help:

* [Configure bitbucket-pipelines.yml - pull-requests](https://support.atlassian.com/bitbucket-cloud/docs/configure-bitbucket-pipelinesyml/#pull-requests)
* [Get started with Bitbucket Pipelines](https://support.atlassian.com/bitbucket-cloud/docs/get-started-with-bitbucket-pipelines/)

Hope it helps and do let me know if you have further questions.

Regards,  
Mark C

comments: author: Paul Montero
body: Sorry but this does not help. In gitbub/gitlab/circleci exists packages with a few lines to add that.  

I researched looking for some easy way to increase a tag version on merges to master but there is nothing close to it. we have to create our own scripts for something that other services does it with a few of lines.  

I hope pipelines can include these kind helpers.


Tags: bitbucket-cloud

cloud