Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

How do you link to another ticket via automation safely from a text box?

Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 21, 2024

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!

0 answers

Suggest an answer

Log in or Sign up to answer
Site Admin
AUG Leaders

Atlassian Community Events