Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How can I create a filter with on demand input?

For example: instead of currentAssigne(), each time I run the query it will will ask me for which Assignee?

I don't want to create a filter with assigne=xxx. I want the same query to be used over and over with a parameter as an input.

 

Thanks

2 answers

1 accepted

0 votes
Answer accepted

JIRA doesn't have any function to do that.  Save a filter and then educate your users on how to get to it and change the assignee for their own run of it.

Hi Iko,

I suggest to create a filter and reuse this filter in an additional jql query. Simply create a filter with your condition and WITHOUT the assignee value/parameter. Save the filter to filter1. Nor create a new jql query like

assignee = hgerlach and filter=filter1

As you can see now you can change the assignee parameter easily. It even works with URL parameters/query strings. So you can either define the assignee or you even can define the filter ID via parameters.

Cheers

Heiko

It is a great tip! I was able to utilize your solution. Thank you very much.

Is there a way to fix the view of search result the way I setup and save for filter?

Like which columns to show and their orders on printable version of filter result?

Using Jira rest api, I am adding a link to epic issue, which would show the printable version of saved filter with epic link parameter - the sum of estimated, remaining, and time spent from the result all the tasks has the same one epic link.

But it seems like, if any user change the columns for other filter or just search, the result of my saved filter view changed for them as well. The saved filter has a public view permission.

 

Thanks,

Phil

2020-04-28_15-41.png

You are already doing it.  Across the top of the box in your screenshot, you have "my defaults", "filter" and "system".  The selection there tells you which one of the three you are changing.

In this case, it is the list of fields for the filter.  When you save the filter, your selection of fields will be saved with it, so that when someone goes to the filter, they will see your selection of fields.  Only the owner of the filter can set these saved fields.

But, there is nothing to stop a person choosing to view the filter with their own selection of fields.  They won't be able to save their selection to the filter, but they are free to choose the fields that matter to them when viewing any filter.  If they move away from it and then re-select it, it will revert to the values saved with the filter.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Jira Service Management

JSM June Challenge #2: Share how your business teams became ITSM rockstars

For JSM June Challenge #2, share how your non-technical teams like HR, legal, marketing, finance, and beyond started using Jira Service Management! Tell us: Did they ask to start using it or...

171 views 6 7
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you