This script takes helps you create a custom JQL to find issues where two specified fields do not match.
To use this script, enter a JQL query as a parameter that , which should be a list of epics and returns (first parameter). The script then identifies issues where the custom field (second parameter) does not match have the same value of as the epic.
Wild html block |
---|
<iframe width="560" height="315" src="https://www.youtube.com/embed/8xkccDcIGlY" frameborder="0" allowfullscreen></iframe> |
...
corresponding epic.
Example usage (JQL query)
Code Block |
---|
key in silJQLList("silJql_FieldValueDosentMatchEpic.sil", "Project = EX and type = Epic", "Fruit") |
Script
Code Block |
---|
string [] epics = selectIssues(argv[0]); string matchField = argv[1]; string [] ret; for(string e in epics) { for(string i in allLinkedIssues(e, "Epic-Story Link")) { if(%i%.%matchField% != %e%.%matchField%) { ret += i; } } } return ret; |
...