Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Subtasks of linked issues of an objective

Gaston
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
December 16, 2022

Hi,

I have a query that works well for retrieving the issues linked with issue 25272 by link type 'Implanté par'.

issue in linkedIssues("25272", 'Implanté par'))

Now I want the same query toi retrieve AS WELL the subtasks of the issues linked to 25272.

I tried this :
issue in linkedIssues("25272", 'Implanté par') OR issue in subtasksOf(issue in linkedIssues("25272", 'Implanté par'))

I got : Erreur dans la requête JQL : ')' ou ',' est anticipé mais 'in' est mentionné à la place.  (Error in syntax, ")" or "," anticpated instead of "in"

Can you help me please ?

1 answer

0 votes
Trudy Claspill
Community Champion
December 16, 2022

Hello @Gaston 

Welcome to the community.

The function subtasksOf comes from the Adaptavist Script runner application, I believe. It is not a native function as per the Jira documentation here.

If that is true, then your syntax is incorrect. Try this

issue in linkedIssues("25272", 'Implanté par') OR issuefunction in subtasksOf("issue in linkedIssues('25272', 'Implanté par')")

Suggest an answer

Log in or Sign up to answer