What is the jira CLI to know the reporter who reported the JIRA and the current reporter?

Priya Ramakrishnan April 28, 2021

Hi,

 

So a JIRA was reported by "User1" at initial stages of the project and after some time the Reporter of the JIRA was changed to "User2" .

 

So is it possible to get all the Issues list in a project from JQL CLI query where it will give the actual reporter who reported it  and the current Reporter alone.

 

Thanks in advance!!

 

2 answers

1 accepted

0 votes
Answer accepted
Sudhir_Appfire_
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 Leaders.
April 30, 2021

Hi @Priya Ramakrishnan ,

Hope you are doing good!

Yes, it is possible to get all the Issues list in a project from the JQL CLI query where it will give the actual reporter who reported it and the current Reporter alone.
Please execute the below CLI command using getIssueList action along with the jql query:

./acli jira --action getIssueList --file <output file> --jql "reporter was User1 and reporter changed TO User2"

Please let us know if this information helps.

Regards,
Sudhir

Priya Ramakrishnan May 3, 2021

Hi Sudhir,

 

This helps. But this also has a constraint where we have to provide the Usernames explicitly to get the issues...

can we have jql like

Reporter in ('User1','User2','User3') and reporter changed to not in ('User1','User2','User3')

 

Thanks & Regards,

Hari R

Sudhir_Appfire_
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 Leaders.
May 3, 2021

Hi @Priya Ramakrishnan ,

You can use the below jql query with getissueList to achieve the result.

./acli jira --action getIssueList --file <output file>  --jql  "reporter  was in ("User1","User2") AND reporter changed to ("User2","User3")"

Please note that you cannot use not in with reporter changed action.

Please let us know if this Information helps.

Regards,
Sudhir

0 votes
Sudhir_Appfire_
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 Leaders.
April 28, 2021

Hi @Priya Ramakrishnan ,

We have opened a support ticket, https://bobswift.atlassian.net/servicedesk/customer/portal/1/SUPPORT-6669 to better track your request. 

Regards,
Sudhir

Suggest an answer

Log in or Sign up to answer