I’m trying to integrate a third-party tool with Jira server via REST API.
Basically all I need is to be able to create an issue of a given type, get response (success/error) and get metadata (list of required and optional fields) for that tool via REST API.
The problem is I can’t use Jira REST API directly because it creates issues without taking in account business rules of a given issue type - e.g. requires fields, one fields can have values depending on another filed’s value, an attachment is a required as part of an issue etc
So, what is the best way to achieve this - create some “proxy” API, which will make all validation logic and call Jira native API, or is there any better solution?
Or I can customize Jira API - add my specific validation rules and create issue/reject request afterwards.