Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Validate User fields

Hi,

I created one additional field "Task Owner" of type USER Picker.

While transition, I would like to validate Current User & Task Owner.

How can I proceed.

This action will happen when I click on Start Process.

 

Thanks in Advance.

Sivarama Krishna.

2 answers

0 votes
Tansu Akdeniz Community Leader Nov 22, 2019

Hi @Sivarama Krishna ,

You can validate current user against Task Owner customfield if you have add-ons such as Script Runner, Jira Workflow Toolbox etc.

  • Please go to Workflow -> Start Progress Transition -> Validators -> Add Validator
  • For Script Runner: Add Script Validator -> Simple Script Validator and check if current user is task owner.
  • For JWT: Use Compare Two Parsed Texts validator.

Regards

Hi @Sivarama Krishna ,

speaking of Jira Workflow Toolbox, I'd recommend using a Boolean validator with an expression as simple as:

%{nnnnn} = %{00020}

 Please replace nnnnn with the field code of your Task Owner field - 00020 is the default field code for Current User.

Cheers
Thorsten

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Marketplace Apps & Integrations

5 mobile apps for Jira Cloud to boost productivity

  It’s very important to have access to the workflow process from anywhere. Especially if you manage the work of others. There is no difference whether you’re out of office, or drive a ca...

249 views 2 5
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you