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

To auto-approve the approval in child if the same person already approved in the parent ticket.

Edited

Hi, 

I have a parent ticket with first level of approval (called Department Head Approval).

Department Head can be anyone whichever user picks on the request form while submitting.

When Parent ticket is created and it is transitioned from "Awaiting Department Head" to "Department Head" approved , a child ticket will be created and we will have the 2nd (Audit approval) and 3rd (CIO approval) in the child ticket.

In the 2nd and 3rd approvals , we are directly passing the value of specific user as "Approvers".

If the Department Head on the parent ticket approves it and if the same user in the Department Head matches with the Approvers in 2nd or 3rd approval on  the child ticket , we need to auto-approve that approval in the child ticket and move further to the next approval process.

May I know how can we achieve this ?

Best Regards,

Manoj.

2 answers

1 accepted

1 vote
Answer accepted
David Friedrich
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.
Nov 26, 2023

Hi @Manoj Kumar Emmadi , thank you for your detailed explanations. 

As I understand it, you need another, hidden transition on the subtasks that cannot be triggered by a user. If such a subtask is created, an automation should now check whether the person in the parent's approver field and here in the subtask created are identical. If this is the case, the transition is used for bypassing.

The point is, however, that I don't know exactly whether comparing two fields in the automation is available on the server. If not, use scriptrunner.

This is how I'd write the automation in cloud. In this example I am comparing the parent approver with the subtask reporter as I don't have approver in my subtasks.

image.png

Hi @David Friedrich ,

Thank you for the valuable information.

I have tried another approach to auto-approve if the approver in the parent ticket gets repeated in the child ticket using "Legacy Automation" in that Jira project.

Legacy automation rules.PNG

 

I have created a custom field in parent ticket to copy the value of approver to that field and compared it with the approvers in the child ticket and then set it to trigger the above legacy automation rule to auto-approve (using JQL condition if approvers match).

This helped me to resolve this issue.

Best Regards,

Manoj.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events