Forums

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

Script Runner in Jira Cloud

Tushar May 23, 2019

Dear,

 

Need help with script to get the list of active and inactive Jira projects in last 60 days using the script runner in Jira cloud version.

1 answer

1 vote
Nic Brough -Adaptavist-
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 23, 2019

How are you defining "active" and "inactive"?

Tushar May 24, 2019

issues updated in last 60 days are Active, and updated more than 60 days are inactive.

Kristian Walker _Adaptavist_
Community Champion
May 28, 2019

Hi Tushar,

Thank you for your question.

I can confirm that we have recieved the same question off of yourself inside of our support portal and have responded on your support ticket. 

However, I can confirm here that it is not possible to achieve your requirements of returning a list of active/inactive users inside of Jira cloud due to the fact that Atlassian only provide a rest API in Jira Cloud and do not provide a Java API in the cloud like they do in Jira Server and that they do not provide any Rest API's to return this data.

Regards,

Kristian

Like Tushar likes this
Kristian Walker _Adaptavist_
Community Champion
May 28, 2019

Hi Tushar,

I can confirm that we have received the same question from yourself inside of our support portal and that we have answered this question on the support ticket. 

However to summarise I can confirm that this is not possible inside of ScriptRunner for Jira Cloud due to the fact that Atlassian only provide a rest API in Jira Cloud and do not provide a Java API in the cloud like they do in Jira Server and that they do not provide any Rest API's to return this data.

Regards,
Kristian

Like Tushar likes this

Suggest an answer

Log in or Sign up to answer