Are you in the loop? Keep up with the latest by making sure you're subscribed to Community Announcements. Just click Watch and select Articles.

×
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

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

Edited

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.
Oct 12, 2023 • edited

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

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
TAGS
AUG Leaders

Atlassian Community Events