The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Help building query to find Customers to prepare for JSD3 upgrade?

Deleted user
November 8, 2016

Folks,

I am prepping for an upgrade from JSD 1.2.7 -> 3.2 and in light of the new user structure need to find all users that are truly only Customers. The shortest path that I can think of is to find:

all Users that have been Reporters but not Assignees for issues in our Desk Project

Is there a JQL that would reveal this, even if some post-processing is needed? Or another solution, even if it is a plugin? (Note that I have latest Scriptrunner available for JIRA 6.3.6). 

Thanks!

Zans

3 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Deleted user
November 18, 2016

Thanks, @Jamie Echlin [Adaptavist] and @Timothy Chin, I'll give this a go! Best, Zans

0 votes
JamieA
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
November 9, 2016

I don't see how you could do this with JQL. I would write a script that fetches the set of reporters, then remove anyone that has the ASSIGNABLE permission... that should give you the list of customers.

0 votes
Timothy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
November 8, 2016

I think the logic is correct. I would save time and run this in SQL to find all the affected customers. Then, it's up to you to add the users to the appropriate group.

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

TAGS
AUG Leaders

Atlassian Community Events