Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
476 views
in Technique[技术] by (71.8m points)

jql - Epics in Jira whose Epic-Story Link is from specific project

I would like to find all epics that have "Issues in Epic" from a specific Project. Current JQL:

project = FOO AND issuetype = Epic AND key in (FOO-1, FOO-2, FOO-3)

I can add and issueFunction in linkedIssuesOf("project = BAR and issueFunction in hasLinkType('Epic-Story Link')"), but it gives me epics which have other types of linked issues (eg. clones, related ..)


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

I was able to reproduce the described behavior.

These are all link types: Blocks, Cloners, Duplicate, Epic-Story Link, Gantt End to End, Gantt End to Start, Gantt Start to End, Gantt Start to Start, Parent-Child Link, Problem/Incident, Relates, Solves

It seems that Epic-Story Link is handled like a super type of some of the other ones during query evulation. That's just a suggestion and I dunno why this should be.

However, the following query should work for your purpose

project = FOO AND issuetype = Epic AND issueFunction in linkedIssuesOf("project = BAR AND 'Epic Link' is not EMPTY")


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...