youngmon/atlassian-qna huggingface dataset:
SourceTree Custom Action on Mac returns "launch path not accessible"
Asked by Ken Taylor:

I am setting up SourceTree with the same custom actions that work with another installation. For example, I have:

Script target: git

Parameters: clean -fx

When I attempt to invoke the action, I get:

```
git clean -fx?
```

```
launch path not accessible
```

```
Completed with errors, see above
```

It works if I specify the full path of git in the script target: /usr/local/git/bin/git

But I would prefer to not have to specify that in each of the actions.

I have SourceTree configured to use system git with location /usr/local/git/bin/git. But I get the same error if I use embedded git.

I also tried an action:

Script target: /usr/sbin/which

Parameters: git

This also returns the error:

```
launch path not accessible
```

What gives?

SourceTree version 2.0.5.3

Git version 2.5.3

$ defaults read ${HOME}/.MacOSX/environment.plist PATH

/usr/[bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/local/git/bin](http://bin/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/local/git/bin)


Answers:
author: kenocrates
body: This issue was somewhat resolved for me at some point. I cannot recall when but at some point git appeared in /usr/bin and I no longer get the launch path error for simple custom commands.

But I just had the same problem with launch path when trying to use a more involved command:

git tag -l \| xargs git tag -d \&\& git fetch -t'

To work around the problem, I created an alias:

git config --global --add alias.prunetags '!git tag -l \| xargs git tag -d \&\& git fetch -t'

I then made the custom command:

git prunetags

<br />


author: phdpsx
body: terminal: chmod 0755 path/file  
worked for me

comments: author: Jay Whitsitt
body: This solved it for me as well


author: yzhong52
body: hmm, this doesn't work for me


author: Andranik Azizbekian
body: Example: chmod 0755 myscript.sh


author: Rod Barnes
body: I'm having the same issue. Can't figure out how to fix what it is trying to tell me. Did you ever resolve this? I tried "/usr/bin/git" as the command and "-C $REPO clean -fxdn" as parameters but still get the "launch path not accessible". I assume this means it cannot reach the command but I expected using and explicit path would work. I can certainly execute this from the terminal. Since I started SourceTree as my user, I'd expect it to have the same permissions.


author: Seth
body: Should be, SourceTree features are typically developed for Mac first, then ported to Windows. Sounds like a Mac user needs to take a look at this, or maybe you'll need to try submitting a bug report to get the attention of Atlassian staff.


author: Ken Taylor
body: Colon is the delimiter in unix-based systems. Is there support for Mac?


author: Seth
body: A PATH issue seems most likely, but it looks like the correct git location is listed in the PATH.I'm not a Mac user - are the different items in the path supposed to be separated by colons? Semi-colons seem like a more typical delimiter for this sort of thing. Although you'd probably have bigger problems if your PATH is using the wrong delimiter.
WEMB FORMAT IN CONFLUENCE
Asked by Daniel Bermudez:

Hello, I want to know if the video format WEMB is available in confluence, i need to upload some videos that are in this format.


Answers:
author: Sayed Bares [ServiceRocket]
body: [@Daniel Bermudez](/t5/user/viewprofilepage/user-id/5254821) I believe this depends on the internet browser you are using:

* Reference: <https://support.atlassian.com/confluence-cloud/docs/display-files-and-images/#Multimedia-files>  

  |-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
  | The file preview also supports audio and video files. It uses HTML5 to play attached audio and video files. This means the file types people can play in the preview depends on the audio and video formats their browser supports. |

Here is the list of browsers which supports WEMB:

* <https://caniuse.com/webm>

comments: author: Daniel Bermudez
body: Hi! so basicly, confluence does accept the format, but it depends of my browser?  
What i want to do is to upload a video from 0, to a page in confluence, not only the preview


Tags: cloud

confluence-cloud
What happen to pages of deactivated accounts?
Asked by Wes Farnsworth:

I have a couple of questions for the group.

1) What happens to pages that are in edit mode and unpublished when an account gets deactivated?

2) What happens to pages made in the person's personal space?

3) Is there a way as an ADMIN that I can see all pages created in a space, even those that may be "hidden" from me due to privacy restrictions? So that if a user is deactivated I'm able to assume responsibility for those pages or grant access to the appropriate person?


