Forums

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

I want to create validation script which check story is connected to epic link and epic link is epic

Subodh
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!
November 6, 2020

com.onresolve.jira.groovy.groovyrunner for ScriptRunner for Jira.

1 answer

0 votes
Nic Brough -Adaptavist-
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.
November 6, 2020

An Epic Link field can only contain links to epics, so you do not need to worry about the second part of your question.

For the first part, SR can now do validators, and yours could be as simple as "epic link is not empty", but you could also consider making it a mandatory field on stories using core Jira functions (the field configuration)

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
TAGS
AUG Leaders

Atlassian Community Events