Missed Team ’24? Catch up on announcements here.

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

Workflow Validator options

Jacques B July 13, 2022

In the Create step of a Subtask's Workflow we have a Validator that checks the status of the parent issues:

"The parent issue of current issue must be in one of the following statuses: Commercials"

2022-07-13 17_03_07-Transition_ Create - Jira.png

 

I wish to add another condition, something like:

"OR (The parent issue of current issue must be in one of the following statuses: Something_Else and the User my be John)"

 

Is this possible? How do I go about this?

1 answer

1 accepted

2 votes
Answer accepted
Jeroen Poismans
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
July 13, 2022

Hi Jacques,

Out-of-the-box I don't think it's possible.

If you have Scriptrunner you could write a custom validator doing the following:

  • Retrieve parent issue status
  • Retrieve other field to test on
  • Return true if your conditions are met and the Validator should pass
  • Return false if your conditions are not met and the Validator should NOT pass

 

Regards,

Jeroen

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Site Admin
TAGS
AUG Leaders

Atlassian Community Events