Forums

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

ScriptRunner Enhanced Search - searching for linked epics with a specific field value

Małgorzata Adamska-Piotrowska November 22, 2022

Hi,

I cannot find any similar issue in the community, so I am writing to you. I need to search for issues (in our case it is a scope) with linked epics which have a specific value in one of the custom fields. 

Is it something that Enhanced Search could show?

I can find all epics with this value, but I need to search for Parents of those epics.

 issueFunction in issueFieldMatch("issuetype = Epic", "customfield_21910", "A&I")

 

Thanks a lot

Gosia

1 answer

1 accepted

0 votes
Answer accepted
Alex Koxaras -Relational-
Community Champion
November 22, 2022

Hi @Małgorzata Adamska-Piotrowska 

How are these epic "parents" are defined? Do they have a specific linking type?

Małgorzata Adamska-Piotrowska November 22, 2022

Hi. 

Thanks for looking into it.Parent is an issuetype - Scope and Epics are its children. So actually it is not any special linking type but parent-child relation.

Alex Koxaras -Relational-
Community Champion
November 23, 2022

@Małgorzata Adamska-Piotrowska thank you for you reply. But how do you define their relationship/hierachy in Jira? 

Małgorzata Adamska-Piotrowska November 23, 2022

How to check this?

Alex Koxaras -Relational-
Community Champion
November 23, 2022

You say you have:

  • Parent
    • Scope
    • Epics

And I assume that inside Epics you have standard issue types and the latter have their subtasks. Your hierarchy would be:

  • Parent
    • Scope
    • Epics
      • Standard Issue types
        • Subtasks

In jira from Epics you can create standard issue types by clicking "Create child issue type" (in cloud e.g.). From parent you can click "Create subtask" to create a subtask (child) issue type.

When you have the Parent issue type, how do you create the Scope and Epics inside that Parent issue type? Is there a button from which you create these issues?

Screenshot_2.png

Małgorzata Adamska-Piotrowska November 23, 2022

Ok.  So this looks more complicated that I thought.

We use Advanced Roadmaps which provide its hierarchy, so we have a Deliverable -> Scope -> Epic. Advanced Roadmaps give a locked custom field: "Parent Link". 

When creating an Epic, we have to assign to the Parent Link which always is a specific Scope.

 

Hope it clears things and probably complicates more for Enhanced search.

Małgorzata Adamska-Piotrowska November 30, 2022

Hi - just to give you feedback. I managed to show the data thru EazyBi. Parent-Child link that I wanted to use was based on the relations given by Advanced Roadmaps. I could not find a way to use that links in the JQL search.

Gosia

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events