Answers:
author: Mikael Sandberg
body: As long as the page that have unpublished changes has been published at least once then those unpublished changes will stay and applied when anyone publish it even if the user has been deactivated.

Personal spaces stays, and would have the same space permissions as other spaces that has been defined on a global level. The only time you would not have access to it is if the user removed the default permissions on their personal space.

As an admin you can go and make changes to the space permissions under Settings \> Space permissions and add yourself to "hidden" spaces. Note that this does not applies to personal spaces.


Tags: cloud

confluence-cloud
Displaying drafts or unpublished pages?
Asked by Olivier Burchard:

It's probably very simple but I just can't figure it out:

In the page hierarchy (page tree) on the left side, it looks like there is a subpage of the page "Neue Seite". (See screenshot)

![2023-08-25_Seitenhierarchie.png](https://community.atlassian.com/t5/image/serverpage/image-id/277278i683AD7BAFEDD6FDB/image-size/large?v=v2&px=999 "2023-08-25_Seitenhierarchie.png")

But there is none.

This is probably related to a new sub-page that has not been saved.  
But I can't find any drafts or unpublished pages either.

<br />

What can I do to make the page "Neue Seite" appear with a dot in front of it again instead of an arrow?

Many thanks in advance!  
It's probably a very simple beginner's mistake...

Update: In the app the page is displayed ?correct" ...

Is it a Bug in the Browser app?

![IMG_0937.jpeg](https://community.atlassian.com/t5/image/serverpage/image-id/277355iBBDD8A629E3A9965/image-size/large?v=v2&px=999 "IMG_0937.jpeg")


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

There is a known bug ("Bug" is my opinion on this, I'm not sure Atlassian have it classified as a bug) where the expand arrow still appears when a page has child pages that are all restricted so that the current user cannot see them.

If you log in as a space admin and go to space tools -\> page tree, you should be able to see that there are restricted pages beneath the page you are getting the expand (but no content) on.

comments: author: Olivier Burchard
body: THX Nic!

If its a known bug it's OK for me...

I think I'm a space admin - but I can't see any unpublished or restricted Pages.

![2023-08-27_Seitenverwaltung.png](https://community.atlassian.com/t5/image/serverpage/image-id/277397iC8827B9220B4ECF6/image-size/large?v=v2&px=999 "2023-08-27_Seitenverwaltung.png")

Anyway thx for your answer.


Tags: cloud

confluence-cloud
Requirement Yogi JSON format from API call
Asked by Sebastien Legate:

Greetings,  

We are looking to create a simple script that can query requirements using the requirement yogi API ( GET /rest/reqs/1/requirement2/{spaceKey} ) . Before starting on this, I was wondering how stable the format of the JSON would be. Would we only see changes on major version updates? Or could we also see format changes on minor versions as well?  

Currently, we have a script that is able to parse a table of requirements out of HTML that we are looking to update for more general use.


Answers:
author: Mileva Briand
body: Hey [@Sebastien Legate](/t5/user/viewprofilepage/user-id/5301923) , and thanks [@Gonchik Tsymzhitov](/t5/user/viewprofilepage/user-id/726117) for your answer.

Just to let you know directly from the team: we are not planning to change the requirement's format and it is very unlikely that we ever do it. If we still do, it will definitely be a major update.

Also, small mention, if you want to be notified for new releases on Data Center, you can join [our mailing list](https://www.requirementyogi.com/data-center-mailing-list/) ?

Have a nice week,

Mileva (Requirement Yogi)


author: Gonchik Tsymzhitov
body: Hi!

looks like that page is better for double check:

* <https://developer.requirementyogi.com/javadocs/>
* <https://docs.requirementyogi.com/data-center/rest-api>

If you think interesting to do script in python, I can try add into wrapper atlassian-python-api .

comments: author: Sebastien Legate
body: Thank you for the links!  
I expect I will need to build some custom wrappers for this anyway so it should be ok.


author: Gonchik Tsymzhitov
body: I am quite open if someone will send pull request with that :)

<https://github.com/atlassian-api/atlassian-python-api>


Tags: confluence-server

server
Fun??o ocultar ?ndices de uma p?gina.
Asked by tania.leocadio:

Estou tentando ocultar ?ndices de uma p?gina, no modo avan?ado, ao adicionar mais de uma express?o, separada por v?rgula, o comando n?o est? funcionando.


Answers:
author: Brant Schroeder
body: [@tania.leocadio](/t5/user/viewprofilepage/user-id/5301895) Can you share a screenshot of the issue?


Tags: cloud

confluence-cloud
Email Property Issues?
Asked by Conner Atkins:

We have two accounts, one synced and one local, and the local one might be preventing the synced one from updating the email property. Any idea on what to do here?  

<br />


Answers:
author: Brant Schroeder
body: [@Conner Atkins](/t5/user/viewprofilepage/user-id/5301890) What are you syncing accounts with? Do both accounts have the same email? Are you on Cloud?


Tags: cloud

confluence-cloud
Implement Checkbox with HTML Macro in Confluence to allow select options in view mode.
Asked by Marcela Junyent:

Hello, I am wondering if it is possible to add a checkbox in a Confluence Page (Server) that can be edited in view mode. This would allow users to select the appropriate options and save them without requiring edit permissions for the page.


Answers:
author: Sayed Bares [ServiceRocket]
body: [@Marcela Junyent](/t5/user/viewprofilepage/user-id/4647420)

If you only want a checkbox then you can just use insert a [task](https://confluence.atlassian.com/doc/add-assign-and-view-tasks-590260030.html#:~:text=Add%20a%20task,-You%20can%20add&text=To%20create%20a%20task%3A,and%20choose%20a%20due%20date) using \[\] which then you will be able to tick/untick it in view mode.

However, If you want to edit your options you would need an app for that, here are some potentials apps which you can evaluate:

* [Scaffolding Forms \& Templates for Confluence](https://marketplace.atlassian.com/apps/190/scaffolding-forms-templates-for-confluence?tab=overview&hosting=server)
* [Handy Macros for Confluence - Formatting and Interactive UI](https://marketplace.atlassian.com/apps/1214971/handy-macros-for-confluence-formatting-and-interactive-ui?hosting=server&tab=overview)
* [ConfiForms - Data Forms \& Workflows for Confluence](https://marketplace.atlassian.com/apps/1211860/confiforms-data-forms-workflows-for-confluence?hosting=cloud&tab=overview)

comments: author: Marcela Junyent
body: Thanks for your reply!


Tags: confluence-server

server
comment configurer l'authentification unique Single sign on sur le portail azure
Asked by Saief:

L'objectif de ma t?che est de synchroniser les donn?es entre Atlassian et Azure AD

Notre point bloquant r?side dans le fait qu'on ne retrouve pas la configuration d'authentification unique : "Set up single sign on" pourtant primordial dans pour notre synchronisation.

De notre c?t?, sur le portail Azure lorsqu'on clique sur le bouton **"single sign-on"** c'est cette page qui s'affiche :![User's image](https://learn-attachment.microsoft.com/api/attachments/e76100cc-ebdf-4410-9302-bc95e0abf895?platform=QnA)

Au lieu de :

![User's image](https://learn-attachment.microsoft.com/api/attachments/9672d99b-21e1-43ae-90a9-48aa6e3f2f0b?platform=QnA)


Answers:
author: Brant Schroeder
body: [@Saief](/t5/user/viewprofilepage/user-id/5301851) Welcome to the Atlassian community

In cloud you will need to use Atlassian access to connect AD via SAML - <https://community.atlassian.com/t5/Atlassian-Access-articles/How-To-Atlassian-Access-Configure-SAML-SSO-Authentication/ba-p/1949816>


Tags: cloud

confluence-cloud
Scriptrunner built in script to change creator
Asked by kristin whitaker:

Hi! We just migrated multiple Confluence instances into one Data Center instance and had to update userID's to be able to utilize okta. In the process, it changed any user that's user id changed to a number. example user-12345

I am just now starting to use scriptrunner and noticed that it had a built in script to change the creator to a new users however it does not accept the user-12345 as a creator name? I don't know CQL (yet) so I don't know if there is something else that I need to do.

I've included a screentshot of what the suggestion and one of the error when I enter the user id.

Any other ideas on how I can update these?


Answers:
author: Ram Kumar Aravindakshan _Adaptavist_
body: Hi [@kristin whitaker](/t5/user/viewprofilepage/user-id/4063252)

In your description, you mentioned:-
> I've included a screentshot of what the suggestion and one of the error when I enter the user id.

The screenshot doesn't seem to be visible. Could you add it once again?

Thank you and Kind regards,  
Ram


Tags: confluence-server

scriptrunner

server
Content is not there when clicking Edit
Asked by Ben Krichko:

We use a custom table on a Confluence page to show Project Management Updates. Every 2 weeks we copy the prior updates over to show the roll forward. Not consistent, but after the copy we can see the content in the preview window, but when we click on the edit pencil. Nothing shows. See screenshots.

Preview showing all content

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

What we see once you click the Edit pencil to make changes. No content below!

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


Answers:
author: Dan Breyen
body: Hi Ben, I took a quick look at Atlassian's jira site (jira.atlassian.com) and didn't see anything that resembles your issue. Feel free to head over to there and see if I missed anything.

Have you tried this in different browsers or with different users to see if it makes a difference?

If you can still reproduce it, I'd suggest opening a ticket with Support (support.atlassian.com/contact) and see what they say. I can imagine this would be pretty frustrating.

Hope that helps.

comments: author: Ben Krichko
body: Thanks [@Dan Breyen](/t5/user/viewprofilepage/user-id/5086375)

Yes, my default browser is Google Chrome, but have also tried this in Microsoft Edge. Same error happens there. I'll head over to Support. Thanks for the heads up.


Tags: cloud

confluence-cloud
How do I obtain Confluence Attachment ID for use in Confiform Web Service dropdown?
Asked by Luke Thomas:

Hi,

I'm looking to utilise the Web service dropdown field definition type in Confiforms alongside the Excel API found here:

<https://wiki.vertuna.com/display/CONFIFORMS/Using+Excel+files+as+sources+for+ConfiForms+fields>

The above references attachment id in the URL call, however I'm unsure of how to find this. I've uploaded my .csv file to Confluence, but cannot locate the associated ID. I've tried using the attachment macros in confluence which list attachments, however ID isn't included in the columns.

Any help would be greatly appreciated!


Answers:
author: Alex Medved _ConfiForms_
body: Hi [@Luke Thomas](/t5/user/viewprofilepage/user-id/5301835) and welcome to this community

You can try to see the attachment id in the page attachments

<http://recordit.co/GVnsmjc1yI>

We also have a helper user macro that can help you with that

<https://wiki.vertuna.com/display/VERTUNA/Attachments+list> (if you are on Confluence server/data center)

Alex

comments: author: Luke Thomas
body: That's great, thank you Alex!


Tags: cloud

confiforms

confluence-cloud
Copy a page with excerpt's content expanded (deep copy)
Asked by Christoph M?bius:

I'd like to build up modularized checklists where more specific ones include more general ones via excerpt.

The idea is that if a team needs to walk through a checklist they can make a copy of the most specific checklist to their particular area of the Wiki and tick off each entry. The original content of the included pages must not be affected.

In order for that to work there needs to be some sort of *deep copy* that expands all excerpts and includes their *content* in the copy rather than just the macro.

I am afraid there is no feature like that available, but I rather ask.

I see there was a similar question a while ago: <https://community.atlassian.com/t5/Confluence-questions/automate-copy-of-excerpt-content/qaq-p/599585>


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

That's not how Confluence should be used, so there's no way to do this. The whole point of include and excerpts is to include content from other places dynamically.

The best way to achieve what you are asking for is to stop copying pages, and use templates instead.

Open up the page you want to reuse and select all the content, then hit "copy". Go to the space tools, or global templates and add a new template. Paste the copied content into it, then edit it to suit.

If you copied from a page in read mode, then you won't have any macros in the template, the whole thing will be independent text and you may want to add some back in.

If you copied from a page in edit mode, then it will have all the macro definition - you'll need to replace them with placeholders that tell people they need to put stuff in there instead of taking content from elsewhere.


Tags: confluence-server

server
How to make Jira issues visible in Confluence page to a non Jira User
Asked by Justin Garrett:

Hi,

We wish to display Jira Issues in a Confluence page using the Jira Issues Filter.

<br />

For anyone who has access to both Jira and Confluence these issues display fine.

How do we make them visible to users who only have Confluence access please?

Currently those users only see a "Data cannot be retrieved due to an unexpected error. View these issues in JIRA" error

I know it's a permission issue, I just cannot find the correct option after searching for the last hour or two!

Any help much appreciated!


Answers:
author: Trudy Claspill
body: Hello [@Justin Garrett](/t5/user/viewprofilepage/user-id/3456784)

In order for a user of Confluence to see Jira issues in Confluence through the Jira macros, the user must have permission to see the issues in Jira itself.

Either the user needs to be a licensed user of the Jira product with permissions to view the issues in the referenced projects, or you must enable Anonymous Access to your Jira information.

comments: author: Justin Garrett
body: Hi Trudy,

OK thanks for clarifying that for me.

I will have a read up on Anonymous Access to see if it is something that we are prepared to open up. I would be concerned by whether this information is then publicly viewable / searchable


author: Trudy Claspill
body: Yes, if you enable Anonymous Access for your project then it becomes publicly accessible to everybody on the internet.

If you had a Premium subscription that gives you access to IP Whitelisting which would enable you to limit the Anonymous access to specified IPs.

If your question has been adequately addressed, please consider marking the Answer as Accepted.


Tags: cloud

confluence-cloud
How to hide one entry in the top menu bar in Confluence?
Asked by Lara Weber:

Hello together,

How can I hide the entry "Collections" in Confluence for example via CSS (JavaScript, etc.)?

Can someone give me a code for it?

Thank you in advance.

Kind Regards,

Lara![Top Menu Bar.png](https://community.atlassian.com/t5/image/serverpage/image-id/277133iB88487E71E39817F/image-size/large?v=v2&px=999 "Top Menu Bar.png")


Answers:
author: Sayed Bares [ServiceRocket]
body: [@Lara Weber](/t5/user/viewprofilepage/user-id/3612161) you will need to use Javascript to hide elements in Confluence Server/DC.

You will need to go to Confluence Administration \> Custom HTML and add the following code in the header:

```
<script type="text/javascript">
AJS.toInit(function(){
AJS.$('#<id-of-collection>').hide();
});
</script>
```

Make sure to replace **\<id-of-collection\>** with the ID of the Collections element.

To find the ID of any element you may refer to [Find an HTML ID or Name](https://support.demandbase.com/hc/en-us/articles/360058035472-Find-an-HTML-ID-or-Name#:~:text=Right%2Dclick%20on%20the%20element,or%20Name%20for%20that%20element.)

comments: author: Lara Weber
body: Hi [@Sayed Bares \[ServiceRocket\]](/t5/user/viewprofilepage/user-id/1480984) ,

As you can see in the screenshot there is no ID for the button "Collections".![Collections.png](https://community.atlassian.com/t5/image/serverpage/image-id/277504i9C7BD9E420F627FD/image-size/large?v=v2&px=999 "Collections.png")

Instead of the code you posted, therefore I tried the follwing. With this code the button is hidden.

```
<script>$(document).ready(function(){$("a[href='/snapshots/collections/viewer/global.action']").parent().hide()});</script>? 
```

Thanks.


Tags: confluence-server

server
Export consolidated summary view of all Spaces
Asked by Maurice Mushfieldt:

|-----------------------------|-------|----------------------------------------------------------------------------------------------------------------------------------------------|--------------------|----------|-------------|----------------|--------------|
| Confluence - Space Name     | Key   | Home page                                                                                                                                    | Owner              | Category | Description | Administrators | Last updated |
| 2. Standby List - Next Week | 2SLNW | [Pages - 2. Standby List - Next Week - Momentum Metropolitan Confluence](https://inside.momentummetropolitan.co.za/confluence/display/2SLNW) | Maurice Mushfieldt |          |             |                | 14/4/2020    |


Answers:
author: Sayed Bares [ServiceRocket]
body: [@Maurice Mushfieldt](/t5/user/viewprofilepage/user-id/4761865) you would need either a third-party app or a DB query to get this report. <https://confluence.atlassian.com/confkb/how-to-get-all-space-names-keys-and-homepage-urls-from-db-1097178182.html> can be a good start.

Hope it helps!

comments: author: Maurice Mushfieldt
body: Thanks Syaed, I'll give it a try !


Tags: confluence-server

server