Forums

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

issueFunction in issuesInEpics() but with filters

Matias G Labrana
Contributor
July 23, 2024

Hello everyone,

Basically I would like to use issueFunction in issuesInEpics() with a filter include.
The filter is a group of specific Features under certain conditions, that I want to see the issuesInEpic(). I want to see a way to use this funcion through my filter to automatize the process and not paste ID by ID manually as are appearing new features when are matching my conditions of the filter

It is possible or exist other way to achieve the same result?

Regards and thanks in advance!

1 answer

0 votes
Hans Polder _Devoteam_
Community Champion
July 23, 2024

@Matias G Labrana ,

From the terms you're mentioning, I'm assuming you're using ScriptRunner in your environment?

Steps to solve this:

1) Create a filter for the Features that you want to be the 'parents' to find the children for

2) Create a second filter: "issueFunction in issuesInEpics("filter=10600")" >> where 10600 = the filterID of the first filter.

This should work!

 

Matias G Labrana
Contributor
July 23, 2024

Hey Hans thanks for the answer

Unfortunately I am not using, so appears me an error when I am doing in that way.

Regards

Hans Polder _Devoteam_
Community Champion
July 23, 2024

Then, I'm afraid that it's not possible. The 'issuefunction' part is a feature delivered by ScriptRunner and not natively present in Jira. 

See more information here: https://confluence.atlassian.com/jiracoreserver/advanced-searching-fields-reference-939937719.html

As you can see, with native Jira you can only search for:

"Epic Link" = <specific issue-key>

OR

"Epic Link" = <summary of specific issue>

Matias G Labrana
Contributor
July 23, 2024

Thanks as I was reading this is an Issue.

Can exist other way to arrive to this result?

Hans Polder _Devoteam_
Community Champion
July 23, 2024

I don't know of another way (other than using ScriptRunner), but maybe someone else on the Community would know. Hang in there!

Suggest an answer

Log in or Sign up to answer