We are working on an automation task, would like to perform the "invite the users" action using API.
I have identifed an API to create user, one for adding user to group but they are missing few fields that are available in UI (front end) but not in API :
1. option to select the user role
2. select the products for which user can be given access
3. mention group membership while creating the user
Other query is "Can we create user and add the him/her to group in with single API call ?"
Please help us with the above queries.
Using the backup tools by the database vendor is the better choice. You should save the home folder at the same time you're saving the database. Otherwise it may happen that some attachements are missing on an issue.
You can also save the data by using the XML export. But keep in mind that you can run into out of memory errors when you want to import the data again (Java heap space error) if your XML file is to large.
Jen,
I second Mathias statement. Using the database vendor backup tools should be the better choice, as contingency you might want to export the XML backup too. You may refer the documentation below to automate the XML backup export on your JIRA instance.
https://confluence.atlassian.com/display/JIRA/Automating+JIRA+Backups
Hope it helps!
Cheers
Luciano
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I strongly advise using the JIRA backup/export tool just before you upgrade. that can always be used to restore your data and configurations. Folks have had mixed luck using database tools.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Jen,
you can take a look here https://confluence.atlassian.com/display/JIRA/Backing+Up+Data
You can :
- Backup JIRA using internal backup
- Backup JIRA through a script that perform a copy of JIRA HOME folder and a DB dump
Hope this helps,
Fabio
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.