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 Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Fadoua M. Boualem
Published yesterday in Trello

Using Trello to manage events

As a Jira power user, I was at first doubtful that Trello could benefit my workflow. Jira already uses boards (ones you can customize!), so why would I even need to use Trello?! In this post you will...

451 views 6 7
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