youngmon/atlassian-qna huggingface dataset:
Pipeline does not run on Dev branch
Asked by Sri Karan Sevilimadu Chakravarthy:

I am trying to set up a simple pipeline for s3 deploy and adding the below bitbucket-pipelines.yaml to my dev branch on a private repository.

I pushed the file but but the pipeline doesnot get triggered. Below is the error:

#### Hmm... can't find that one {#toc-hId--539894154}

That file or directory doesn't exist. Go back to the previous page and try another one.

bitbucket-pipeline.yaml:

```
# This is a build configuration for Go.
# Check our guides at https://confluence.atlassian.com/x/5Q4SMw for more examples.
# Only use spaces to indent your .yml configuration.
# -----
# You can specify a custom docker image from Docker Hub as your build environment.
image: atlassian/default-image:2

pipelines:
  branches:
    Dev:
      - step:
          name: Build artifact
          script:
            - ls -ltr
            - echo "folder already present"
      - step:
          name: Deploy DEV 
          deployment: Test
          script:
            - pipe: atlassian/aws-s3-deploy:0.3.5
              variables:
                AWS_ACCESS_KEY_ID: $xxxxxxxxx
                AWS_SECRET_ACCESS_KEY: $xxxxxxxxx
                AWS_DEFAULT_REGION: $xxxxxxxxx
                S3_BUCKET: xxxxxxxxx
                LOCAL_PATH: './folder'
                EXTRA_ARGS: '--exclude .gitignore --exclude bitbucket-pipelines.yml'

    master:
      - step:
          name: Deploy PROD
          deployment: Production
          script:
            - pipe: atlassian/aws-s3-deploy:0.3.5
              variables:
                AWS_ACCESS_KEY_ID: $xxxxxxxxx
                AWS_SECRET_ACCESS_KEY: $xxxxxxxxx
                AWS_DEFAULT_REGION: $xxxxxxxxx
                S3_BUCKET: $xxxxxxxxx
                LOCAL_PATH: './folder'
                EXTRA_ARGS: '--exclude .gitignore --exclude bitbucket-pipelines.yml'
```


Answers:
author: Theodora Boudale
body: Hi [@Sri Karan Sevilimadu Chakravarthy](/t5/user/viewprofilepage/user-id/4437128) and welcome to the community.

I would like to ask a few questions so we can better help you with this issue:

**1.** Can you please double check if the YAML file in your repository is named **bitbucket-pipelines.yml** ?

The name you mention in your post is **bitbucket-pipeline.yaml** instead, so I just want to make sure whether the file is named correctly in the repo.

**2.** I see in the contents of your YAML file that branch "Dev" is used with a capital 'D'.

Is this how the branch is named in your repo as well? Or is the branch in the repo in lower case letters, 'dev'?

**3.** Does the YAML file exist in the dev branch of the repo?

**4.** Which page exactly gives you the error you mentioned?

Is it the Pipelines page of the repo? The Source page of the repo? Or opening a certain file of the repo in Bitbucket UI? Or a different page?

Kind regards,  
Theodora


Tags: bitbucket-cloud

bitbucket-pipelines

cloud
Pipeline failed caused by npm command not found error
Asked by Liu Nanbing:

The last week my pipeline works fine, but yesterday it failed caused of npm not found error. The pipeline was not changed since the last time it works well.

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

I also tried default docker image and other versions of node images, but all get the same error.

I even tried "which npm" and got "bash: npm: command not found", seems no command is available.


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

I see in your yml file that you are using a variable named PATH. Have you defined that as a workspace, repository, or deployment variable?

If so, I believe this may be the reason for the errors you are seeing. $PATH is an environment variable which the shell uses to find commands, and any workspace, repository, or deployment variable with the same name will override it.

Could you please try renaming the variable you have defined with this name to something else, e.g. REMOTE_PATH, (change the name both in the definition and also in your yml file), and let me know if this solves the issue?

Kind regards,  
Theodora

comments: author: Liu Nanbing
body: Thanks, [@Theodora Boudale](/t5/user/viewprofilepage/user-id/818086), it solved my problem.


author: Theodora Boudale
body: You're welcome [@Liu Nanbing](/t5/user/viewprofilepage/user-id/4434300) and thanks for the update, good to hear that this is resolved.

Please feel free to reach out if you ever need anything else!

Kind regards,  
Theodora


Tags: bitbucket-pipelines

bitbucket-cloud

cloud
Macro table to pull information from other spaces
Asked by Lore Sanchez:

Hello there,

I would like to know if there is a macro table to pull information from other space in confluence.

