Bigpicture: How to scope epics with a certain label and all their children in a box?

Kamil Beer
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!
January 5, 2024

Hi,

I am using the bigpicture app on Jira Software Cloud, and I would like to implement a simple use case: I have a box, where I would like to display all epics with a certain label, and all stories underneath them. It should be a simple use case, but I cannot implement it in a smooth way.

Jira Cloud cannot create nested queries like "

 

issue in childrenOfIssuesInQuery("labels=Test")

or similar.

While third party apps like Scriptrunner or JQL extensions could produce such a query, it can be used only on their own search / filter screen. The JQL created using these apps cannot be used in bigpicture scope definition at all.

It feels I am missing something, as this must be a use case that has to be super common. How can I create such a scope for a bigpicture box?

 

1 answer

0 votes
Ivan Lima
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.
January 7, 2024

Hey @Kamil Beer

For a similar use case, I managed to get it working using ScriptRunner as follows:

  1. Created SR Enhanced Search (ES). Example (SR-Filter-ToBeUsed-In-BigPicture):
    issueFunction in issuesInEpics("project = Sample AND labels = 'bigpicture'") AND type = Story
  2. Saved as an Enhanced Search filter.
  3. Create a JQL filter using the one created in step 1. Example (BigPicture-Scope):
    (project = sample and type = epic and labels = 'bigpicture') OR filter = "SR-Filter-ToBeUsed-In-BigPicture"
  4. In BigPicture > Scope definition > Filter
    1. Select your filter (ex., BigPicture-Scope)

For this use case, I haven't set the project under Scope definition, only the filter. I also noticed we need to wait, or manually sync the ES filter to pull the new data; for example, when a new Epic gets labeled. In this case, the ES filter is used in multiple JQLs so we decouple it but it could be part of the same JQL, etc.

Give it a try, you may find a more efficient way pull only the data you need into the scope definition. I'm also interested to learn how others have addressed that.

Cheers.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events