Is it possible with JIRA Workflow Toolbox to add in validation when a user created a bug to check that the Epic Link's project matches the project selected? We are having issues with people creating issues in the wrong project.
Hi @[deleted]
this could be easily done using our Logical validator.
There you could use the following expression:
For JWT >= 3:
%{issue.issueType} = "Bug" implies first(fieldValue(%{issue.project.key}, epic())) = %{issue.project.key}
For JWT < 3:
%{00014} = "Bug" implies first(fieldValue(%{00018}, epic())) = %{00018}
This way a linked epic in the same project is mandatory as soon, as a bug ticket get's created. So also if no epic get's linked on the Bug's creation, the creation would fail. If the check should only be done when there is really an epic linked, the expression would be:
%{issue.issueType} = "Bug" and count(epic()) > 0 implies ...
The configuration would look like this:
Cheers
Jona
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.