Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

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

Tip from the team: configure your repos for hosting goodness!

Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...

3,290 views 4 5
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