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

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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

Need help with automation rule

Hi,

I'm trying to create an automation rule that will set the end date to two weeks after the start date, but I'm not having any luck. (The rule shows as having been executed, but nothing shows up in the End Date field.) I think my problem might be not knowing how to refer to field names with two words. Any help would be greatly appreciated.

CAC.png 

4 answers

1 accepted

0 votes
Answer accepted

Can you try the below syntax if the StartDate you are referring to points to Sprint Start Date

{{sprint.startDate.plusDays(14)}}

If the Start date field name is literally Start date, then try {{issue.Start date.plusDays(14)}} instead of {{issue.start_date...}}.

Hi Andy and Ajay,

Thanks for your suggestions. I tried both options and the both throw an error with AfJ. (It's a service project so there's no sprint.)

Thanks,

Jenny

Actually, Ajay, you just alerted me to the problem. I was thinking Start date was a system field. I'll do it now with the custom field ID.

Thanks!

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 Jira Service Management

Why upgrade to Jira Service Management Premium?

We often have questions from folks using Jira Service Management about the benefits to using Premium. Check out this video to learn how you can unlock even more value in our Premium plan.  &nb...

209 views 1 6
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