I am using this API to query commits on bitbucket repos: https://developer.atlassian.com/bitbucket/api/2/reference/resource/repositories/%7Bworkspace%7D/%7Brepo_slug%7D/commits
It gives me some filter like include but I'd like to query commits based on date. Like q=date>xxxx+AND+date<xxx. How can I do that in the query?
Related
Need to come up with a Jira query that returns all projects that have issue-link dependencies, that display the linked-from and linked-to project name
Jira cannot search for projects, it can search for issue only. However, you can put such search onto a dashboard, to Issue Statistics gadget and display the search result grouped by project.
Moreover, this cannot be searched by default JQL functions. You will need extra add-on to conduct such search. The best is ScriptRunner.
You can then conduct such search:
issueFunction in linkedIssuesOf("project = XXX", "linked-to")
or vice-versa:
issueFunction in linkedIssuesOf("project = XXX", "linked-from")
The first argument is a subquery of all issues you're interested in. The query will return all issues linked with that respective link type with subquery issues.
ScriptRunner JQL function documentation:
https://docs.adaptavist.com/sr4js/latest/features/jql-functions/included-jql-functions/issue-links#id-.IssueLinksv6.47.0-linkedissuesof
I want to write a TFS Query to get blank (or) no entries in Acceptance Criteria field/box for Features or User Story's in project.
How can I write Query as I can't see any = or <> operators against 'Acceptance Criteria'. Only I can see 'Contains Words' & 'Does Not Contains Words', from these how can we get blank entries?
Starting with Azure DevOps 2019 Server (TFS 2019) there is a new operator for HTML fields "IsEmpty" that does what you want to do. Prior to that version you cannot do this in a query.
See: https://learn.microsoft.com/en-us/azure/devops/boards/queries/query-operators-variables?view=azure-devops#query-operators
There is no way to do this search.
you can make a full search then export the results to excel then filter there :(
I have TFS/AzureDevOps query which is sorted by Iteration Path .
I need to sort it by Iteration Start Date.
I dont see any option on the Sorting Page or in the query page to sort like this.
I tried sorting by iteration ID but the iteration were not created in order .
WIQL Code
SELECT
[System.IterationPath],
[Prod.Versions],
[System.Id],
[Prod.Territory],
[Prod.Customer],
[System.Title],
[System.AssignedTo],
[System.State]
FROM workitems
WHERE
[System.TeamProject] = #project
AND [System.WorkItemType] = 'Feature'
AND [Prod.Versions] >= '9.0'
AND [System.IterationPath] <> 'Machine'
AND [System.AreaPath] UNDER 'Machine\Development'
ORDER BY [System.IterationId],
[System.Id]
i would like it to be ordered like the following (this is from the setting page of the project in AzureDevops Server 2019 ):
We have adopted a naming convention for our iterations that uses the start date of the iteration as the name in order to achieve this.
So the iterations are named like:
2019.08.12
2019.08.26
not ideal, and I would love to see a option to include the iteration's start date a column for this very reason. Hopefully we will see a better answer soon.
Sorry, TFS work item query not support to filter Iteration using Start/End Dates.
There is a similar question here: TFS show iteration Start and End Date on PBI
Since using a name contain iteration date is not a solution for you. As another workaround, you could try get Iterations in specific Start/End dates using TFS API. Some thing maybe helpful for your reference.
Besides, in each collection database there is a table called "tbl_nodes" that holds the start-date and the end-date.
Writing a warehouse adapter that actually picks up these dates and saves them to the warehouse. Note do not write or change anything directly in database which may lose official support.
For query work item using Iteration Start/End Dates scenario, please submit it to User Voice site at: https://developercommunity.visualstudio.com/spaces/21/visual-studio-team-services.html?type=idea Microsoft engineers will evaluate any feature request seriously.
I have quite a number of JIRA tickets, each of them have some label attached to them. Each ticket have few sub-tasks that are assigned to different users.
I want to filter the Jira based on following criteria:
Label
Assignee of one of the subtask
Is it possible to do so?
Here is the query that I need to complete:
labels in (sprint-package-1, sprint-package-2, sprint-package-3, sprint-package-4 ) and status not in (Abandoned)
What I am trying to achieve (in simple words) :
Show me only those JIRAs that have label = 'xyz' and their status is not abandoned and they have a sub-task assigned to 'somerandomuser'
UPDATE
I know that a similar question exists (here) but the solution requires one to have a plugin Craftforge JQL Functions Plugin. I cannot use any plugin.
I have to export reports listing some attributes of JIRA issues at a specified date.
So my query would be:
project = "XXX" AND fixVersion was "10.14.0.0" ON '2016-12-12 11:00'
And the result set would provide the status (mandatory) and other attributes (such as assignee) at the specified date.
For the moment, the result set provides me with the status at the current date, and not at the specified date.
How can I achieve that?
Any help really appreciated
It's not possible by default: JIRA always returns current/most recent values of the fields.
Though, there are workarounds:
You can programmatically run JQL query, expanding changelog items. Analyzing each change, you can find out value of interested field for the given date. Here is an example.
If you know some schedule of your reports (e.g. each Monday), you can configure cron job and periodically export issues for later processing.
Here are some related questions in Atlassian community:
How do I get a snapshot of issues on a particular day using JQL (rest)?
Snapshot of jira issues statuses on the specific date
eazyBI - Snapshot of JIRA issues statuses on the specific dates