How can I search for issues with no links?

I need to find a way to search for the absence of links. "Linked Issues" and "Links" while they show up in Filter output Columns don't appear as fields for JQL.

JQL doesn't seem to accept "IS EMPTY" after variations using "linkedIssuesFromQuery()" or "linkedIssues()"

This would be less of an issue if I could figure out a way to enforce checking of links as Conditions or Validators within a workflow. At present it seems that there should be a way to validate that "Linked Issues" changes during a transition, but I've not be successful getting that to work.

Any suggestions would be most welcome.

I forgot to mention We're using server JIRA v6.3.4 with JIRA Misc Workflow Extensions

2 answers

This widget could not be displayed.

Script Runner has a function called hasLinks() that checks for this.

And you can also add a condition or a validator on a transition to do the same. You have to customize the workflow to do this.

Or you could change the field configuration to make links a required field.

 

This widget could not be displayed.

John,

I tried making the field a required field, but doing so didn't result in a failure / warning on create when they were left blank.

I was customizing our workflows. Links and Linked Issues don't show up as a field or custom field for most of the conditions. Supposedly it can be required the be changed during a transition (other than create), but it too did not result in a failure / warning when tested.

I think we have Script Runner - so I'll see if I can figure out how to use hasLinks()
in a script based validator.  I'll let you know how it turns out.

Thanks for the suggestion

Cathy Waters

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Wednesday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

87 views 1 0
Join discussion

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