Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,462,024
Community Members
 
Community Events
176
Community Groups

Remove from Mail filter once linked with any issue

So, I use Service Project, and I use Filters as well. Please see below:

Screenshot 2022-12-18 at 14.16.11.png

 

Now, what I want is, in this same Filter [let's discuss about Main Filter], I created 4 issues: Issue A, Issue B, Issue C and Issue D.

 

So, in my Main FIlter list of all 4 issues are showing, now If I open Issue C and click on link issue and select Issue A, then from my list of Main Filter Issue "C" should be removed, but If I open Issue A, then Inside Issue C should show as "Linked"!

Screenshot 2022-12-18 at 14.20.44.png

1 answer

1 accepted

0 votes
Answer accepted

Hi @Jimmy Trivedi 

On your JQL filter, switch it to advanced JQL. Then add in the end (and before ORDER BY) the following:

and issueLinkType is empty

The above will return all issues which do not have linked issues with them.

Let me know if that works for you.

This is my JQl

project = GJP AND status in ("In Review", Pending, Reopened, TODO, "Work in progress") AND labels in ("Default", Learning, Regular, Support, Transcation, Trending) AND assignee in (currentUser()) ORDER BY due ASC, priority DESC

 

But I don't understood where to add.

 

Also one important point: You said this: "The above will return all issues which do not have linked issues with them." But that is not the requirement which I mentioned in question. If One issue is linked with other, but there might issues which are independent and not linked with anyone, so that also should come in the filter list.

@Jimmy Trivedi sorry but I don't understand your requirement then:

If One issue is linked with other

Ok with the above statement. One issue is linked to another.

but there might issues which are independent and not linked with anyone

Ok with the above sentence as well. There are issues with inward/outward links

so that also should come in the filter list.

Don't understand which one should come on the list. The one with the links, or the others which do not have links? What do you want your saved filter to return? If you could explain with words like:

I want the JQL to return all issues from a specific project, which have specific labels (e.g. default, learning etc), and their status is in pending, regular etc, and assignee is the current user and ....... ??

Hi @Alex Koxaras _Relational_ 

Surely, I'll try to explain more in detail. The filter list should return issues which are not linked with anyone and also should return issues which are parent of linked issues, but filter should not return which are sub issues of any parent issue.

 

Note: I'll not do like this: Parent - Child - SubChild

It'll be only Parent - child.

Hi @Jimmy Trivedi From what You wrote I would think that you don't want the subtasks to be visible.. So maybe use the following JQL then, in addition to your filter:

issuetype in standardIssueTypes()

@Jimmy Trivedi if my answer helped on you, kindly mark it as accepted in order to help others within this community to find proper guidance. Thank you,

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Site Admin
TAGS

Atlassian Community Events