Forums

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

How get issue link to epic

Stephane Rathgeber June 4, 2018

Hello,

 

How can I make a query using the field "Epic link", I want to get all issues in epic.

But i can't use "Epic link" in my query (custom field 10406)

The custom type is "Epic Link Relationship"

 

Thank you

4 answers

1 vote
Ignacio Pulgar
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.
June 8, 2018

Is it a Jira Cloud instance?

If so, you can retrieve all issues which are descendants of an Epic (or list of Epics) with JQL sentence like:

parentEpic in (XXX-263)

You may add more comma-separated epic issue keys.

Stephane Rathgeber June 11, 2018

It is a Jira server instance. 

 

Field 'parentEpic' does not exist or you do not have permission to view it.

Like Adir D likes this
1 vote
Alana Fernando
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.
June 4, 2018

@Stephane Rathgeber, Hope below similar community questions can help you with this,

Or 

Simply use below query, which will fetch all child issues of your EPIC

parent = <Epic ticket id>
Stephane Rathgeber June 4, 2018

I have try with:

  • issue in linkedIssues(XXX-263)
  • parent = XXX-263
  • "Parent Link" = XXX-263
Alana Fernando
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.
June 4, 2018

@Stephane Rathgeber, correct me if i am wrong, by All the issues in EPIC you meant All child issues created inside epic. right? 

 

If possible please share a screenshot

Stephane Rathgeber June 4, 2018

This is not the sub-task of the epic, but the tasks related to the epic

 

 

 

2018-06-04_132312.png

1 vote
Alexey Matveev
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.
June 4, 2018

Hello,

Your JQL query should look like this:

"Epic Link" = "KEY-134"

Stephane Rathgeber June 4, 2018

I try this: "Epic Link" = XXX-263

 

The error message is "Field 'Epic Link' does not exist or you do not have permission to view it."

Alexey Matveev
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.
June 4, 2018

Is there the Epic Link field available in the list of custom fields?

Stephane Rathgeber June 4, 2018

What do you mean?

Alexey Matveev
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.
June 4, 2018

I mean if you open coq item -> Issues -> Custom Fields. Can you see there the Epic Link field?

Stephane Rathgeber June 4, 2018

Yes I can see

 

2018-06-04_133222.png

Alexey Matveev
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.
June 4, 2018

Are you sure that your user has a Jira Software License?

Stephane Rathgeber June 4, 2018

Yes, in user management I see my user with "Applications: JIRA Software"

0 votes
Ollie Guan
Community Champion
June 4, 2018

Hi @Stephane Rathgeber,

You can try installing a plug-in to solve this problem.

https://marketplace.atlassian.com/apps/6820/scriptrunner-for-jira?hosting=server&tab=overview

JQL : issueFunction in epicsOf()

Stephane Rathgeber June 4, 2018

Hello,

I do not want a paid plugin :(

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events