I have a problem with updating usrers in Jira 4.1.1. It's necessary to change FullName and Email attributes by connecting from sided system using PowerShell or SQL-scripts. In first case I try to use API, but methods .SetEmail() and .SetFullname() of RemouteUser class, but it failed. Then I try to change attributes directly in sql table but changes appeared in UI only after restart of service becourse of cache.
So, there is two questions:
1) How can I call metods of API by using Windows Powershall?
2) How can I remove cache on request? Or remove it according to schedule?
Thanks in advance.
First, forget SQL, you will break Jira. (It will work if you have Jira offline, but isn't safe while it's running)
So, going back to the correct way to do this, you need to start by telling us what type of user directories you are using? Internal, LDAP, Crowd, something else?
In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to have–in order to produce a reliable long-term roadmap. We're tur...
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!
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