Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

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

1 accepted

1 vote
Answer accepted
Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
September 2, 2015

To create the issue, they need to have the "permission" for "create issue", so check the permission scheme for that.

Then, look at the workflow.  Specifically, look at the "close issue" transitions you want to stop them using.  They have "conditions" on them that say things like "user must be in the role of developer" or "user must have the close issue permission".  Make sure that your user does NOT match the conditions.

You may want to change the permissions and/or conditions to enable you to limit the user.

Suggest an answer

Log in or Sign up to answer