Ijaz Ahmad
Ijaz Ahmad

Reputation: 12110

Json Representation of JIRA projects , users , groups etc

I am trying to automate the JIRA administration by having all the configuration done through json files in version control , and when , for example someone want to make a change to his project , he/she can just create a pull request for that change by editing the relevant json file for that and I will just either merge it and push it to REST api , or suggest a change.

I need to know how can I grab all the current configuration as Json files so that I can setup this workflow.

Thanks.

Upvotes: 1

Views: 70

Answers (1)

rorschach
rorschach

Reputation: 2947

Some of the important top-level entities in JIRA also have a /meta endpoint which explains the required and optional fields and what kind of data should be entered there. Check out the documentation here.

Alternatively, if they don't have that endpoint just expand the endpoint you need and they have a Schema heading where you can see the metadata.

Upvotes: 1

Related Questions