Forums

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

Creating a required field to close issue ONLY on Parent Story

Betsy Ho
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 3, 2025

Hello,

I want to create a required field ONLY for parent stories. I DO NOT want the field to be required for Sub-Tasks. I have tried to follow 

https://confluence.atlassian.com/jirakb/how-to-make-a-field-required-before-closing-the-issue-1236928291.html

But Options - Validators is not available as a selection. 

2 answers

0 votes
Stephen_Lugton
Community Champion
February 4, 2025

Hi @Betsy Ho 

For company manage projects, if you are editing the workflow in a diagram view, when you click on the transition you should see a pop-up box something like

Clicking on Validators will allow you to add your validation.

 

You also have the option to add conditions (see How to allow Workflow Transitions based on Field values ) rather than validations

 

You'll want to set up your conditions something like:

Any of the following conditions
 All of the following conditions
The field Issue Type will have to be equal to value 'Task'. Compared as String.

The field Your field will have to be not equal to value 'NULL'. Compared as String.

The field Issue Type will have to be equal to value 'Sub-Task'. Compared as String.

(You can change Task to Story)

0 votes
Mohanraj Thangamuthu
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 3, 2025

Hello, Good day. Please let us know whether you are using company managed project or Team managed project.

 

If you are using Team managed project then you can create a rule. https://support.atlassian.com/jira-software-cloud/docs/available-workflow-rules-in-team-managed-projects/

Suggest an answer

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

Atlassian Community Events