Forums

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

Reject operator smart value

Mohamed Saad Taha
Contributor
November 21, 2023

HI,

If I have workflow and there and requests can be rejected in many phases, and I am using email notification to send to group of uses and i want to add the user that reject the request. How can I do this ? 

each phase have many users only one is enough to be rejected so I want to add only the user who reject the request 

 

1 answer

1 accepted

0 votes
Answer accepted
Rudy Holtkamp
Community Champion
November 23, 2023

Hi @Mohamed Saad Taha 

You can use Automation for Jira

Use as trigger: Approval completed

Then an advanced compare with:

{{approval.decision}} equals declined

Then the send email component with this in the body

{{#issue.fields.Approvals.approvers.get(0)}} 
{{#if(equals(approverDecision,"declined"))}}
{{approver.displayName}}
{{/}}
{{/}}

 This will tell you who declined your request.

You can also use the above in a variable and use .emailAddress instead of .displayName to be able to extract the email address of the person who rejected it.

Mohamed Saad Taha
Contributor
November 23, 2023

@Rudy Holtkamp thank you so much

Like Rudy Holtkamp likes this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events