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

Working with Jira Dates

Good afternoon friends. I'm trying to work with dates inside Jira. I need to create an automation where tickets created on weekends (Saturday and Sunday) are assigned to specific people.

Basically my automation was like this;
Step 1 - When: Item createdCapturar.JPG
Step 2 - if: Item corresponding to JQL
"Request type" not in
(follows all my request types that don't fit the rule)
Step 3 - If: correspondence
{{issue.created.format("dd/MM/yyyy")}}
contains regular expression {{now}}
Step 4 - Then: Assign the item to
Member of the user list

But tickets are dropping as unassigned. Is something wrong with what I'm doing?

1 answer

1 accepted

1 vote
Answer accepted

Hi @Rodrigo Xavier 

I am unclear how your conditions would find issues created on weekends.  You could try this instead with an advanced compare condition:

  • first value: {{issue.created.format("E")}}
  • condition: exactly matches regular expression
  • regular expression: (Sat|Sun)

Best regards,
Bill

Perfect my friend. Thanks a lot for the help. I will build the rule based on what you showed me. 

Like Bill Sheboy likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Site Admin
TAGS
Community showcase
Published in Confluence

👁‍🗨 Confluence Team planning dashboard_Atlympics 🌈

Hi Atlassian's, How is your journey with #Atlympics 2021 so far....excited! Me too, same excitement. Here's my typical team planning and vision dashboard which I used to share to my management and ...

93 views 1 5
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