Creating a query with comits in it - github

So I'm currently trying to build search queries that would find repositories that were committed after 2020-01-01. I grabbed the commit syntax and just basically slammed it onto the query that I already have but it doesn't work. It looks something like this: https://api.github.com/search/repositories?q=created:2020-01-01&committer-date:2020-01-01. What am I doing wrong and I would really appreciate it if someone could help me come up with a correct syntax. Thanks!

You can used the pushed parameter along with the search method in the GitHub API.
For example your query could look like:
https://api.github.com/search/repositories?q=pushed:>2020-12-01
NOTE: The > in the query means after the given date.
Read more here.

Related

How can I make query for specific time in AzureDevOps?

I need to make a query in AzureDevOps. I need to search every bug that was created in the same specific time (for example in one sprint). The bugs are not important status today but when was create.
Can you help me, please? Thank you.
How can I make query for specific time in AzureDevOps?
For this issue ,you can make query like below, using Created Date field in the query:
Or using Iteration path field to query the bugs in a specific spirit:

Oracle hierarchial queries

I am trying to pull out all the hierarchy values for a particular segment in Oracle Apps(referring tables applsys.fnd_flex_Value_norm_hierarchy & applsys.fnd_flex_values). I want a tree like display starting from the top parent and going down until the last descendant) something like this:
I have been able to pull the data with repeated parents across each lines and currently formatting this manually in excel, but am sure there is a way to do this using sql itself but not able to do it. Please note I have already written a sql which gives me data as follows.
Any suggestions would be really helpful.
We have a treewalk SQL for this data in our Blitz Report library here: https://www.enginatics.com/reports/fnd-flex-value-hierarchy/
The output looks like this:
https://www.enginatics.com/example/fnd-flex-value-hierarchy/

How do you pull an Incident and ServiceRequest's 'Created By User' property?

I can't seem to use a good enough combination of words for Google. Everything I find, it's for the effected user, the person this ticket is for. I do not care about this... I am trying to find the agent/person who CREATES the ticket instead! I am trying to pull information of how many incidents and service request tickets my desk has created, and while I can track completed MA's by us, it eludes me on this.
I cannot find any documentation at all on how to do this... The closest I could find, the cmdlets they use are no longer included in SMLets.
Basically, I want to do this https://lazywinadmin.com/2016/03/powershellscsm-get-manual-activities_9.html#, but apply it to created incidents and SRs.
The closest I've found was a Get called Get-SCSMClassProperty, but I cannot find any documentation on how to use it. The closest I've found was a bug report where the code is cutoff.
Ultimately, I already have the backbone required to compare a result to a list of agents, I just don't know the actual property name or how to reference it.
A reference I've tried is: https://www.catapultsystems.com/blogs/scsm-powershell-get-work-item-information/
But what is suggested, Get-SCSMClassInstance, does not exist anymore. But if it did, it yields the below output, which is pretty close to what I am think I am trying to find here.

On redash how to create a chart that shows counts of types

I am trying to create something similar to the example here:
http://demo.redash.io/embed/query/387/visualization/518?api_key=cc11cd75d4f3934b17de1f0621abd2f0c9cce713
But I can not figure it out. If someone can explain how to create this specific chart it would be great.
You can assume I am using a similar dataset and query with mongodb.
This is the demo link with the query:
http://demo.redash.io/queries/387/source#518
The steps are:
You write the query, run it and get the results.
Click on "+ New Visualization" (next to the table header).
Define your chart/visualization.
But it's really hard to understand what part you can't figure out - do you have problem getting the results? Defining the chart?
In the future, it's better to use the Redash's forum for such questions, as I stumbled at this question by chance.

iReport: Setting Parameter Values from Query MongoDB

I am fairly new to JasperReports and iReport and am struggling with something, which seems should be basic.
If you use MongoDB then you know it does not support the concept of a 'JOIN'. Therefore, from the iReport main dataset query I want to set a parameter/variable from the results. Then I want to use the collection values I just set in a different dataset as a query parameter/variable (NOT table, or LIST - just a plain old simple dataset I create, which will also query MongoDB as the source).
It seems this would be a straight forward use case, but I don't see anything intuitive in iReport that seems would do this. Can this be done? If so any clues you can give me would be wonderful and greatly appreciated.
Do you want to pass the values as collection from one report onto the other ?
This can be done by writing the following in your filter expression $P{parameter_name}.contains($F{field_name}). Additionally, you need to create parameter with the same parameter_name with class type java.util.collection .
Now this report is ready to receive any parameters as collections. This works for MongoDB as I have tried this out. Now as you have already said that you have been able to send the collection from the main report, the above method will work for receiving the parameter in the second report.