youngmon/atlassian-qna huggingface dataset:
Zoho CRM integration
Asked by Volodymyr Savvo:

Yesterday, when I did the Trello integration with Zoho, I got a board with sales process cards in Trello. But there were two cards, that is, there was a double sales process. I decided to uninstall and reinstall the plugin. And after re-synchronization, the board appeared again, but now there are no cards on the sales process on it at all.


Answers:
author: Alex W
body: Hi [@Volodymyr Savvo](/t5/user/viewprofilepage/user-id/4714974) - if you're having issues with the Zoho CRM Power-Up, I recommend reaching out to the support team for the Power-Up at support@zohoextensions.com


Tags: integration

zoho
Move card to list based on start date
Asked by Alex:

Hello,

I'm fairly new to Trello and here is one problem I encountered, for which I couldn't find a solution anywhere.

We have set up a board with different lists corresponding to each month of the year. Now I'd like to set a rule to automatically move cards to their corresponding month-list, based on the start date of the card.

I found a way to move a card with a start date "this month" to a certain list (ex: January), but it seems to mean that I would have to update the destination list every month, which is not very practical.

Any input is welcome, thank you!\^\^


Answers:
author: milynnus
body: [@Alex](/t5/user/viewprofilepage/user-id/4714960)

Try using {cardstartdate\~MMMM} to as the listname

comments: author: Alex
body: Wow, thanks it does work well! I'll have to rename my lists so that it doesn't create duplicates but it does the trick as long as the created card has a start date "this month".  
Quick follow-up question, what would be the code to use if the start date trigger is "next month" (because it does happen, especially at the end of one month)?


author: milynnus
body: [@Alex](/t5/user/viewprofilepage/user-id/4714960)

By using the variable, it should work for any month.


author: Alex
body: Will give it a try. Thanks a bunch!


author: Courtney Terilli
body: Hi there!   

I am trying to do the same thing, I think. I have a board with separate lists for each month, as well as a "To Be Sorted" list where cards copy from another board and get sorted into the correct month's list based on start date.   

I would like those card to be automatically sorted into their respective list on the board. I believe this is the same outcome you were looking for in this post [@Alex](/t5/user/viewprofilepage/user-id/4714960) ? I have read the answer from [@milynnus](/t5/user/viewprofilepage/user-id/3947182) over and over again and I cannot figure out how I am supposed to set it up.   

What is an example of the list name you are using? Also, what are the details of the action/trigger?   

Thanks so much for any help!
Trello/Helpscout integration creates 2 cards instead of one
Asked by Kevin Kuschel:

Hi, we have an integration set up that creates a Trello card on our content corrections board if we tag a Helpscout conversation with "trello-corrections". It used to work for years, but now it always seems to create two identical cards instead of one, despite only one email being forwarded.

I'm not sure what extra information is required for you to help. This is making our workflow tedious. Hope someone can chime in with support here.

Cheers,

Kevin


Answers:
author: Alex W
body: Hi [@Kevin Kuschel](/t5/user/viewprofilepage/user-id/4714359) - are you using the Help Scout Power-Up? If so, I recommend reaching out to Help Scout support with this issue at developer@helpscout.net


Tags: app

integration
Search not working for new cards?
Asked by breez:

Search not working for new cards? my team can't search new create card 1-2 day ago


Answers:
author: Zulfiqar Bin Zafar
body: Hello [@breez](/t5/user/viewprofilepage/user-id/4714389) ,

Welcome to the community!

This issue appears to be corrected, for the most part. New cards are now searchable within a minute or so. Support says there is no intention / plan of decreasing the lag time further.

Thanks \& Regards,

Zulfiqar Bin Zafar
Fetch details of Bitbucket (cloud) pipelines with filters using the Bitbucket cloud REST API
Asked by kuwilk:

tried using this,

curl -G -H "Authorization: Bearer {mmpvgTwfY54A5Nv3Ggmsm35GULHwEsBlx3P1h_t5yrPwYbPZfm7T8xGtqUtc6thNcGvkzm1EBm6BFcKDtVY=}" -H "Accept: application/json" "<https://api.bitbucket.org/2.0/repositories/ifs-pd/ifs-applications/pipelines/>" --data-urlencode 'sort=-created_on'

and it worked!

**BUT t** his API end point **doesn't seem to respond to any query params**. Tried using --data-urlencode "q=created_on \> 2020-10-17" for example, but it simply doesn't work. Returns the same JSON document that lists all of the pipelines.

Tried a few *other* *end points* like e.g.

