Commit c7dc919c authored by Achilleas Pipinellis's avatar Achilleas Pipinellis

Merge branch 'arihantar-master-patch-92661' into 'master'

Added project transfer method

See merge request gitlab-org/gitlab!34905
parents e70274ea 7c8df847
......@@ -201,6 +201,20 @@ project.repository_read_only = true; project.save
project.update!(repository_read_only: true)
```
### Transfer project from one namespace to another
```ruby
p= Project.find_by_full_path('')
# To set the owner of the project
current_user= p.creator
# Namespace where you want this to be moved.
namespace = Namespace.find_by_full_path("")
::Projects::TransferService.new(p, current_user).execute(namespace)
```
### Bulk update service integration password for _all_ projects
For example, change the Jira user's password for all projects that have the Jira
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment