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

how to validate issue ID (JIRA ticket)

Jeevan Mahesha August 28, 2023

I have included a Jira ticket ID in all commit messages. To ensure the validity of this ticket (issue ID), I am seeking a method to perform validation. Could you kindly provide guidance on how to achieve this?


My Board name is ABC
My Ticket (Issue ID) is ABC-105

1 answer

0 votes
Boldizsár Vermes September 3, 2023

@Jeevan Mahesha, what do you mean by validation of a ticket? Do you want to know whether it exists or it exists on a given board or something else maybe?

Jeevan Mahesha September 3, 2023

yes i want to know ticket is exist / not 

Boldizsár Vermes September 4, 2023

In this case, I would just add a condition to the rule: key in (ABC-123)

Use IF, ELSE component if you want to run different actions in both cases or use a simple JQL condition if you want to stop the automation in case of an invalid issue key.

Jeevan Mahesha September 4, 2023

Thanks for your time @Boldizsár Vermes 

Like Boldizsár Vermes likes this

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events