You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
We have two fields in the application where need to enter the current manager ("Approval") and the new manager (custom field: "User Picker (single user)"). When first manager approves application, then at workflow goes to next status and second manager needs to approve it. In some cases, it may be the same person, so the question is, can and how can it be created so that the manager don't need to approve it twice if it is the same person? Workflow - http://prntscr.com/16azu9m
Can it be done by automation or at workflow using some conditions/post functions? How? We don't want use some extra plugins. I am new at Jira and can't find solution to do this.
WHEN "Issue created" -> IF (issue matches > Approvals = *User Picker (single user) ) -> THEN Issue transition ...
If that IF statement didn't show that error, that would be correct statement for this automation process or not?
* -> User Picker (single user) is not applicable for the current project and/or issue type.
This is the same problem, but there is no answer, so again question - Rule to autoapprove a step if approver has already... (atlassian.com)
This is actually rather straightforward, if you use the Issue Fields condition instead of the JQL condition:
As I understand You mean automation conditions, right?
I can't get right IF syntax. What is correct syntax for comparing two values "user picker fields"? If I knew the constant/defined values, then there would be no problem, but I need to compare the values entered by the users.
This syntax doesn't work for IF condition:
"First approval" in (currentUser()) AND "Second approval" in (currentUser())
If I use "=" instead of "AND", then I receive error message: "The value 'Second approval' does not exist for the field 'First approval'."