Hello,
I need to add a validation rule in the workflow to block th transition if the Fix Version contain "Backlog" in its name for example "Backlog 2.4" .
I find this expression !!issue.fixVersions && issue.fixVersions.some(it => it.name != "backlog")
But I did not find how can say doesn't include "Backlog"
Natively, there are two options. Not 100% solution, but close
1) Adding a condition to workflow transition. This doesn't have contains comparison. So bit restrictive.
2) Add an automation rule and include all fixversions that should not transition. This will involve updating the rule whenever you add a new fix version that contains backlog. In the example, I added two fix versions "backlog" and "Test backlog"
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Rahma AJENGUI can you please advise if you are trying to do this with any apps or through native functionality?
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.
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.