It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Custom action not showing in repository browser

A custom action will not appear in the "Custom Actions" context menu that is accessed from the Repository Browser unless its Parameter starts with "$REPO"

 

Steps to reproduce

 

  1. Create a custom action
    • Set Menu caption as "Echo"
    • Set Script to run as "echo"
    • Set Parameters as "here $REPO"
    • Screen Shot 2019-02-23 at 10.09.21 .png
  2. Open the Repository Browser window
  3. Ctrl-Click a repository and open the Custom Actions menu.
  4. The "Echo" action is not showing
  5. Now edit the "Echo" custom action
    • Change the Parameters to be just "$REPO"
  6. Now open the Repository Browser window again
  7. Similarly Ctrl-Click a repository and open the Custom Actions menu.
  8. The "Echo" action is now showing.

This is occurring in SourceTree for Mac version 3.1.1 (213) on macOS Mojave 10.14.3.

The main issue is that I have a "Garbage Collect" custom action with the following settings:

  • Script to run: git
  • Parameters: -C $REPO gc --aggressive

This used to work but the menu option is longer appearing in recent versions of SourceTree.

 

1 answer

1 vote
bgannin Atlassian Team Feb 26, 2019

Hi @Sasmito Adibowo,

Our apologies for the hiccup and our thanks for the detailed information! Please file this as a ticket in our public issue tracker and we'll be sure to take a look for a future update.

Cheers,

Brian Ganninger
Principal Developer, Sourcetree

It seems the issue was not filed, but I did come to a similar conclusion and posted my findings in the comments of this issue: https://jira.atlassian.com/browse/SRCTREE-5822. Would that suffice?

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Sourcetree

Sourcetree for Windows - CVE-2019-11582 - Remote Code Execution vulnerability

A vulnerability has been published today in regards to Sourcetree for Windows.  The goal of this article is to give you a summary of information we have gathered from Atlassian Community as a st...

4,910 views 0 12
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you