Hi all, I have a text box on the form where I ask the user for a ticket number, if they provide it to me I want to link that ticket to the new one that gets created.
So far I've done this by an automation once the form is submitted.
- I check to see if the text box is not empty
- Then I run a branch where I do "KEY = {{issue.customfield_xxxxxx}}
- In that branch I link the issue to the trigger issue
My issues though are safety, in particular I want to:
- Ensure the text box does indeed have an issue in there (incase random text is inputted) in particular so it stops the automation failing.
- Not too sure how to start with this, is there a checker? or Try/Catch lol
- Check the issue type and send an email to the reporter.
- I guess if the issue type isn't correct that they've added (say wrong type or wrong value) I'd like to let them know. But I seem to only be able to check the type from within the branch right? And from in the branched ticket I don't have the reporter of the trigger ticket?
Thanks for any advice!