In workflow conversion verifier settings, how can a field be restricted to a fixed specified value before conversion is performed? Otherwise, conversion cannot be performed? For example, you can create a bug only when the version number is V1.
Hi @liusu ,
You can do it by adding Regular Expression Check validator for Create Step in your workflow.
i.e. From admin menu --> Issues --> Workflow
Edit the required workflow in diagram mode and click on Create trnasition
Add validator "Regular Expression Check", select your field in "Field to validate:" and add value of your version in "Regular expression:" text box.
Publish the workflow.
Below screenshot is an example where it check if Severity is sev-1 or not.
Thank you very much for your answer, but there is no "regular expression check" in my verifier. What should I do? Is there any other verifier that can be replaced?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @liusu ,
Regular expression check is a in-built validator in Jira Cloud.
1. Are you using Jira cloud instance or Server/Data Centre ?
2. If Jira cloud, this validator is available only in company managed projects, not in team managed projects
3. In team managed project workflow, you have "Check an Issues field" rule, but its not present for Create transition. Available only from next transitions.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@liusu
You had selected cloud in your tags. So had to suggest cloud options.
Glad that you could find a solution. Please accept the answer if it resolved your query.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.