JQL plugin development question: I am trying to return all sub task issues with parents in a version. Function looks ok to me but doesnt work?? Please help.

Kevin Shine March 7, 2013

Please go and take a look at the source:

https://github.com/kevshine/jira-opensource-jql-functions/blob/master/src/main/java/com/opensource/plugins/jira/jql/ParentsWithAFixVersionOf.java

This compiles, returns a list but somehow no results are found on the search screen?

2 answers

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

1 vote
Answer accepted
JamieA
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 7, 2013

Looks ok to me. But I normally use QueryLiterals with the issue ID not the key, and the value should be the string value of the ID. Try that.

Also, you could try existing plugins..., eg the subtasksOf function:

issueFunction in subtasksOf("fixVersion = REL1")

0 votes
codelab expert
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 7, 2013

Did you set the List-Parameter in atlassian-plugin.xml?

<List>true</List>

TAGS
AUG Leaders

Atlassian Community Events