thanks,


Answers:
author: Ditte Simard
body: Hey Lore!

I would recommend that you check out the MultiExcerpt macro by Appfire (<https://appfire.atlassian.net/wiki/spaces/SUP/pages/147360251/MultiExcerpt+Server+and+Data+Center+-+User+Guide>). It is available for Cloud and Data Center. I use it myself and it allows you to include excerpts from Confluence pages that are in different Spaces! :)


author: Darryl Lee
body: Hi [@Lore Sanchez](/t5/user/viewprofilepage/user-id/5034916)

If your status reports can have data formatted into tables, you could extract that data using the **[Page Properties Report Macro](https://confluence.atlassian.com/doc/page-properties-report-macro-186089616.html).**

[@Jimi Wikman](/t5/user/viewprofilepage/user-id/1186268) made a great video on how this works:

* [Confluence page properties and page properties report.](https://www.youtube.com/watch?v=S72BGU55kiY)

If you are ok including the *entire* page in another page, you could use the **[Include Page Macro](https://support.atlassian.com/confluence-cloud/docs/insert-the-include-page-macro/).**

And if you want to include *excerpts* of a page, you could use the **[Excerpt Include Macro.](https://support.atlassian.com/confluence-cloud/docs/insert-the-excerpt-include-macro/)**


author: Brant Schroeder
body: [@Lore Sanchez](/t5/user/viewprofilepage/user-id/5034916) What type of information are you trying to pull in?

comments: author: Lore Sanchez
body: We have different confluence pages with status reports so we want to have all the information from each page into the main space


Tags: cloud

confluence-cloud
SQL to see pages views with users
Asked by Jacynthe_Thibault:

Hi,

I need an SQL query that we can run in our confluence to get a list of users who view each pages (with the date they last viewed the page). Thanks

Something like:

|--------|--------|-------------------|
| Pages  | Who    | Date              |
| Page A | adoir  | April 25, 2023    |
| Page A | fthiu  | April 24, 2023    |
| Page B | rtyuh  | February 20, 2022 |
| Page C | lkjgki | January 10, 2020  |


Answers:
author: Clark Everson
body: Hi [@Jacynthe_Thibault](/t5/user/viewprofilepage/user-id/5019715)

Can you try in your staging instance

```
SELECT
cwd_user.user_name AS username,
 content.title AS page_title,
 content.creationdate AS page_creation_date,
 content.lastmoddate AS page_last_modified_date,
 page_view.date AS view_date
FROM
 content
 JOIN page_view ON content.contentid = page_view.contentid
 JOIN cwd_user ON page_view.username = cwd_user.user_name
WHERE
 content.contenttype = 'PAGE'
ORDER BY
 cwd_user.user_name,
 page_view.date;
```

comments: author: Jacynthe_Thibault
body: [@Clark Everson](/t5/user/viewprofilepage/user-id/2969809) Thanks We tried it but the page_view was not find as table or view, it seems that it is not in the DB


Tags: confluence-server

migration-customer-care

page

server
Do not consider mentioning another user with confluence
Asked by Ricardo Henrique:

N?o conseguimos mencionar outros usur?rios!


Answers:
author: Benjamin
body: Hola!

<br />

?Cu?l es el problema al que te enfrentas? ?No puedes @ mencionar a alguien? ?Tienes capturas de pantalla para compartir a qu? te refieres?


Tags: cloud

confluence-cloud
Is possible to create a question with two options to check if my page was helpful?
Asked by Marcos Vinicius Martins Da Fonseca:

I would like to add one question like "Was this helpful?" in the end of some of my pages in Confluence. Is that possible?


Answers:
author: Jonathan Appel
body: Depending on your Confluence platform you could look at available apps on the Atlassian Marketplace that provide this feature? We use [Page Feedback for Confluence](https://marketplace.atlassian.com/apps/1231936/page-feedback-for-confluence?tab=overview&hosting=cloud)


author: Clark Everson
body: Hi [@Marcos Vinicius Martins Da Fonseca](/t5/user/viewprofilepage/user-id/5181903)

In confluence it is not directly possible and oyu would need a plugin if you want reporting

If you just want it for tracking purposes I found someone else having posted a creative workaround but I haven't tested it myself

1. Create a new Confluence page to collect feedback responses. This page will store the comments from users who provide feedback on your articles.
2. On the pages where you'd like to add the "Was it helpful?" feature, insert the following macros:  
   -"Status" macro: Create two status macros, one for "Yes" and another for "No". Customize the colors and labels to represent the feedback options.  
   -"Excerpt Include" macro: Add this macro to the feedback collection page created in step 1. Configure it to include the excerpt from the article page for which the feedback is being provided.  
   -"Comment" macro: Add this macro below the "Status" macro. Configure it to allow users to leave comments about their feedback.

By doing this when users click the labels they will get a visual indication and be able to add a comment and it will be added to the page you initially created. But it's not the same as the actual button

Best,

Clark


Tags: cloud

confluence-cloud
Unable to see Project Automation option in a project.
Asked by Jehu Pineda:

I don't see the Project automation option in a project (pic 1). I was able to see the option at other project in diff space (Pic 2). I am currently an admin and I cannot find a way to add the Project option anywhere. Any advice will be appreciated. Thanks

![Missing_Project_Auto.JPG](/t5/image/serverpage/image-id/254525i5DC020DFFDA41764/image-size/large?v=v2&px=999 "Missing_Project_Auto.JPG")

![Missing_Project_Auto_good.JPG](/t5/image/serverpage/image-id/254526i79CA25826D485ABA/image-size/large?v=v2&px=999 "Missing_Project_Auto_good.JPG")


Answers:
author: Clark Everson
body: Hi [@Jehu Pineda](/t5/user/viewprofilepage/user-id/4978752)

I am no expert on Structure for Jira but one of those projects seems to be using the Structure for Jira plugin and the other a different Gantt Chart, maybe something is configured in the structure for jira plugin to disable automation.

Also can you confirm both of those projects are company managed projects, if one is a team managed project even if you have jira admin you need to be granted project admin to see the automation plug in to my knowledge

Best,

Clark

comments: author: Jehu Pineda
body: HI Clark, I find out that our IT department is not allowing us to automate the project. Thanks for the help.


Tags: automation

cloud

confluence-cloud

project
How can I link to folders on company shared drive?
Asked by Rajan Kumar Sah:

Basically, i want to link to folders that are stored on my company's drive. I have seen a lot of posts from the past, but they are too old. They don't help with the confluence cloud. Any suggestion is appreciated.


Answers:
author: Mike Rathwell
body: Hi [@Rajan Kumar Sah](/t5/user/viewprofilepage/user-id/5204460)

Assuming you are coming from a webdrive, (GDrive, O365), you should only need to drop a share link for the folder on the edit page (and also assuming you are in the "new editing experience". You'll get a human usuable link displayed on your page.


Tags: cloud

confluence-cloud
Try/catch behavior in batch.js
Asked by Scott Martindale:

I'm writing a P2 plugin for Confluence. This code transforms a .js file on the fly using the [Web Resource Transformer](https://developer.atlassian.com/server/framework/atlassian-sdk/web-resource-transformer-plugin-module/). Everything works absolutely perfectly in a barely-configured developer plugin instance (created from running \`atlas-debug\`), but when I connect to a real staging server (highly configured \& customized with many plugins). Version numbers don't seem to be an issue, since if I match the staging servers' version numbers, I observe the same result. But in any case, I've tried with both 7.19.8 and 7.13.7.

On the development environments, I see something like this:

```
/* module-key = 'confluence.extra.jira:web-resources', location = 'templates/extra/jira/jiraIssues.js' */


{code...}

;
```

On the two staging servers, I observed identical behavior:

```
try{ 
/* module-key = 'confluence.extra.jira:web-resources', location = 'templates/extra/jira/jiraIssues.js' */


{code...}

}catch(e){WRMCB(e)};
;
```

This try/catch code block is repeated for each of the scripts that are being compiled (100s of times). The issue I see is that on the staging servers, \`}catch(e){WRMCB(e)}\` to close out the try/catch block never comes, so it fails. ++I want to find out what is generating these try/catch code blocks++ to see if I can find some reference or perhaps even support, but my searches so far are coming up empty.

```
Here is the relevant portion of the atlassian-plugin.xml 



 <web-resource key="js-transform-javascript">
<dependency>com.atlassian.auiplugin:ajs</dependency>
<transformation extension="js">
<transformer key="js-transformation" />
</transformation>
<resource type="download" name="/js/js-mod.js" location="/js/js-mod.js" />
<context>atl.general</context>
</web-resource>
<web-resource-transformer key="js-transformation" class="com.example.app.jsTransformer" />
```

Two final notes: when I examine the failing code, I can observe that the correct transformation has taken place. And when I manually append the closing code fragment, the javascript loads without errors:

```
}catch(e){WRMCB(e)};
;
```


Answers:
author: Scott Martindale
body: It turns out that the "WRMCB" refers to the Web Resource Manager Catch Block. It's part of production environments, but for obvious reasons, it's disabled by default in Dev Environments. If you need to enable this to debug the functionality (or your plugin in a test environment) you can do so using the following command:  

atlas-debug -Dplugin.webresource.javascript.try.catch.wrapping=true


Tags: app

batch.js

confluence-server

server
Impact of changing workflow on past tickets
Asked by Rohit Challa:

Hello All,

I am looking to change the workflow of our organization's confluence by adding a few new in-progress steps and transition rules. However, before I make the change, I wanted to confirm how such a change could impact the older tickets that are already in the system. Will they all end up being moved to "To-do" for example?

Please advise.


Answers:
author: Alex Koxaras _Relational_
body: Hi [@Rohit Challa](/t5/user/viewprofilepage/user-id/5207292) and welcome to the community,

Are you using an app within your confluence instance to control the workflow of your pages, or are you referring to Jira? Can you please clarify this?

comments: author: Rohit Challa
body: Hello [@Alex Koxaras _Relational_](/t5/user/viewprofilepage/user-id/4150197)

Thanks for your response! I am referring to JIRA here. Apologies for the confusion.


author: Alex Koxaras _Relational_
body: Hi [@Rohit Challa](/t5/user/viewprofilepage/user-id/5207292) and thanx for the clarification,

All issues will not end up to one status, unless you map the old status to the new status. When you change workflows, jira will map automatically same statuses, but for different statuses it will prompt you to map them accordingly. So you can't cherry pick the issues where to end up to, but you will map old statuses to new statuses, and all issues with old statuses will move to the new status you have mapped.


Tags: cloud

confluence-cloud
What is the time filter in the "Contributors Summary" macro
Asked by Katerina Papaefthymiou:

Hi there!

I was checking the "Contributors Summary" macro and noticed that the time filter is not mentioned anywhere. Could you please confirm if this includes 'all time' data? If yes, it would be really helpful if there was a field where you could select a specific timeframe to see edits per contributor.

Thank you!


Answers:
author: Alex Koxaras _Relational_
body: Hi [@Katerina Papaefthymiou](/t5/user/viewprofilepage/user-id/5162738) and welcome to the community,

According to the [official documentation](https://support.atlassian.com/confluence-cloud/docs/insert-the-contributors-summary-macro/), the time frame isn't mentioned anywhere, but I would presume that this includes all time data. You can raise your own suggestion for Confluence at <https://jira.atlassian.com/issues/?filter=98690> (Confluence Cloud) and provide the necessary information. Don't forget to vote and watch your issue to receive updates about it.

In addition, Confluence Premium comes with Analytics, which provides statistics, and among others the Contributors with a selectable time frame. I think that would be the best option for you:

![space analytics.png](https://community.atlassian.com/t5/image/serverpage/image-id/254557i71EC2DB0D9F23205/image-size/large?v=v2&px=999 "space analytics.png")![analytics02.png](https://community.atlassian.com/t5/image/serverpage/image-id/254558iEFF3611FA4528353/image-size/large?v=v2&px=999 "analytics02.png")


Tags: cloud

confluence-cloud
Can a guest export a confluence page they are working to a PDF?
Asked by b243677:

I have guests that are on Confluence working on pages in their workspace but when they want to export the page to a PDF, they can't so I had to export it for them. Why can't they export their own pages? Note: We don't want them to export a space, just a page within the space.


Answers:
author: Heather Ronnebeck
body: Hi [@b243677](/t5/user/viewprofilepage/user-id/5207237)

To export Confluence pages to PDF your guests will need the "Export" permission on the space in order to do it.

I hope this helps

comments: author: b243677
body: So if they are in listed in the "Guest" area, I would have to add them to the "Individual" area for exporting as there is no exporting in the "Guest" area.


author: Heather Ronnebeck
body: You can do that, but I would just continue to export for them as the reason that permission is not available is because of security reasons.


author: b243677
body: Thank you, Heather for the information.


author: alexschell
body: We also are in urgent need for this functionality. Why is that a security issue? This argument doesn't seem reasonable to me? Even Anonymous Users have the possiblity to export.

Why you are not giving admins the possibility to decide whether we want to provide guests the rights to make own exports? I don't really get it.


Tags: cloud

confluence-cloud
Confluence Search behaviour
Asked by Kris Dewachter:

Hi,

I'm having some issues with the Confluence search behaviour. This occurs both in the general search and the "live search" widget.

I have a page structure with a number of knowledge base articles (pages). The page titles are constructed as follows:

Main page

* ABC-1 - this is KB article 1
* ABC-2 - This is another KB article
* ....
* ABC-101 - Some more knowledge on this page
* ABC-102 - Even more wisdom
* .....

When a person performs a search on ex. "ABC-1". (a lot of people know the codes by heart), it will suggest a lot of pages, **except** the correct one (ABC-1). It will suggest ABC-2, 102, 101, ..... but NOT ABC-1

In other cases, when the customer enters ex. ABC-101, then it will find the correct page and even display it on top of the search result.

Does anyone have an insight on the correct behaviour of the Confluence search? I presume that the "-" sign will be causing most of my issues.

Is there any way to reconfigure or tweak the search for better search results?

Best regards,

Kris


Answers:
author: Kris Dewachter
body: After contacting Atlassian Support I found out that there is already a bug ticket registered for this behaviour.

The issue seems to be caused by [Lucene Tokenization](https://jira.atlassian.com/browse/CONFCLOUD-69222), which blocks an exact text search when using some characters like hyphens.

In other words, "-" is treated as the special operator for negation. So, searching for "ABC -1" is the same as searching for "ABC NOT 1".


author: Darshanaa _ServiceRocket_
body: Hi [@Kris Dewachter](/t5/user/viewprofilepage/user-id/4588367) ,

Have you tried [Space Manager for Confluence](https://marketplace.atlassian.com/apps/1223906?tab=overview&hosting=cloud)?

The search function helps you locate the exact document within the space.

It also helps to give you a visual view of your entire space(s) so that you're able to clearly see your Confluence structure.

I can't wait to hear your thoughts on the app. Please feel free to leave any questions/feedback here.

Thanks \& have a great day! :)


author: Kris Dewachter
body: Hi [@Mihai Schwarz](/t5/user/viewprofilepage/user-id/853676) ,

Thanks for your reply.

I tried adding the keys (ABC-1) as labels but that did not bring any improvement.

Also, manual re-indexing has been disabled on Cloud.

Best regards,

Kris


author: Mihai Schwarz
body: Hi [@Kris Dewachter](/t5/user/viewprofilepage/user-id/4588367) ,

Have you tried adding keywords from the title as labels or simply adding labels to refine the available searches?

Additionally I suggest you should trigger a content indexing (outside of working hours) if you have lots of pages.


Tags: cloud

confluence-cloud
Can we start Security Education, Training, and Awareness (SETA) Group
Asked by AJ:

Can we start Security Education, Training, and Awareness (SETA) Group where we can share All the latest Training and Awareness programe, Career paths, Opportunities, Study Sources and Many More .


Answers:
author: Jack Brickey
body: Hi [@Aniruddha Joshi](/t5/user/viewprofilepage/user-id/5207012) ,

interesting idea but unsure if it warrants a dedicated group in the Atlassian Community. We do have a [Trust\&Security](https://community.atlassian.com/t5/Trust-Security/gh-p/TrustandSecurity) group already. Maybe that would be a good fit?


Tags: cloud

confluence-cloud

security
Removing permanently old app confluence
Asked by Aleksandr Ganiyev:

Hello everyone,

I need to remove permanently old app confluence.

For this action i went to my old site guavapay \> confluence app \> billing \> Delete \> continue with canceled \> cancel subscription

Then i get message "subscription successfully canceled"

But nothing happens even though i did these action many times

Could someone help me cancel this app

Screen below

![Old site of Counfluence.png](/t5/image/serverpage/image-id/254420i6B3F5E5705D901F4/image-size/large?v=v2&px=999 "Old site of Counfluence.png")


Answers:
author: Brian Trepto
body: Hi [@Aleksandr Ganiyev](/t5/user/viewprofilepage/user-id/4618536)

please click on the blue link which is called "Change". There you can change from Standard Plan to Free Plan. After that you should not be charged again.

If you want to delete the complete site you can read that here:

<https://community.atlassian.com/t5/Jira-questions/How-to-delete-a-site/qaq-p/1551926>

comments: author: Aleksandr Ganiyev
body: Hi [@Brian Trepto](/t5/user/viewprofilepage/user-id/4936246) ,

Thanks,

I did what you said and changed plan to free, but also i would like to delete this app from this site but not the site, how can i do it?


author: Aleksandr Ganiyev
body: Hi [@Brian Trepto](/t5/user/viewprofilepage/user-id/4936246)

I did it, i removed unnecessary site i mentioned previously.

I didn't have "organization access" therefore i couldn't remove this one.

I removed it and everything is ok.


Tags: cloud

confluence-cloud