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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,553,780
Community Members
 
Community Events
184
Community Groups

Date automatically set

Dear all,
my name is Ed and I'm new here. I'm working with Jira since 2 Weeks and I have the necessity to set an Target End date automatically if the status changes to OPEN

1. if the calendar week is not eventhen set Target End to next Thuresday else set Target End to Thursday one week later than next week.

Possible???

3 answers

1 accepted

0 votes
Answer accepted

If I'm right Jira 9.4.3 and Jira Server

The problem is solved. I set the date in each case to now() plus 10 Business days.

Sorry, I'm back. The problem is not realy solved.
First I decribe what I want and then my solution approch.
what I need is:is the actual calendar week even (2,4,6,8) or odd (1,3,5,7) and the actual day of the week (MON, FRI)

In case that it is even and the calendar day is not FRI I want to set due date to THU of next week otherwise I want to sent due date to THU of this week

If

{{now.weekofyear()%2 == 0}} and {{ dayofweek(current date()).==.(“FRI”}}

then

{{now.withNextDayOfWeek("THU").jiradate()}}

Else

{{now.with nextdayofweek(“SUN”).plusdays(1).withnextdayofweek(“THU”).jiradate()}}

Trudy Claspill
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 04, 2023

How exactly is that not working? Provide examples of the dates used in each step and the results.

Trudy,
thanks for your answer. The error is something like this:  "Error in Condition, wrong expression.Else executed".

I beleve that the expression dayoftheweek doesn't exists. Today I'm out of the office .

 

Edgar

Trudy Claspill
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 05, 2023

Can you show us screen images that show the details of each of those steps in the Automation Rule?

Unfortunately not because I'm not a Jira Admin and I don
t have the permission. The error was shown during an Admin has created the rule. I have to wait until the Admin will be available the reproduce the error

0 votes
Trudy Claspill
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Apr 18, 2023

Hello @Käthe Crautwickel 

Welcome to the Atlassian community!

Are you working with Jira Cloud or Jira Server/Data Center?

If your Jira URL is https://<something>.atlassian.net then you are working with Jira Cloud.

If you are working with Jira Server or Jira Data Center, what version are you using? That information will show at the bottom of most screens.

What do you mean by the calendar week being "even"?

even =cw  2 4 6 8 10
odd = cw 1 3 5 7 9

Trudy Claspill
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Apr 19, 2023

Do you mean the first, seconds, third, etc. calendar week of the year?

Can you provide answers for the other questions I asked also, please?

Suggest an answer

Log in or Sign up to answer