I want to limit a Regular Expression Check to specific issue types:
I assume this is the correct expression to retrieve the issue types:, isn't it?
What is the correct expression so that the check is only performed for these issue types?
What tool are you using for your validator? If this is JMWE, then you would want to use
issue.get("Issue Type").name in ["Activity", "User Story"]
If you are using ScriptRunner, then you need this code
issue.getIssueType().getName() in ["Activity", "User Story"]
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you, Derek. For the tool I need to check.
How do I combine my two parts? Something like <If issue.get("Issue Type").name in ["Activity", "User Story"] then [1-3]|[5]>.
How does IF... THEN... work?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.