Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Dynamic change validator based on JSM Asssets object/attribute

sylvain_lanthier2_bell_ca
Contributor
November 27, 2023

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:

  1. 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)
  2. 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 ?

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events