Forums

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

How to have Validation only apply to stories

Natalie Cotela
Contributor
January 30, 2026

Hi there - I only want the validation rule below to apply to the work item type stories in this workflow (the workflow applies to stories and bugs as they both have the same requirements from our audit team). How can I make it so it only applies to work item type = Story?

Screenshot 2026-01-30 at 08.58.02.png

3 answers

1 accepted

2 votes
Answer accepted
Evgenii
Community Champion
January 30, 2026

Hi, @Natalie Cotela 

Option 1 - using builtin functionality. Make separate workflow for Story issue type. And add there validator. It's easiest way how to make it.

Option 2 - if you have ScriptRunner for cloud, you can create scripted validator, that will check issue type on validation.

Natalie Cotela
Contributor
January 30, 2026

Ah. Magoo. I don't want to add another workflow if I don't have to. Shoot. 

Evgenii
Community Champion
January 30, 2026

 @Derek Fields _RightStar_suggested a good solution for your scenario. You need to create two separate transitions in the workflow:

  • One transition for Story issues
  • Another for all other issue types
Then, control visibility using Conditions based on issue type:
  • For the Story-only transition: set condition Issue Type = Story
  • For the general transition: set condition Issue Type != Story
Additionally, apply the required validator only to the transition intended for Stories. Since the validator runs only when the transition is executed, it will be enforced exclusively for Stories - achieving the desired behavior without affecting other issue types.
1 vote
Derek Fields _RightStar_
Community Champion
January 30, 2026

You could create multiple transitions and create a condition so that each is only available for a specific work type. Then you can apply the validation that you need on each transition. It isn't a great solution, but does address your requirement without the need for a marketplace app.

That said, ScriptRunner or JMWE or JWT really provide a lot of additional capability that make workflows much more functional.

1 vote
Aaron Pavez _ServiceRocket_
Community Champion
January 30, 2026

Hi @Natalie Cotela 

Sadly not possible out of the box.

You need JMWE or another third-party app, and you can use Jira expressions to validate.

Those are way more powerful and can do what you need.

Regards

Suggest an answer

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

Atlassian Community Events