Hi,
Is it possible to change the default assignee of 950 projects from Unasigned to project lead in a single SQL query.?
Is there any other way than doig it from the Admin console of each project? How to avoid this tedious task..
No, you need to do 950 projects, or use SQL (with a proven backup and Jira offline) or you could try scripting it if you've got the script runner plugin
I think this is a simple one. You still need to stop Jira and back it up, prove the backup is ok, but once you've done that, the SQL should be something like
update project set lead = 'users login id'
You shouldn't need to re-index or do any other messing around, just restart Jira afterwards.
(Of course, that will blart the same person across every project, so you may need some more update lines with some "where" cleauses)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
update project set assigneetype = 2
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ack, I'm sorry, I misunderstood.
Andris' SQL is exactly what I'd say too. (Same caveats about stop and backup. But also, you won't need to reindex for this one either)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Join us June 26, 11am PT for a webinar with Atlassian Champion Robert Hean & Loom’s Brittany Soinski. Hear tips, stories, and get your burning questions answered. Learn how Loom makes training and enablement easier. Don’t miss it!
Register todayOnline forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.