The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
I need to check issue's project category in workflow validator and if that matches then two custom fields need required for that transition. If that does not matches then its not required. Require a Jira Expression for this scenario.
Example scenario: If issue project category is X then custom field A and custom field B should be required for that particular transition.
If issue project category is Y then custom field A and custom field B should be optional for that particular transition.
By using the below Jira expressions I have achieved it.
project.projectCategory.name != "Category X" || (!!issue.customfield_A &&!!issue.customfield_B)
Hello Atlassian Community! Feedback from customers like you has helped us shape and improve Jira Software. As Head of Product, Jira Software, I wanted to take this opportunity to share an update on...
Connect with like-minded Atlassian users at free events near you!
Find an eventConnect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.
Host an eventYou're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.