youngmon/atlassian-qna huggingface dataset:
No card links displayed in email notifications of reports
Asked by Mythri Raveendra:

Hello there,

I am trying to set up automation to generate a report of all cards from a column due in 2 days and send an email with a link to these cards, but I end up with a blank email. What am I doing wrong? This is what the command looks like:

every day, create a report in variable "report" with all cards due in less than 2 days in list "Code Review" using pattern "\[{cardname}\]({cardlink}) ({cardmemberusernames}) =\> DUE on {cardduedate}\\"", and send an email notification to "\<email\>" with subject "Code Review Due" and message "\\"{$report_html}\\""


Answers:
author: Laura Holton _ACE Rotterdam_
body: Hi [@Mythri Raveendra](https://community.atlassian.com/t5/user/viewprofilepage/user-id/4663259) ?

Welcome to the Community! It seems this has been raised twice as a question but to help I've popped the same answer in both...

I've been taking a look at this for you, as well as using Trello's '*[Creating reports with Butler](https://help.trello.com/article/1192-creating-reports-with-butler)*' page as a reference.

I believe I spotted a little bit missing in your commands. It's kind of like a game of spot the difference but I've popped in two examples below and then yours further down...
> **Trello Example 1**
>
> ```
> create a report with all cards in list "Done"
> using pattern "- [{cardname}]({cardlink}) ({cardmemberusernames}) {{%Priority}}"
> ```
>
> **Trello Example 2**
>
> ```
> every friday at 11:45 pm,
> create a report in variable "Doing"
> with all cards in list "Doing"
> using pattern "- [{cardname}]({cardlink}) ({cardmemberusernames}) {{%Priority}} => DUE on {cardduedate}",
> create a report in variable "Done" with all cards in list "Done"
> using pattern "- [{cardname}]({cardlink}) ({cardmemberusernames}) {{%Priority}} => DONE on {{%Completion Date}}",
> and send an email notification to every member of the board
> with subject "Report for week #{weeknumber}"
> and message "Doing:\n\n{$Doing}\n\nDone:\n\n{$Done}"
> ```

**Your Example**

every day, create a report in variable "report" with all cards due in less than 2 days in list "Code Review" using pattern "\[{cardname}\]({cardlink}) ({cardmemberusernames}) =\> DUE on {cardduedate}\\"", and send an email notification to "\*\*\*\*\*@\*\*\*.com" with subject "Code Review Due" and message "\\"{$report_html}\\""

**My suggestion**

```
every day at 10:15am,
create a report in variable "report"
with all cards due in less than 2 days in list "Code Review"
using pattern "- [{cardname}]({cardlink}) ({cardmemberusernames})  {{%Priority}} => DUE on {cardduedate}\",
and send an email notification to "*****@***.com"
with subject "Code Review Due"
and message "\"{$report_html}\"
```

I hope this helps but let me know if you have any questions or it's still not working ?

All the best,

Laura


Tags: email

report
Trigger ''by anyone except'' multiple users?
Asked by Igor Tokarcik:

Hi, is it possible to add somehow multiple users into trigger of rule ''by anyone except@" ? I need to define 5 admins who are allowed to move cards, and if somebody else move card then I want butler to send me notification through slack. But I am only able to set one user after @ sign. Any idea how to make it work? thanks ![image.png](https://community.atlassian.com/t5/image/serverpage/image-id/172588i034C116DBB0D84B8/image-size/large?v=v2&px=999 "image.png")


Answers:
author: Laura Holton _ACE Rotterdam_
body: Hi [@Igor Tokarcik](/t5/user/viewprofilepage/user-id/4663644) ?

Welcome to the Community! I've taken a look at this for you and tested it on my own Trello workspace but unfortunately I've not managed to find a way to add more than one user to the 'except rule.' For example, using commas didn't offer me a functionality to add additional users and this is usually a common way to do this.

My recommendation would be to pop a support ticket in with Trello directly just in case there is a solution however my gut is saying it's just not a functionality at the moment. You can raise a support ticket here \>\> <https://trello.com/contact#/>

I hope this helps but if you have any more questions just ask away ?

All the best,

Laura

comments: author: Igor Tokarcik
body: Hi [@Laura Holton _ACE Rotterdam_](/t5/user/viewprofilepage/user-id/2568325) , thanks for checking. I will raise ticket and will post their reply here.

I found one variable which looked promising -\> {cardmemberusernames} , but seems like this rule did not do anything. Do you know how this works? If in other type of rule it can somehow check if person who triggered action is member of card? thanks


author: Romain Verkindt
body: Hi [@Igor Tokarcik](/t5/user/viewprofilepage/user-id/4663644) ,  
did you finally manage to find a solution to add multiple users in your rule?  
I have the exact same need and for now I have to create one rule for each person.  
thanks!

comments: author: Igor Tokarcik
body: Hi Romain, nope, so far I did not found any solution for this case. I made workaround, by few rules, where I send notification to admin if card gets moved to other direction as I would expect and that will notify admin to check what happened. If card should go from list A to B, but suddenly it jumped to list C, Admin is notified and he can handle correction. This way I am not sending notification on each move, just on those which looks suspicious. I hope this helps you
Some of my Boards have disappeared since the upgrade to Workspaces, do you know how to find them?
Asked by Paul Davey:

I had a number of Boards pre the upgrade with Atlassian but recently logged in and can't find them. Do i need to upgrade or is there a way to find them while on the free version?


Answers:
author: Laura Holton _ACE Rotterdam_
body: Hi [@Paul Davey](/t5/user/viewprofilepage/user-id/4662978) ?

Welcome to the Community! I think your boards are just closed. Trello doesn't automatically delete information, so I'd double check the closed boards section and re-open them: <https://help.trello.com/article/781-reopening-a-closed-board>

A free Workspaces can only hold 10 open boards, so you may have to a) upgrade b) move boards to a new Workspace or c) close some open boards if you want to open up closed boards. Trello also have a contact form available at <https://trello.com/contact> in case you need direct support from them.

I hope this helps but if you have any other questions just ask away ?

All the best,

Laura
CANCELAMENTO E REEMBOLSO
Asked by Asian Brasil:

Prezados,

Preciso de uma ajuda da comunidade no que diz respeito a confirma??o do suporte,  

Fiz uma compra na Trello, por?m, imaginava que a cobran?a seria feita em Reais e foi feita em D?lares. No mesmo momento que recebi a confirma??o da compra pela operadora do cart?o e me assustei quando percebi que o valor era quase 6 vezes o valor que eu imaginava, cancelei a compra de imediato e solicitei reembolso, por?m at? agora n?o obtive retorno e respostas.  

A minha pergunta ? como posso ter contato com o suporte, onde eu tenha respostas, j? que possui um artigo nos termos jur?dicos que garante o reembolso em at? 90 dias ap?s a inscri??o e cancelamento, por?m preciso de respostas da equipe e n?o estou tendo.  

Pe?o desculpas pelo engano, mas se eu tivesse a certeza que seriam valores cobrados em D?lar, estudaria melhor a condi??o.   

Obrigado.


Answers:
author: Laura Holton _ACE Rotterdam_
body: Ol? [@Asian Brasil](/t5/user/viewprofilepage/user-id/4663010) ?

Bem-vindo ? comunidade! Minha recomenda??o seria levantar um t?quete de suporte diretamente com o Trello, selecionando a op??o 'faturamento' como o t?pico ao mesmo tempo. Isso lhe dar? a resposta mais r?pida e, com sorte, uma resolu??o r?pida para voc? tamb?m.

Voc? pode obter um t?quete de suporte aqui: <https://trello.com/contact#/>

Espero que isso ajude, mas se voc? tiver qualquer outra d?vida, pergunte-me ?

