I am working on adding conditional logic to a post function I am building with the Create/Clone issue (JMWE app).
This is what I would like the conditional logic to do:
If the hiring manger selects "Yes" on a question "Will new employee require Jira access" I want to trigger a post function ticket to our IT service desk.
If the hiring manager selects "No" No ticket should be created.
I added the condition cfValues['Will new employee require Jira access'] == 'yes' thinking that if I set the custom field value equal to "Yes" the post function ticket would only create when Yes is selected in the custom field.
The issue is that the post function with the condition is not failing but also not creating a new ticket. Do you have any suggestions on how to configure the conditional post function to trigger successfully?
I solved it! I needed to use the single select list script. cfValues['My Select List']?.value == 'My value'
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.