Forums

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

Validate

gustavo pereyro
Contributor
August 10, 2023

Hi all,

How can you validate that when creating a story it is only possible depending on the value of a field that contains your epic? we don't use scriptrunner

Thanks !

Gustavo

 

2 answers

0 votes
David Blank
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.
August 10, 2023

Hi @gustavo pereyro !

I think you might want to add a validation like John suggested: "add a validator to the workflow transition. If you want it required to create an issue, it should be placed on the Create transition in the workflow. "

Check out John's full answer here:https://community.atlassian.com/t5/Jira-Software-questions/How-to-set-a-required-field/qaq-p/1400111

David Blank
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.
August 10, 2023

I think it could look like this:

Screenshot 2023-08-10 at 2.18.54 PM.png

gustavo pereyro
Contributor
August 11, 2023

Thank you @David Blank  your information is correct, but I must validate the value of an epic field, not if the story field has a epiclink, sorry if I was confusing

example,, If the value of custom field in the epic is XXX is possible create the story

if the value in the custom field is different at XXX is NOT possible create the story 

This action is in the creation action

Like David Blank likes this
David Blank
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.
August 13, 2023

@gustavo pereyro What if you run an automation rule when the issue is created and then change the epic if the user selected wrong?

 

Maybe something like this?

Screenshot 2023-08-13 at 8.05.18 PM.png

Like gustavo pereyro likes this
0 votes
gustavo pereyro
Contributor
August 10, 2023

Sorry. the value in epic is an custom field

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