Stash is now known as bitbucket server, the bitbucket SDK commands are working correctly. The stash commands refer to a very old version of Stash. We should have a warning that when using these commands they are running an old version and suggest that the user runs the equivalent bitbucket commands. It should also warn users that these commands will be deprecated.
Bitbucket Rebrand FAQ
changes will be available in the next AMPS release