Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
badges earned

Your Points Tracker
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

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

{{issue}} smart variable is not set when issue created rule is fired in JIRA Cloud automation Edited

I have setup a project automation rule with the following:


1. When: Issue created

2. Edit Issue Field: Due date =  {{issue.[<customField>]}}

[EDIT] To clarify the exact "edit".  I want to perform a date operation using two custom fields.  customField1.minusDays(customField2).  The issue is that both of the field values are always empty, since I cannot use the smart variable for issue. or createdIssue.


When the rule runs, the audit logs says it is successful.  However, the date is never set.  I have tried a large variation of setting issue fields (not just date) and I cannot get it to work.


I have reverted to just adding an audit log when issue is created and logging the values.  The logged values are always empty.

Different variations such as:

{{issue.fields}} OR {{issue.fields.asJsonString}} OR {{fields.asJsonString}} OR {{createdIssue.fields.asJsonString}} OR {{triggerIssue.fields.asJsonString}} OR {{issue.key}  


I am unsure where to go from here.

1 answer

Hi @Daniel Harrison 

Are you trying to populate the Due Date field with the same date in another date field? If so, you can use the Copy From function (the 3 dots next to the field in the edit field action), so in this case, you wouldn't need to use the smart values

Hi Callum,

I want to set the due date using date operations on two custom fields.


Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Marketplace Apps & Integrations

Jira issue check and more advanced commit verifications for Bitbucket DC

Pre-receive hooks that verify the Git commit message, the modified files, and implement similar code change controls used to be requirements of large enterprises working in regulated industries only....

50 views 0 3
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