Create Validation on transition Which Checks linked issue only when a field is present

Hi Folks,

Im trying to create a transition on one of my statuses, and running into syntax problems/ignorance.

I want to allow the transition to pass if one of my custom fields is negative, but if the field is positive I want it to check if there is a linked issue in a different project.

Something like;

if cf[123] == no, then proceed

if cf[123] == yes, then proceed only if LinkedIssue in project XYZ

1 answer

Hi Alan,

I've made this free addon Easy Links for JIRA, which allows you to create a custom field that represents an issue link (when you set its value, an issue link is created. When the value is unset, the link is removed). You can use this custom field in workflow validations (for example setting it as required). The addon also has other features that you may like, searching by links in JQL or creating dashboards based on links.

If you want to make a "complex" validation (something similar to a logical expression or a scrit), you can consider other addons, Script Runner or Workflow Toolbox (in the link there is an example) for example.


Hope it helps you, regards!

Suggest an answer

Log in or Join to answer
Community showcase
Teodora [Botron]
Published Thursday in Marketplace Apps

Jira Inferno: The Nine Circles of Jira Administration Hell

If you spend enough time as a Jira admin - whether you are managing a single, mid-sized instance, a large enterprise one or juggling multiple instances at once - you will eventually find yourself in ...

274 views 0 12
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot