You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.
View groupJoin the community to find out what other Atlassian users are discussing, debating and creating.
Hi All,
Which Plugin type would be best to retrieve all users and their roles etc in JIRA?
I'm trying to Develop my own Plugin which will export all of my users in my entire JIRA application but cannot find the best way to do it.
I'm currently trying to make a report plugin, but the tutorial seems a bit out-dated.
Does anybody have any experience doing this?
Hi Chris,
Sorry, yes you're correct.
I'm using Server, so I've been deving in Java, following the tutorial on the Atlassian site.
I would be wanting to export my user data into an Excel sheet. I have read that Groovy is good for scripting on JIRA.
What do you think? Would it be simpler to Develop a plugin that gets all that data? Or a Script?
So far, I'm not having much luck with the Plugin.
Cheers,
Daniel
Hi @Daniel Burke,
simpler is relative but my opinion would be if you need excel as an output - use a scripting language.
We tend to use groovy & use:
xlsxwriter - As a library to create Excel Files
And the normal groovy "request" library to interact with the Jira REST API.
https://docs.atlassian.com/software/jira/docs/api/REST/7.6.1/
Cheers,
Christian
Hi @Daniel Burke maybe a simple approach to solve your problem is to directly query the database using a GUI and export the data displayed?
Most Database GUI can export query results to CSV for example
Connect with like-minded Atlassian users at free events near you!
Find an eventConnect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.
Host an eventYou're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events