Is calculation between dates possible?

schema-request

#1

I’d like to be able to create metrics for my organisation’s repos based on various factors, two of which being pull requests and issues. Something I’d like to track is how long a pull request/issues was/is open for, and when the last update was.

Is there a supported function/scalar for this?

Ideally I’d be able to query for pull requests which are open and have been open for over X days, and where the last comment was made over Y days ago.


#2

Ideally I’d be able to query for pull requests which are open and have been open for over X days, and where the last comment was made over Y days ago.

I can understand how useful a query like that could be @dsample. This isn’t currently possible but I’ve opened a schema request internally. We’ll update here as we have news for you.

Cheers,

Lizz