I'm having hard time with condition/validator.
I have a project for HR purposes. Issues in that project = profiles of candidates. Issues summary=Name of candidate.
I need a condition/validator which would check the summary of existing issues in the project and wouldn't allow to create a new issue if there's an existing issue with the same summary=name
Generally, validator/condition are associated with issue workflows. But in your case you want validation based on already existing issues i.e. you don't want the issue to be created if an issue with a similar summary already existing.
Thus, in the validation section of the issue. You will need to write a validator which uses issueSearchService and fires an JQL query to check if an similar issue already exists and if it doesn't exist then let the current issue be created otherwise return false and show the message that an issue with similar summary already exists.
Hey admins! I’m Dave, Principal Product Manager here at Atlassian working on our cloud platform and security products. Cloud security is a moving target. As you adopt more products, employees consta...
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!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG