I am trying to create a filter to search for all issues that were ever assigned to me, even after the assignee is changed. I cant find the appropriate search parameters for this. Is it even possible in jira?
assignee was currentUser() should do it.
It will also include issues that are currently assigned to you.
If it doesn't, try: (assignee = currentUser() OR assignee was currentUser())
I'm not sure if things have changed with JIRA since previous answers were written, but all I needed was:
assignee was currentUser()
This will pick up things that are currently or previously assigned to me.
Click the eyeglass icon on the left pane
Click on "Advanced search for issues"
On the top right, click on advanced search to open the JQL textbox
Enter the text "assignee = currentUser() OR assignee was currentUser()"
If you'll use this repeatedly, click save and name the search
Then you'll see it on the left bar under Starred...
Check out the toolkit plugin
https://studio.plugins.atlassian.com/wiki/display/JTOOL/JIRA+Toolkit+Plugin
It has a custom field 'Participant' which allows you to find all issues
that you raised, were assigned to or commented on.
Francis
2022 and still the solution works like a charm for jira version 8.20.6
assignee was currentUser()
issue in watchedIssues()
... might also be of use. It gets every issue relevant to you.
On the JIRA web application/site navigate to Issues (in header) > Search for issues, then enter your search criteria.
Related
I am using Jira 6.1.4 and I would like to create a filter that shows either all the tickets that have been closed (resolved/fixed) by me or at least all the tickets that have ever been assigned to me. I tried various things out of Google but none helped.
Using 6.4.5, I can open the Issues tab and search:
assignee = <username> && status = resolved
Then I can click "Save As" to create a persistent filter.
Not exactly just resolved by me but close enough:
assignee was "myuser#myemail.com"
This query will exactly answer the question "shows either all the tickets that have been closed (resolved/fixed) by me". This assumes that "Resolved" and "Fixed" are the actual names of your statuses:
status was in (Resolved, Fixed) by currentUser()
I don't know for sure if this will work as far back as your (already EOL!) JIRA 6.1, but it definitely works on 7.0+.
This is an interesting thing. I created a JIRA issue using a java rest client provided by JIRA(JiraRestClient). When I try to search the issue in the JIRA ui by using JQL in advanced search
reporter = user123(where user123 is the user i used to create the issue)
I can't find that issue in the results. But when I manually update that issue.. say comment on it and then run the above query again I see that issue in the results.
Can anyone explain why is this happening ?
JQL relies on lucene index and looks like issues created by the JiraRestClient are not indexed till you update them (issue is indexed on update). For me it sounds like a bug.
To be sure please launch full reindex https://confluence.atlassian.com/display/JIRA/Search+Indexing and then try to reproduce your case.
How do I search for issues which have a comment from a particular user/users??
Thanks
Varun
Just install the free Script Runner plugin, then search for something like this with JQL:
issueFunction in commented("after -52w by scott")
This will show you all issues that were commented upon by user "scott" within the last 52 weeks.
More syntax help here.
If you also need to query based on who resolved a particular issue (which is what the summary suggests, which is somewhat different from the question posed in the body above), then you want to use something like "status was resolved by scott" instead.
When I try creating an JIRA issue, my issue type list is blank. But it works just fine on another PC.
Is there any setting that I need to activate? Thank you in advance.
Without more detailed background on the difference between the two machines here are the possible fixes that come to mind:
Be sure that you are using the same user account with the same user priviliges
Check that you are using the same browser with all dependencies installed (java)
Consider re-indexing JIRA from the Administration Panel
Check your schemes to insure you don't have non-applicable dupes
Hope this helps.
TFS stores information about who created or who activated a work item and for some reason checks its validity whenever the work item is modified.
When a user is deleted from active directory or renamed in active directory, all work items even slightly has connection with the user can not be modified. Usually the error message is something like ...
TF20015: The field 'Activated By' contains the value 'blah blah blah' that is not in the list of supported values.
I've found a blogpost which recommends tweaking the TFS database, which is something not supported nor recommended by Microsoft.
What can be done to resolve this?
Thanks...
e-mre
Caveat: I'm not sure that this will work, and right now I'm not in a position to test it. However, I've had success with this approach on some other fields.
If you use the TFS Power Tools to edit the work item type definition, you should be able to change the Activated By field's rules and add an ALLOWEXISTINGVALUE rule to it. This might allow you to save those records when the AD name changes.
We've used this with some success with the Assigned To field.
I've seen this behaviour. It occurs if someone who activated a work item is removed from Active Directory (leaves the company) or if they change their name (gets married).
It's simple to fix, you just need to change the work item status from Active to Pending then back to Active this will change the "Activated By" field to the person chaging the status and the problem will be resolved.
Are you using TFS 2008? I seem to remember that this issue is fixed in 2010 (but I might have dreamt that)
If you have a lot of work items this blog might have a solution that helps automate the fix.