How can I find ticket that wasnt update or comment by specific 6 users ?

I want to find all the open issues that my team (6 users) want update in the last 24 hours.

How can I do it with JQL ?

 

 

1 answer

Hi,

You can achieve that with JQL by using JJUPIN plugin. For that you need to create a SIL script:

string [] keys = selectIssues("project = " + argv[0]);
string [] ret;
for(string k in keys) {
boolean updatedByUsersInGroup = false;
JFieldChange [] changes = lastIssueChanges(k);
for(number i = 0; i < size(changes); i++) {
if(userInGroup(argv[1], changes[i].user) && (currentDate() - changes[i].#{date} < "24h")) {
updatedByUsersInGroup = true;
}
}
if(!updatedByUsersInGroup) {
ret += k;
}
}
return ret;


After you created the file, you can use in search like below:

key in silJQLList("notUpdatedByUsersInGroup.sil", TEST, jira-developers)


Where "notUpdatedByUsersInGroup.sil" is the name of the SIL script, TEST  is the name of the project and jira-developers is the name of the group.

You can find more JQL searches here: https://confluence.cprime.io/display/TR/SIL+JQL+Se arch

Also, you can read more about SIL Routines here:

https://confluence.cprime.io/display/SIL/Routines

Best Regards,

Ana

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,000 views 12 18
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot