Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Block the transition if the fixversion contain "backlog" in its name

Rahma AJENGUI January 5, 2024

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"

 

2 answers

0 votes
Kavitha Chandrasekaran
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 5, 2024

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"

Screen Shot 2024-01-05 at 11.53.29 pm.pngScreen Shot 2024-01-05 at 11.50.41 pm.png

Rahma AJENGUI January 8, 2024

I will try the automation rule thank you!

0 votes
Dan Tombs
Community Champion
January 5, 2024

Hi @Rahma AJENGUI can you please advise if you are trying to do this with any apps or through native functionality?

Rahma AJENGUI January 8, 2024

Hi,

I am trying to create a rule with JMWE on jira software.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events