i would like to automate the process of deploying from staging to production without any manual intervention and so is there a way to do whats described here -> https://confluence.atlassian.com/adminjiraserver/exporting-configuration-for-changed-projects-from-staging-938847918.html
using a rest api or from the terminal?
and the same for importing.
couldn't really find what i needed in the rest api documentation so far.
to be specific what i need is to export and import only the workflows, custom fields, transitions and more configuration without the project history.
thanks for any help