curl -G -H "Authorization: Bearer {QwpvgYrfw69Z5Nv3Qgmsm3m8ULHwEsBlx3P1h_t5yrPwYbPZfmV78xGtqUtc6thNcGvkzm1EBm6BFcKTHVY=}" -H "Accept: application/json" "<https://api.bitbucket.org/2.0/repositories/ifs-pd/ifs-applications/pullrequests/>" --data-urlencode 'sort=-created_on\&page=2' and they worked as documented.

Has anybody tried using the REST API for Bitbucket cloud pipelines? Would appreciate any explanation/insight.

Thanks!


Answers:
author: Murray Rowan
body: FWIW, this seems like a duplicate of [https://community.atlassian.com/t5/Bitbucket-questions/Query-Bitbucket-API-for-occurrences-of-a-custom-pipeline/qaq-p/1441389](https://community.atlassian.com/t5/Bitbucket-questions/Query-Bitbucket-API-for-occurrences-of-a-custom-pipeline/qaq-p/1441389?)


author: Halyna Berezovska
body: [@kuwilk](/t5/user/viewprofilepage/user-id/3541104) hello, we actually have a pipe that may cover your needs (look at <https://bitbucket.org/atlassian/bitbucket-build-statistics/src/master/>) This pipe gather statistics of run pipelines builds for given (or current) repository for n days.

Or if it does not cover what you'd like to implement, tell in more detail, what do you want to get from the build, what info?

Also look at bitbucket api doc

<https://developer.atlassian.com/bitbucket/api/2/reference/resource/repositories/%7Bworkspace%7D/%7Brepo_slug%7D/pipelines/>

and

<https://developer.atlassian.com/bitbucket/api/2/reference/resource/repositories/%7Bworkspace%7D/%7Brepo_slug%7D/pipelines/%7Bpipeline_uuid%7D>

Cheers, Galyna


Tags: bitbucket-pipelines
google sheet information is not converting in to new card
Asked by Laura:

I have attached a short Loom video of my screen of the problem I am having.

[Short video of issue of google information not getting transferred into card in Trello](https://www.loom.com/share/9832d0fffa42449b8e42385969e32636)

I have set up the zap and selected the info I would like added to the new card but the information I have selected doesn't appear on the card.

Look forward to your help.

Laura


Answers:
author: milynnus
body: [@Laura](/t5/user/viewprofilepage/user-id/4714240)

You will have to insert the variables using the results from an earlier zap step as illustrated by Michael.


author: Michael Pryor
body: The Loom was super helpful thanks.

You definitely have to click on the Sheet fields to fill them in like this:

![Screen Shot 2022-01-18 at 8.02.23 PM.png](https://community.atlassian.com/t5/image/serverpage/image-id/178394iCB605AF234573E49/image-size/large?v=v2&px=999 "Screen Shot 2022-01-18 at 8.02.23 PM.png")

But other than that, I'm not sure what's going on. That worked fine for me from scratch when I set it up.

Added a new row with some different info:

![Screen Shot 2022-01-18 at 8.03.26 PM.png](https://community.atlassian.com/t5/image/serverpage/image-id/178395i4EB929EF11A38C60/image-size/large?v=v2&px=999 "Screen Shot 2022-01-18 at 8.03.26 PM.png")

And card showed up correctly

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

comments: author: Michael Pryor
body: When a zap runs, Zapier will show you all the details about the run in the history of the run too. You have to switch to their history tab to see it.


author: Laura
body: Thanks still have another question what you said helped but still have and issue [Video for next help ?](https://www.loom.com/share/2b4cdba16ac64646ba0472ae7cb2d7ff)


author: milynnus
body: [@Laura](/t5/user/viewprofilepage/user-id/4714240)

If the data is not there, the placeholder will be empty.

One way you can go about it is to write a simple piece of code to insert between the zap steps to put in some text if the test condition returns an empty string for the set of potentially null fields.

In Zapier, you can use Code by Zapier and choose the python...there are some useful examples.
Pipeline is too slow or appears like hung when Maven Unit tests are run
Asked by Krishna Mukdapu:

We have quite a large set of unit tests and the total time needed to run all unit tests is about 25 minutes when tests are run on a developer machine. However, the same unit tests when run through Bitbucket Pipeline, it appears to be running forever and build fails due to time out (as the build timeout is set to 120 minutes). Can an expert advise how Bitbucket Pipeline can be configured to run my tests quicker? Please find the Pipeline our config YAML file for your reference. We tried with/without size: 2x and did not notice much difference. Our expectation is to finish running tests in \~ 25 mins (or less, if possible) and the current situation is that it seems to be taking \> 120 mins and the build is timing out.

```
pipelines:
  branches:
    dev:
      - step:
        size: 2x
        name: Deploy to Development
        deployment: development
        caches:
          - maven
        script:
          - cd <project folder>
          - mvn clean install?
```


Answers:
author: Josh
body: 2 years later same issues lol

comments: author: Ismoil Shokirov
body: almost 3 years later, nothing changed lol


Tags: bitbucket-pipelines
How do I get full access?
Asked by jhford1939:

My ex-developer established our Bitbucket account with 2 repositories. She provided me with access to only one of them. She no longer responds to my emails. How can I take ownership to the entire account?

Thank you


Answers:
author: Swetha Boyapati
body: Hi,   

Please contact Bitbucket Cloud Support at <https://support.atlassian.com/contact/>. They should be able to guide you.  

<br />


Tags: bitbucket-cloud

cloud
What happens to the Git branch when a pull request is declined?
Asked by Harrison McCullough:

What happens to the associated Git branch when a pull request is declined? I believe the documentation says that *nothing* happens to the underlying repository.

What happens if the branch is later deleted? Will the pull request still "hold on" to the code that was supposed to be merged? Or will Git eventually garbage collect them if no branches/tags reference the changed code?

In case it's helpful, I'm wondering what will happen if these steps happen:

1. Branch is created
2. Commits are added to the branch
3. Pull request is created based on the branch
4. Pull request is declined
5. The branch is deleted on the server


Answers:
author: Mikael Sandberg
body: If you delete a branch that have not been merged, as in the scenario of a pull request being declined, your commits would also be lost. So the only thing the pull request would hold on to would be the commits, but since those have been deleted you would not be able to reopen or view the code changes. This is why Bitbucket gives you a warning when deleting a branch with commits that you will lose those changes too.

comments: author: Harrison McCullough
body: That's what I assumed. Thank you for confirming!


Tags: bitbucket-server

branch

git

pull-request

server
Why git repository is too large while compare with my local project ?
Asked by Devi Prasad:

My project size in local is 190mb but in git repository its showing 750mb why it happens?

May i doing anything wrong? Please help me!


Answers:
author: Theodora Boudale
body: Hi Devi,

One possible reason is that your local repo does not have all the branches/commits that the Bitbucket repo does. Another possible reason is that the remote repo has some dangling commits and/or a git gc hasn't run on the remote repo.

If you give me the URL of the repo, I can run a git gc on it and this may help to reduce its size. If you don't feel comfortable sharing the URL publicly, you can open a ticket with Bitbucket Cloud support team and request for a git gc on the repo. You can open a ticket via <https://support.atlassian.com/contact/#/>, in "What can we help you with?" select "Technical issues and bugs" and then Bitbucket Cloud as product and also mention the URL of the repo.

Please feel free to let me know if you have any other questions.

Kind regards,  
Theodora


Tags: bitbucket-cloud

cloud
How to create a link to a image at my text in markdown
Asked by caugustomaia:

Hey guys, i use bitbucket cloud and i need help with markdown. I already have images along my text in markdown, but i want to create a link in the same text that could reference that image and if the reader clicks he would be redirectioned to that place at the text, just like linking sections (which doesn't work in bitbucket cloud).

Example:

Let's say I have this image:

!\[ImageTest\](./img/imgtest.png)

Here we just have text ...

.

.

.

Here i wanted to create a link to that image, is there a syntax to do that?

Intuitively i thought \[LinkImage\](#ImageTest) would work, but it doesn't.


Answers:
author: caugustomaia
body: Also, I would like to know if there is away to do the same thing to tables.


Tags: bitbucket-cloud

cloud
Pull Request from Terminal/Bash, getting XSRF Token Not Found Error
Asked by John Pooley:

hello

in my continuing quest to automate a Pull Request from a shell script, I am trying to do a PR, but getting the following error:

XSRF Security Token Missing {#toc-hId--1301708439}
--------------------------------------------------

I have tried using:

-H "Content-Type: application/json" -H "X-Atlassian-Token:no-check"

But this hasn't solved the issue. I can't see any other avenues to try in the documentation. Anyone have any ideas? Is this even possible?

thanks a lot!


Answers:
author: John Pooley
body: here is the full Curl request if that helps

```
curl -X POST https://MYHOST.cloud/projects/AP/repos/$REPO/pull-requests \
-u $USERNAME:$PASSWORD -H "Content-Type: application/json" -H "X-Atlassian-Token:no-check" --request POST \
--data '{
"title": "$COMMIT_TEXT",
"description": "automated PR. $COMMIT_TEXT",
"state": "OPEN",
"open": true,
"closed": false,
"fromRef": {
"id": "$NEW_BRANCH"
"repository" {
"slug": "$REPO",
"name": null,
"project": {
"key": "AP"
}
}
},
"toRef": {
"id": "develop",
"repository": {
"slug": "$REPO",
"name": null,
"project": {
"key": "AP"
}
}
},
"locked":false
}'
```


Tags: bitbucket-server

server
MFA is disabled but keeps asking for two-step verification on BitBucket
Asked by Drew:

MFA is disabled but keeps asking for two-step verification  

![BITMFA.png](/t5/image/serverpage/image-id/114525iE1F7821457987BDB/image-size/large?v=v2&px=999 "BITMFA.png")


Answers:
author: Theodora Boudale
body: Hi Andrew,

I see that you opened a support ticket for this and the issue has been resolved!

I just wanted to post the solution here for future reference, in case any other user with the same issue comes across your post:

It is possible to have 2FA enabled for an Atlassian account (<https://id.atlassian.com/>) and also for a Bitbucket account (<https://bitbucket.org/>). If 2FA is enabled for both, you'll be asked for a 2FA code twice when attempting to log in to Bitbucket Cloud. If you want to disable 2FA, you'll need to disable it for both the Atlassian and the Bitbucket account.

In the screenshot above, there is a link "Forgot code?" which will allow you to request a 2FA recovery email in order to disable 2FA for the Bitbucket account.

Kind regards,  
Theodora

comments: author: Ashiqul Hoque
body: I was going nuts over this! You finally solved my day. I was totally convinced that Atlassian 2FA and Bitbucket 2FA were the same thing, until I saw your answer. Thank you very much!!!


author: Scott Noring
body: I don't understand. When I go to the above links they are using the same login (Atlassian). I don't see a way to create two nor disable one. I am having serious access issues suddenly (no changes on my end) having to do with MFA. Please clarify.


author: Theodora Boudale
body: Hi [@Scott Noring](/t5/user/viewprofilepage/user-id/4612358),

2FA for the Atlassian account can be enabled/disabled via this page: <https://id.atlassian.com/manage-profile/security>  
2FA for the Bitbucket account can be enabled/disabled via this page: <https://bitbucket.org/account/settings/two-step-verification/manage>

When you attempt to log in to <https://bitbucket.org>, you will get redirected to <https://id.atlassian.com> for authentication, and after successful authentication back to Bitbucket.

We use Atlassian accounts (<https://id.atlassian.com>) for authentication to provide single login to users who use multiple Atlassian Cloud products. E.g. in order to access a certain Jira Cloud instance, authentication goes through <https://id.atlassian.com>. The Atlassian account is also used when logging in to community (<https://community.atlassian.com/>) or our issue tracker site (<https://jira.atlassian.com/secure/Dashboard.jspa>)

If you're having issues with 2FA, please create a new question with some more details on the issue and we can help you there.

Kind regards,  
Theodora


Tags: bitbucket-cloud

cloud
Jest + Pipelines Issue
Asked by Adam Woloszyn:

Greetings,

I'm trying to run automated JEST tests to report coverage on my front-end build prior to deployment. I've done this successfully in .NET Core with Pipelines, but having no luck with JEST.  

It seems to lack the proper permissions to create the tmp/cache folders it needs? How can this be resolved?

I've included my pipeline, but happy to provide any other information.

Thanks,![Screenshot at Oct 15 12-37-50.png](/t5/image/serverpage/image-id/114494iD5E07AB2AFDF3F1D/image-size/large?v=v2&px=999 "Screenshot at Oct 15 12-37-50.png")

Adam


Answers:
author: Theodora Boudale
body: Hi Adam,

My suggestion would be to create a support ticket for this issue via <https://support.atlassian.com/contact/#/>. In the field "What can we help you with?" select "Technical issues and bugs" and then Bitbucket Cloud as product. Make sure to give a URL of the build that has this issue.

The support team will be able to access the repo and logs for this build in order to better help you.

Kind regards,  
Theodora


Tags: bitbucket-cloud

cloud
How do I retrieve commit data from git tag that has slashes via rest api
Asked by snasman:

Hi everyone.

I am trying to retrieve commit data for a tag that has slashes in the name.

Ex tag:

release/2020-09-23-v3.13.4

I am using the following rest GET call but getting a 404 error.

<https://git.server.com/rest/api/1.0/projects/TEST/repos/test/commits/>release/2020-09-23-v3.13.4

Is there a way I can properly format this call to retrieve the commit data for the tag above?

Thank you so much for your help.


Answers:
author: David Bakkers
body: Encode the forward slash, dash and period characters in UTF-8 format, like:

```
release%2F2020%2D09%2D23%2Dv3%2E13%2E4
```

comments: author: snasman
body: Thank you for your response.

It still produces an error:

\<title\>HTTP Status 400 -- Bad Request\</title\>

Interestingly if you trying to do a range of commits between 2 tags with the same naming scheme using params since and until. Same commits endpoint works without any issues. Its only a problem when I want to get commit data for one tag. Maybe there is another call that would give me that data?


author: David Bakkers
body: Try referencing the commit by its ID, which is normally a SHA1 text string, like this
> <https://git.server.com/rest/api/1.0/projects/TEST/repos/test/commits/def0123abcdef4567abcdef8987abcdef6543abc>


Tags: bitbucket-server

rest-api

server
how i can run batch file using bitbucket-pipeline file ?
Asked by yosser_mahfoudh:

how i can run batch file using**bitbucket-pipeline** file ?


Answers:
author: Halyna Berezovska
body: [@yosser_mahfoudh](/t5/user/viewprofilepage/user-id/3803216) what do you mean by running file? as bash script?

In pipeline steps you can execute any bash-like command/script .

Cheers, Galyna


Tags: bitbucket-pipelines
Cloning a repository using OAuth token
Asked by Nir Amara:

Hey,

I'm using Bitbucket Server version 5.16.

I would like clone a repository via http using an OAuth token generated for my app from an application link.

Initially, i tried to do it like so (the way it works for bitbucket server):

```
git clone http://x-token-auth:<oauth token>@bitbucket.myorg.com/scm/tst/myrepo.git
```

however, that fails with authentication failure.

I tried additional combinations of usernames, permutations with the access token and token secret, all of which failed.

How do i clone a repository using OAuth token generated for my app from an application link in Bitbucket Server 5.16?

Thanks


Answers:
author: Christian Glockner
body: Hi Nir,

OAuth tokens cannot be used for cloning - if you want to use a token you'll need to use a Personal Access Token: <https://confluence.atlassian.com/bitbucketserver/personal-access-tokens-939515499.html>

Cheers,

Christian

Premier Support Engineer

Atlassian

comments: author: Nir Amara
body: Hey Christian,

Not the answer i was hoping for but thanks for your reply.


Tags: bitbucket-server

server
version control
Asked by Soldier:

Dear All,

If I have changed the code and someone also do that at the same time, how can we commit the version to the Bitbucket?


Answers:
author: Bastian Stehmann
body: Hi Soldier,

Welcome to the community.

There are two things that can happen, either it can be merged automatically or ot. If not, you'll have to do that yourself.

To make development easier,you are usually using different branches,so that it doesn't come to conflicts so often

Here you can read a little bit more about it.

<https://www.atlassian.com/git>

comments: author: Soldier
body: Hi [@Bastian Stehmann](/t5/user/viewprofilepage/user-id/1186496) ,

Noted with thanks.

One more comment, when I check out a file \& folder content and submit this version, but another also check out this file \& folder at the same time, submitting that version, if both submit those version, then how can others get the correct version?

BR

Soldier


author: Bastian Stehmann
body: Hi Soldier,

The second one will have to get the latest version from bitbucket with pull, before he pushes his changes to the repository.

So he has your changes and will have to merge them.

He then pushes the merged changes to the repository.

This way, in the repository is always the last pushed version.


author: Soldier
body: Hi Bastian,

Thanks for your prompt action.

BR,

Soldier
change name
Asked by Reham Hussein:

i created a project with name test

this is the link

[https://bitbucket.org/XXX/workspace/projects/TEST](https://bitbucket.org/Reham79/workspace/projects/TEST)

\& i changed my user name to YYY i want to change

XXX to YYY in the link


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

The XXX part in the URL is the workspace ID of the workspace that owns this project.

You can change that if you are an admin of this workspace via this link:

<https://bitbucket.org/XXX/workspace/settings>

Replace XXX in the URL with the workspace ID of that specific workspace. Then, in this page you will see the field **Workspace ID** , and in the same line the text **(change)**. Select that link to change it.

Please note: if your username is YYY, you will only be able to use YYY as workspace ID of the workspace associated with that account (not for any other workspace).

If you face any issues, please feel free to let me know.

Kind regards,  
Theodora


Tags: bitbucket-cloud