Forums

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

automation for validation of the right organization

Emmanuel F-D
Contributor
April 22, 2022

Hi 

I want to make an automation for when the ticket is in approval status to validate that it is the right organization that is put in the organization field and makes a check with the first character of the "ticket title" (summary field) because in our case the name of the customer is written in the beginning of all tickets.

Thus, we would avoid sending the ticket to the wrong customer.

I have started something but I think my logic/advanced compare conditions does not work all the time.

any idea?

Thanks

 

Capture3.JPG

1 answer

1 accepted

1 vote
Answer accepted
Mikael Sandberg
Community Champion
April 22, 2022

You are missing issue in your smart value, it should be {{issue.summary}}. See Jira smart values - issues for more information.

Emmanuel F-D
Contributor
April 26, 2022

@Mikael Sandberg 

is there a way in my advanced compare condition(or in another way) to only use one condition like:

if the {{issue.summary}} contains/equals with the organization name to do the verification and go the right branch if the condition is met.

Mikael Sandberg
Community Champion
April 28, 2022

I'm not sure that I am following, the advanced compare only takes two values that you are comparing. You could also use the issue field condition to see if the summary contains a specific value.

Emmanuel F-D
Contributor
May 2, 2022

@Mikael Sandberg do you have an example you could show me to use the issue field condition that you mention 

Mikael Sandberg
Community Champion
May 2, 2022

Here is an example of an automation that I have that is looking at the summary field to see if it starts with "Course completion"

Screen Shot 2022-05-02 at 3.04.48 PM.png

Like Emmanuel F-D likes this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events