Timestamp for Custom field When a Issue from Customer Project A is Blocked by Company Project B

Harun Ahmetbeyoglu October 11, 2023

Hi,

I have an issue ticket in project A(Customer Project) on Jira cloud. However, this issue ticket is blocked by an existing issue ticket from Project B(company Project). I want to run a rule to automate picking up the timestamp of when the ticket from project B( linked issue) is linked to the ticket from project A.

I have created a custom field, "Escalation Link Timestamp" and linked it to Project A's screens.

Then, I defined the automation rule as below:

  1. Navigate to Project A.
  2. Go to Project settings > Automation.
  3. Click on Create rule.
  4. For the trigger, choose Issue linked.( link type : is blocked by)
  5. Add a condition to check if the linked issue is from Project B (issue field condition>Projects and condition is: equals Project B).
  6. Now, for the action, choose Edit issue.
  7. In the fields to set, choose the custom field you just created ("Escalation Link Timestamp").
  8. For the value, use a smart value: {{now.jiraDateTime}}.

then, on the issue screen, I linked an issue from Project B and then ran the filter to import the CSV document. When I checked the CSV, the custom field was empty, with no date. 
Could you please help me if I am doing something wrong?
Thanks and Regards

1 answer

0 votes
Rudy Holtkamp
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 12, 2023

Hi @Harun Ahmetbeyoglu ,

Welcome to the community!

I think you need to use {{now}} in the last step.

But do use the 'log action' for debugging, it will help you a lot. And check the audit log of the automation rule to see if and when it was triggered.

Lastly, you need to have set the rule scope to multiple projects (include project A &B)

For this you need Jira administration permission and go to global administration of the automation rules (<yoursite>.atlassian.net/jira/settings/automation). Select your rule, rule details> scope > multiple projects > project A, project B

Harun Ahmetbeyoglu October 12, 2023

Hi Rudy,

Thanks for your response. I tried everything as well as your recommendations. But those fields are still empty, and no date coming out.

Suggest an answer

Log in or Sign up to answer