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
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:
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:
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.