STASH Project Creation Event

I would like to collect a report of STASH projects and their creation date. How to retrieve STASH project creation event (ProjectCreatedEvent) using command line?

Thanks in Advance

2 answers

Hi Shravanakumar,

You'll need to write a Stash java plugin to listen for events. This guide gives you an overview on how to write an event listener.

Alternatively, you could grep for project created events in the Stash Audit Log.

cheers,

Tim

I don't have expertise in writing a plug-in. Is it possible to get the required information using either STASH CLI or REST API ? If so, could you please share the command for retrieving the project creation date, time and user information. Thanks !

Do you want me to create a support ticket for this ?

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Thursday in Bitbucket Pipelines

Building a Bitbucket Pipe as a casual coder

....sh :  #!/bin/bash source "$(dirname "$0")/common.sh" enable_debug extra_args="" if [[ "${DEBUG}" == "true" ]]; then extra_args="--verbose" fi # mandatory variables ROLLBAR_ACCESS_TOKEN...

198 views 0 12
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