You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
Can someone help me on how to make Jira "Summary" and "Epic Name" field to be unique and restrict for special character? So, user can't add duplicate value in Summary and Epic Name as well as can't add the special characters.
I am able to place the validator for Jira Summary to restrict the Special Characters to be entered by user using the Regular Expression Check validator and for Epic Name field a script can be build in JMWE plugin as below.
issue.customfield_10011.matchAll('[*^~\\]').length == 0
The code will return true if no special characters * ^ ~ or \ are found in the Epic Name field.
you can indeed add the Build-your-own Validator you posted earlier to prevent special characters.
However, you cannot prevent users from typing an existing Summary or Epic Name, because Jira Cloud doesn't support running a JQL search from a Validator.
Yes @David Fischer _Appfire_ you are right for that as a Workaround need to add the mentioned validator to all the transitions. By this way it will check for the special character in each transition and will throw the error accordingly.
I am able to place the validator for Jira Summary to restrict the Special Characters to be entered by user using the Regular Expression Check validator, but unable to do same for the Epic Name as the field is not showing up under Regular Expression Check validator.
Also, it would be great if you could help me on how to make a field unique.