Tudo de bom,

Laura

comments: author: Asian Brasil
body: No entanto ningu?m da um retorno por esse canal!!!!
Issue when opening App on Desktop
Asked by Teresa:

Does anyone know why suddenly instead of going straight into my boards I end up with this screen every single time, even if I"m logged in? I'm using Windows 10 and the app that I downloaded from the Microsoft store.![trello opening.png](https://community.atlassian.com/t5/image/serverpage/image-id/172493i2E5ABE0A4B3BFD8D/image-size/large?v=v2&px=999 "trello opening.png")


Answers:
author: Laura Holton _ACE Rotterdam_
body: Hi [@Teresa Spinks](/t5/user/viewprofilepage/user-id/4532606) ?

Welcome to the Community! A few members seem to be experiencing this at the moment so it may be a bug. My recommendation would to raise a ticket directly with Trello support, as they'll then be able to confirm the issue and get this sorted for you as soon as possible.

You can raise a support ticket here \>\> <https://trello.com/contact#/>

I hope this helps but if you have any other questions just shout ?

All the best,

Laura


author: chloe.arntzen
body: I also have this happening, it is basically treating it as if you need to log in, but then does not ask for account information in order to log in. It's just breaking any of the automation around opening a few boards automatically.
Como criar relat?rios do trello para planilhas excel?
Asked by Maicon Soares Antunes:

Please, I need help with importing trello metrics as I need metrics like: Custom fields, and each list separately from my trello board.


Answers:
author: Alice Guimar?es
body: Boa noite.

Ent?o n?o tem como exportar as informa??es em formato de relat?rio? pdf


author: Alex W
body: Hey [@Maicon Soares Antunes](/t5/user/viewprofilepage/user-id/4662892), we don't natively offer importing into Trello (with a CSV), but you might be interested in a work-around one of our Community Leaders, [@Brittany Joiner](/t5/user/viewprofilepage/user-id/1692248), shared with us recently: <https://community.atlassian.com/t5/Trello-articles/Trello-Holiday-Calendar-Day-5-Import-CSVs-to-Trello-with-Crmble/ba-p/1878179>
Force 2FA
Asked by Andreas Gloistein:

Is it possible to force 2FA for shared boards?


Answers:
author: Laura Holton _ACE Rotterdam_
body: Hi [@Andreas Gloistein](/t5/user/viewprofilepage/user-id/4662746) ?

Welcome to the Community! The only way to enforce 2FA would be to use an SSO provider with Trello, and require 2FA to sign into your SSO . This is a feature of Trello Enterprise. If you'd like to learn more, you can check it out here <https://trello.com/enterprise>
> Seamlessly set up SAML SSO for your teams with [Atlassian Access](https://www.atlassian.com/software/access), available across all Atlassian cloud products.

I hope this helps but if you have any other questions just ask away ?

All the best,

Laura

comments: author: Andreas Gloistein
body: Thank you for your quick response :-)
Can I create board / task templates with the "standard" package ?
Asked by Paul Gautier:

I struggle to get the answer based on the pricing list : <https://trello.com/en/pricing>

Thank you !


Answers:
author: Laura Holton _ACE Rotterdam_
body: Hi [@Paul Gautier](/t5/user/viewprofilepage/user-id/4662597) ?

Welcome to the Community! All Trello users can create a free public template to share their expertise and workflows with the community. Business Class and Enterprise teams can also create unlimited private, team-visible, and public templates.

On the standard plan you should also find you can create card templates so they can be replicated on the board and help your workflow from start to finish.

I hope this helps but if you have any other questions just shout ?

All the best,

Laura

comments: author: Paul Gautier
body: Thank you [@Laura Holton _ACE Rotterdam_](/t5/user/viewprofilepage/user-id/2568325) !

Can I also create a board template within the standard plan ?

Thank you !

Best,


author: Laura Holton _ACE Rotterdam_
body: No worries, glad I could help ?

Yes you can, the only thing to take into consideration when creating your board template is that the template will be visible to the Trello Community.

If you are looking/need to create private and team-visible only, (as well as public) board templates you can only do this on the Business Class and Enterprise plans.

All the best,

Laura
Bitbucket Self Hosted Server to self hosted Data Center
Asked by DonUK:

We currently have an implementation of BitBucket Server (10 License) and want to upgrade to Datacenter (25 licenses)

Is this just a change of licenses or is it a new install

Best Regards

Don


Answers:
author: Alexis Robert
body: Hi [@DonUK](/t5/user/viewprofilepage/user-id/2900120) ,

it's as simple as updating your licence key in the administration interface to switch from Server to Data Center !

However, to take full advantage of the Data Center features like High Availability, you will need to follow the documentation to change a few installation settings (HOME folder for example will need to be a share storage) : <https://confluence.atlassian.com/bitbucketserver/install-bitbucket-data-center-872139817.html>

Let me know if this helps,

--Alexis

comments: author: DonUK
body: Hi Alexis

Thanks that is very helpful

Best Regards

Don


Tags: bitbucket-server

server
I cannot publish my Code with Visual Studio repository to Bitbucket
Asked by Nyein Chan Aung:

**First** : I create respository on Bitbucket Cloud.

**Second** : I publish the project code with visual studio with respectively URL from Bitbucket URL.   
I hit below issue:

**Error encountered while pushing branch to the remote repository: rejected Updates were rejected because the remote contains work that you do not have locally. This is usually caused by another repository pushing to the same ref. You may want to first integrate the remote changes before pushing again.**

How to fix it, Thanks.


Answers:
author: Theodora Boudale
body: Hi Nyein Chan Aung and welcome to the community!

The error message that you get indicates that the repository in Bitbucket Cloud contains commits that you do not have locally.

This may be the case

1. either because someone pushed commits to your repository that you do not have locally

2. or because you created a repository in Bitbucket Cloud including a README or .gitignore (these are options in the Create repository page) and then did not clone the repo containing this initial commit.

In this case, your new repository in Bitbucket Cloud will contain a first commit with the README or .gitignore. If you did not clone the repository locally, but you created a new local repo and you are trying to push its code to Bitbucket, then Git will complain because your local repo doesn't have the initial commit that your remote does.

The solution in either case should be pulling any changes from the remote repo first and then you should be able to push your changes.

Please feel free to let me know how it goes and if you have any questions.

Kind regards,  
Theodora

comments: author: proskilly
body: I have the same problem, the thing is the pull option is disabled in Visual Studio team explorer tab so i can't see how to do a pull before doing the push.


author: Theodora Boudale
body: Hi [@proskilly](/t5/user/viewprofilepage/user-id/1167931) ,

Does the branch you are working on in Visual studio have an upstream branch configured? If not, that may be a reason why the pull option is disabled. If the upstream branch is configured but you're still having issues with the button being disabled, you may want to reach to Visual Studio support team to figure out why this occurs.

Pulling changes is a common operation when you work on a repo along with other users who push to the branch(es) you are working on, so you need to have the ability to pull changes.

If you have Git Bash installed on your machine, you can navigate to the directory of your local repo, check out the branch you are working on, set the upstream branch with the command

```
git branch -u <remote>/<branch>
```

and then you should be able to pull changes with the command

```
git pull
```

Kind regards,  
Theodora


Tags: bitbucket-cloud

cloud

repository
Jira <-> Bitbucket Application linking failing with self signed certificates
Asked by Apoorva HR:

Hi,

I am running Jira and Bitbucket servers in two different linux machines. Both jira and bitbucket servers are secured with tomcat using ssl(self-signed certificates). I am trying link both JIRA and Bitbucket with application linking. i have exported the certificates from Jira server and imported in Bitbucket and vice-versa. But still I am getting errors '[Jira](https://10.20.143.6:8090/plugins/servlet/applinks/listApplicationLinks) may be using a self-signed SSL certificate or a certificate that was issued by a certificate authority that isn't known locally' in bitbucket. Please help me to solve the issue.

