Skip to main content
Question

How do i export the complete list of policies in Jamf pro

  • December 27, 2018
  • 5 replies
  • 204 views

Forum|alt.badge.img+3
  • New Contributor

How do i export the complete list of policies created in Jamf PRO, we are hosted in Cloud , i know the copy and paste would work.

Do we have any alternate method to export the complete list of policies.

5 replies

stevewood
Forum|alt.badge.img+38
  • Hall of Fame
  • December 27, 2018

@yateeshkumark using the API is the only way I know to do it. If all you want is the ID and name of the policy, then take a look at jss_helper. I use that to grab the list of policies into a file. If you need more info, then you'll probably need to look at writing a specific API call that dumps all of the policy data out into a CSV or something. Out of the box there is no way that I know of to export all of the policies.


Forum|alt.badge.img+15
  • Valued Contributor
  • December 27, 2018

Not sure if this is overkill, or exactly what you're looking for


talkingmoose
Forum|alt.badge.img+36
  • Community Manager
  • December 29, 2018

What do you want to accomplish with your export? Is this to copy the policies to another server? Is it for documentation?


Forum|alt.badge.img+12
  • Valued Contributor
  • September 4, 2019

I'm getting a request for a Policy List for documentation purposes.


Forum|alt.badge.img+16
  • Valued Contributor
  • September 5, 2019

If it's a one off I think You can probably did it pretty easy directly through the API test page, this is usually at /api from the main JSS URL.
There is a GET Policies section and I am pretty sure the "Try it Out" will return a list of policies you can copy and paste. It would also give you the commands you would need to do if you wanted to automate this in some manner.