We have a case, need an opportunity to easily get results of dynamic JQL-filter just in issue.
For example, the field where we can see links to unresolved issues of current reporter.
On my screen - it is "Description".
The field should contain results of JQL-filter or Groovy script that will take values from the tasks, for example, || reporter = "current reporter" and resolution = unresolved ||
The filter will be global for the field, but dynamic - in relation to the values from the issue.
This is just an example for explaining the problem.
The overall goal is to get a tool that allows you to add fields with filter results to issues.
Is it possible to make it using ScriptRunner`s custom fields?
Or maybe you know any another solutions? Maybe plugins?
Thanks for help!
you can definitely do this with scriptrunner.
For example, have a look here at Hennings response for JQL in a scriptfield
You can use fields from your issue in the JQL query.
You can use MarkupBuilder to make it look pretty.
My only issue is what happens when e.g. users add the script field to the issue navigator and the query gets applied to 10's of thousands of issues at the same time...
Hi! Thank you for answer!
The guys from the Scriptrunner`s support team helped me to display the results of the JQL-filter in a custom field in a table form.
But I don`t know how using JQL-functions get issues of "reporter of current issue", not "currentUser()"?
The main task - Agent of service desk during processing should see all unresolved tasks from the current reporter - This will help speed up their decision or identify duplicate tasks.
I have multiple projects that use variations of the same base workflow. The variations depend on the requirements of the project or issue type. The variations mostly come in the form of new statuses ...
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