I have exported and imported certificates using keytool.

Thanks,

Apoorva


Answers:
author: Christian Glockner
body: Hi Apoorva,

Looks like you're on the right track by importing the certificates, but I wonder which keystore you imported which certificate(s) into.

Cheers,

Christian

Premier Support Engineer

Atlassian

comments: author: Apoorva HR
body: Hi Christian,

I followed the below steps..

1. Exported the certificate from butbucket into file file.cer.

$sudo keytool -export -alias tomcat -file file.cer -keystore \<Bitbucket home\>\\shared\\config\\ssl-keystore

2. Copied file.cer to Jira machine.

3. Imported the file.cer in Jira machine.

$sudo keytool -import -alias tomcat -file file.cer -keystore

4.

    export JAVA_OPTS=-Djavax.net.ssl.trustStore="$JAVA_HOME/jre/lib/security/cacerts" -Djavax.net.ssl.trustStorePassword="changeit"

I got these steps from <https://confluence.atlassian.com/bitbucketserverkb/problem-creating-an-application-link-from-jira-to-a-https-bitbucket-server-or-vice-versa-779171870.html>

Thanks,

Apoorva


Tags: application-link

bitbucket-server

jira

server
Get pipeline by uuid is not working, could you please help?
Asked by Gaston Kanzepolsky:

Hi,

I am running a http request from a groovy script :  

def spn = 'myusertoauthenticate'   
def content = 'APPLICATION_JSON'   
def url = "<https://api.bitbucket.org/2.0/repositories/{workspace}/{repo_slug}/pipelines/{pipeline_uuid>}

<br />

def response = httpRequest authentication: spn, contentType: content, timeout: 20, url: url, validResponseCodes: '200'   

I received a 400 bad request.

The POST request is working fine and also when I call the GET function without the {pipeline_uuid} I received all the pipelines, but the issue is when I call with the {pipeline_uuid}, the pipeline uuid that I am using is the pipeline uuid that I received in the POST.   

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

Thanks,


Answers:
author: Gaston Kanzepolsky
body: Fixed.

I Fixed using the url like this:

def url = "[https://api.bitbucket.org/2.0/repositories/{workspace}/{repo_slug}/pipelines/%7Bpipeline_uuid%7D](https://api.bitbucket.org/2.0/repositories/%7Bworkspace%7D/%7Brepo_slug%7D/pipelines/%7Bpipeline_uuid)

My issue was related with the {} in the pipeline uuid, so I replaced using %7B and %7D

Thanks


Tags: bitbucket-pipelines
Is there a way to open a new Pull Request in a pipeline?
Asked by Phillip Demro:

I would like to create a pipeline which, on commit, will open a PR with the forked repository


Answers:
author: Jay Seletz
body: You can do it via API calls and a shell script. Here are some bash functions I wrote as part of a script that should get you started, the functions assume $srcBranch, $tgtBranch, $repo, $userName and $password are set:

```
function getPullRequestPostData() {
  cat <<EOF
{
    "title": "$title",
    "source": {
        "branch": {
            "name": "$srcBranch"
        }
    },
    "destination": {
        "branch": {
            "name": "$tgtBranch"
        }
    }
}
EOF
}
```

```

function openPR() {
  echo "Opening PR for repo: $repo"

  response=$(curl --write-out %{http_code} --silent --output /dev/null https://api.bitbucket.org/2.0/repositories/YourWorkspace/$repo/pullrequests \
    -u $userName:$password \
    --request POST \
    --header "Content-Type: application/json" \
    --data "$(getPullRequestPostData)")

  result=0

  if [ "$response" -ne "200" ] && [ "$response" -ne "201" ]; then
    echo "ERROR: Status code is $response"
    result=-1
  fi
  return $result
}
```

