Hi Team,
We added the "Assignee Issue" JMWE post function, and it has condition
Hi @Lakshmi CH
You'd want to add something like {{currentUser.accountId}} != john's account id
Variables in Nunjucks Templates - JMWE for Jira Cloud - Confluence
This would be the user actually doing the transition and not the assignee.
Hi @Shawn Doyle - ReleaseTEAM ,
Thank you for your quick resonse. I tried both methods, but it's still assigning to the exceptional user who transitioned the ticket
(issue.parentObject.issueType.name == "ABC" || issue.parentObject.issueType.name == "XYZ") && (!issue.parentObject.get("customfield_39060")) && (currentUser.name != "john@xxx.com")
and
(issue.parentObject.issueType.name == "ABC" || issue.parentObject.issueType.name == "XYZ") && (!issue.parentObject.get("customfield_39060")) && ( {{currentUser.accountId}} != "john@xxx.com")
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.