Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Automation for Jira - "does not start with" option

Edited

 

Hi,

I’m writing an automation that checks the value of the summary field. I wish to perform an action when the summary does not start with a certain string.

I note that I have options “starts with” and “does not contain” but what I really need is a combination of both, i.e. “Does not start with”.

jira-does-not-start-with.jpg

Does anyone have any suggestions how to achieve this? 

I tried mailing my contact, Gregory, in Automation for Jira but apparently the better way now is to create a support request. 

Thanks in advance,  

Lee 

2 answers

Finding this post https://stackoverflow.com/a/2387072

 

This would be possible if you have an 'Advanced compare condition' available in your Automation for Jira:

adv.PNG

 

a

Hi,

I think that all JQL queries  must have the first letter. You cannot use JQL with a wildcard on the first letter.

And I think  thats the reason you don't have this option in automation.

But you can use the "does not contain"

 

example:

Summary = TEST-abcdefg

"does not contain" TEST would be the same as "does not start with" TEST

-> only problem would be, if you have the word TEST also somewhere else in the summary

Yeah, it's the issue with having the keyword elsewhere in the string that is the issue. 


Appreciate the response. 

Lee 

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Jira

Do you use Jira Cloud with Microsoft Teams?

Hi, Jira users! Do you use Jira alongside Microsoft Teams? We want to hear how you’ve used the power of Jira Cloud and Microsoft Teams (via the Jira Cloud for Microsoft Teams app) to achieve a team...

469 views 3 7
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you