Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Automatically add files on repository creation

Mike P April 26, 2023

Hello,

I am looking for suggestions on how to automatically add two files (security.md and readme.md) when a repository is created.  I do have access to scriptrunner.  Is there a way to do this when the create repository button is clicked?  I was wondering if this could be done via a hook or scriptrunner custom listener or adding a template to git init?  If you have any examples of doing such a thing, that would really help.

 

thanks.

1 answer

0 votes
Ram Kumar Aravindakshan _Adaptavist_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
August 29, 2023

Hi @Mike P

After reviewing your description, I suggest reading through the solution provided in the ScriptRunner Documentation.

I hope this helps to solve your question. :-)

Thank you and Kind regards,

Ram

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
7.21
TAGS
AUG Leaders

Atlassian Community Events