ScriptRunner Jira / Issue(s) Picker / Subtasks

Bojan Zekanovic November 13, 2018

Trying to utilize ScriptRunner Issue Picker field with JQL to get sub-tasks, but doesn't seem like this this field is compatible with subs. Any idea on how to display sub-tasks within this Issue Picker field from ScriptRunner?

Thanks, 

1 answer

0 votes
khalid el koundi November 13, 2018

Hi Bojan,

You can use this in the search : 

issuetype not in subtaskIssueTypes()

Cheers

-Khalid  

Bojan Zekanovic November 14, 2018

This will only show me the parent issues. 

Trying to utilize https://scriptrunner.adaptavist.com/latest/jira/script-fields/issue-picker.html Multi Issue Picker field from Scriptrunner.

However, using basic JQL within field confirm doesn't show subtasks, and only shows parent level issues. I've also submitted a ticket with Scriptrunner to rule out bugs vs feature request, but wanted to see if anyone within community has this working within their environment. 

Thanks,

Like Andrey Koptelov likes this
Payne
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.
April 11, 2019

I've been beating my head against the wall on this issue all morning. I found your post, and the associated Atlassian support ticket - https://productsupport.adaptavist.com/browse/SRJIRA-3102 - I confirm that it is now working as expected with the latest version of ScriptRunner - 5.5.3.

-Payne

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events