Forums

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

Help with automation rule linked issue

Mahammad Rafi Shaik
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 28, 2025

Dear Team,

I need help configuring an automation rule in Jira. Below is the requirement.

We have the following fields. 

"Delay in minutes" --- Number type
"FE Date/time" --- Date/time picker
"PS Date/time" --- Date/time picker 

Here is the user case:

1. when a value is entered in the "Delay in minutes" (eg: 60 minutes)
2. The rule should look at the issue linked by "has to be done before"
3. It should retrieve the "FE Date/time" from that linked issue. 
4. Then Calculate and update PS = FE (From linked issue) + Delay (from current issue)
5. Finally, it should update the PS field of the current issue with the result.

Example:

Task             PS            FE               Delay in minutes
Task 1          PS 1         FE 1             Delay 1 = empty
Task 2         PS 2         FE 2             Delay 2 = 60 minutes

Link Type: Task 2 linked to Task 1 using "has to be done after"

Desired Logic:

If delay2 = 60 minutes, and task 2 is linked to Task 1, then PS2 = FE1 + Delay 2

Please help me configure this automation correctly.

Warm regards 
MR Shaik

1 answer

0 votes
Bill Sheboy
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 Leaders.
July 28, 2025

Hi @Mahammad Rafi Shaik -- Welcome to the Atlassian Community!

What have you tried thus far to meet this need?

If you have a rule that is not working as expected, please note context is important for the community to help.  Please post the following:

  • what version of Jira are you using: Cloud, Server, or Data Center
  • an image of your complete automation rule in a single image for continuity
  • images of any relevant actions / conditions / branches
  • an image of the audit log details showing the rule execution
  • explain what is not working as expected and why you believe that to be the case

 

If you have not started a rule yet, I encourage you to try to do so.  Successfully using automation rules requires learning and experimentation.

To help you get started, and assuming you are using Jira Data Center...

Because you want to edit the "trigger issue" based on custom fields in another issues, you cannot use either rule branching or the lookup issues action:

  • branching will prevent editing the trigger issue easily (unless you use the REST API), and
  • the lookup issues action for Server / Data Center does not support custom fields (If you are using Jira Cloud, this is easily solvable.)

As a workaround, your rule would need to call the REST API with the Send Web Request action to get the linked issue's custom field data, and then edit the trigger issue using that.

 

Kind regards,
Bill

Suggest an answer

Log in or Sign up to answer