Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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

Subodh I'm New Here Nov 06, 2020

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

1 answer

0 votes

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

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you