comments: author: Phillip Demro
body: Thank you [@Jay Seletz](/t5/user/viewprofilepage/user-id/3570383) ! I will give this a try. Quick question - is the shell script able to load your $variables directly from the BitBucket repository variables?


author: Jay Seletz
body: I recommend you wrap these functions in your own shell script and pass bitbucket variables into the shell script as command line args. Then you can also run/test it locally first easier.


author: Phillip Demro
body: I will give it a try this week and report back, thanks again [@Jay Seletz](/t5/user/viewprofilepage/user-id/3570383)


author: Phillip Demro
body: My answer below.. I had to specify "repository" in the source object since the PR was coming from a fork apparently:

```

title=$1
srcBranch=$2
tgtBranch=$3
repo=$4
userName=$5
password=$6

# echo "Title: $title"
# echo "srcBranch: $srcBranch"
# echo "tgtBranch: $tgtBranch"
# echo "repo: $repo"
# echo "userName: $userName"
# echo "password: $password"

function getPullRequestPostData() {
cat <<EOF
{
"title": "Automated Pull Request",
"source": {
"branch": {
"name": "$srcBranch"
},
"repository": {
"full_name":"$userName/$repo"
}
},
"destination": {
"branch": {
"name": "$tgtBranch"
}
}
}
EOF
}


function openPR() {
echo "Opening PR for repo: $repo"

response=$(curl https://api.bitbucket.org/2.0/repositories/[target repo org]/$repo/pullrequests \
-u $userName:$password \
--request POST \
--header 'Content-Type: application/json' \
--data "$(getPullRequestPostData)" \
)

result=0

if [ "$response" -ne "200" ] && [ "$response" -ne "201" ]; then
echo "ERROR: Status code is $response"
result=-1
fi
return $result
}


openPR
```


Tags: bitbucket-pipelines

bitbucket-cloud

cloud
Why receive 400 Bad request for executing custom pipeline API
Asked by Michael Brizic:

This is what I execute:  

curl -X POST -i -u '\<username\>:\<password\>' -H 'Content-Type: application/json' [https://api.bitbucket.org/2.0/repositories/\<workspace\>/\<slug\>/pipelines/]() -d '  
{  
"target": {  
"type": "pipeline_ref_target",  
"ref_type": "branch",  
"ref_name": "master",  
"selector": {  
"type": "custom",  
"pattern": "increment-build-version"  
}  
}  
}'  

This is what I receive:  

{"error": {"message": "Bad request", "detail": "bitbucket-pipelines.yml not found.", "data": {"key": "result-service.pipeline.yml-not-found", "arguments": {}}}}  

But, I have a bitbucket-pipelines.yml file and custom pipelines defined like so:  

pipelines:  
custom:  
new-start-testflight:  
- step:  
name: New Test Flight  
image: atlassian/default-image:2  
script:  
- ./prepTestFlight.sh

increment-build-number:  
- step:  
name: Increment Build Version  
image: atlassian/default-image:2  
script:  
- git remote set-url origin ${BITBUCKET_GIT_SSH_ORIGIN}  
- ./incrementBuildVersion.sh


Answers:
author: Marcos Silva
body: A little bit late, but in my case, the error was caused due to the custom pipeline didn't exist in the specified branch.  

See this other thread for reference <https://community.atlassian.com/t5/Bitbucket-questions/Pipeline-trigger-run-fails/qaq-p/2024388>


author: ktomk
body: The error message is not specifically meaning that the bitbucket-pipelines.yml file would not be there, it does also mean that the pipeline selected is not in that file (at refs/heads/master on the Bitbucket remote).

The pipeline "custom/increment-build-version" according to the yaml you posted can not be found.

I'd assume a misnomer and the pipeline is "custom/increment-build-number" instead (version -\> number).


Tags: bitbucket-pipelines

cloud