I am ask to implement a validation process before a change requests can be processed (this part is standard).
The "Application" the change request will be open on is an object from a Jira Asset object schema.
This application has some different change approver(s) based on the target of the change (Infrastructure, Applicative, ...many others to follows)
Currently in asset we have the following two objects implemented:
- Application => attributes
- Name [Text]
- Infra change approver(s) [Object pointing to our user DB]
- Applicative change approver(s) [Object pointing to our user DB]
- Category [Object pointing to "Category" within the same schema]
- Category => attributes:
- Name [Text]... nothing else for now
I have two goals to achieve:
- Be able to manage the list of categories available in SM customer form for selected application (show only choices for which at least one user added to related attribute)
- When customer select desired Category, associated approver(s) can be used in Jira workflow status (add approval built-in feature).
Is there a way I can apply the right Object attribute to validator field in JSM ?