Only Selected User (user picker) should only Check Box, only then a Transition can go forward!

Hello

Here I have two custom fields Approved By (User Picker) and Approval (Check Box) options Yes or No

A Transition should go forward only if the person in Approved By selects check box 

any idea how to achieve this validation!

Here issue has to move from "In Progress" to "Done" where the current user cannot move it to Done state unless the CheckBox is selected by User in Approved By field

Thanks

Tej.

1 answer

1 accepted

1 votes
Thomas Schlegel Community Champion Feb 20, 2017

Hi Tej,

I would make two workflow transitions out of this:

  • The person in "Approved By" clicks a transition called "Approved" 
    As precondition, you can check, if the user is the one from the field "Approved By"
  • The next transition has a precondition that checks, if the custom field "Approval" is set to yes.

 

 

Thank you! Thomas for the quick response, but is there any way we can do in only ONE transition? 

Thomas Schlegel Community Champion Feb 20, 2017

Maybe this works (I didn't test it, but it should work)

  • First: precondition: User is in field "Approved By"
  • Second: Validator: Field Approved is set to Yes

With this approach, the user in "Approved By" is the only one who is able to click on the transition. 

You should add a screen to this transition, where the user can set "Approved" to yes.

Then, after clicking the button in the screen, the field "Approved" is checked.

 

It doesn't work Thomas! 

If we use condition... The user in the field Approved By only can do transition but I want current user do transition unless it satisfy the validation that checkbox should be checked by the only user in "Approved By"

Here issue has to move from "In Progress" to "Done" where the current user cannot move it to Done state unless the CheckBox is selected by User in Approved By field

Thomas Schlegel Community Champion Feb 20, 2017

that's what I meant with "the user in "Approved By" is the only one who is able to click on the transition"

Make two transitions as I suggested and everything's fine wink

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,981 views 12 18
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot