URL Parameter for Blame

From the default interface in Atlassian's Stash, you have to click the Blame button to bring up the "Blame-view" for a particular git commit.

Is there a url param in Stash to quickly view a committed file within the "Blame-view"?

For example, I want to use something similar to the following in a script:


I did a quick search on Atlassian's documentation and the internet, but came up empty handed. Any help is greatly appreciated.

1 answer

0 votes

Hi Jake,

I believe you can try to use the REST API in order to retrieve that information:


One of the parameters you can use in the example above is "blame". If present, the blame will be returned for the file, among other things.

If this answer was helpful, please allow me to ask you to mark my answer as accepted in order to have it in the top of the thread, also helping other customers.

Thanks in advance!

Kind regards,
Felipe Kraemer

I tried the rest API and it does give me the JSON for my request. However, I want to be able to open up the file in a browser with the blame interface displayed, rather than having to click on the blame button. Just displaying the JSON doesn't make it easier for my users to see the commit history of a file.

Suggest an answer

Log in or Join to answer
Community showcase
Piotr Plewa
Published Dec 27, 2017 in Bitbucket

Recipe: Deploying AWS Lambda functions with Bitbucket Pipelines

Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda&nbsp...

640 views 0 4
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot