bitbucket search-issues
Search bitbucket issues
Description
Search bitbucket issues based on the given query
Synopsis
Arguments
site
- (string)
Site where this command will be executed
Example: --site "site-1"
Default: input.site
Attributes: optional
repo
- (string)
Fully Qualified Repository Name for issue
Example: --repo "bitbucket_user1/test_repo_1"
Default: _None_
Attributes: required
query
- (string)
Query string in bitbucket query format
Example: "state="new" AND title ~ "text""
Default: _None_
Attributes: required
sort
- (string)
What to sort results by
Example: --sort "created_on"
, --sort "updated_on"
, --sort "priotity"
Default: _None_
Attributes: optional
page
- (int)
Page number of the results to fetch. Default- 1
Example: --page 2
Default: _None_
Attributes: optional
Examples
Input:
Output:{
"values": [
{
"type": "issue",
"id": 32,
"repository": {
"type": "repository",
"full_name": "simulage/daccosim",
"links": {
"self": {
"href": "https://api.bitbucket.org/2.0/repositories/simulage/daccosim"
},
"html": {
"href": "https://bitbucket.org/simulage/daccosim"
},
"avatar": {
"href": "https://bytebucket.org/ravatar/%7B23007f73-93bd-4f68-952a-72c16c7e2cc6%7D?ts=1973243"
}
},
"name": "daccosim",
"uuid": "{23007f73-93bd-4f68-952a-72c16c7e2cc6}"
},
"links": {
"self": {
"href": "https://api.bitbucket.org/2.0/repositories/simulage/daccosim/issues/32"
},
"html": {
"href": "https://bitbucket.org/simulage/daccosim/issues/32/what-is-matryoshkajar"
},
"comments": {
"href": "https://api.bitbucket.org/2.0/repositories/simulage/daccosim/issues/32/comments"
},
"attachments": {
"href": "https://api.bitbucket.org/2.0/repositories/simulage/daccosim/issues/32/attachments"
},
"watch": {
"href": "https://api.bitbucket.org/2.0/repositories/simulage/daccosim/issues/32/watch"
},
"vote": {
"href": "https://api.bitbucket.org/2.0/repositories/simulage/daccosim/issues/32/vote"
}
},
"title": "what is Matryoshka.jar",
"content": {
"type": "rendered",
"raw": "I ran the develop branch code through IDEA, and ran the example \"1-equationsPair\", with no results. Later, it was discovered that Matryoshka.jar was missing, and it was enough to add it to the resource folder. I searched for relevant information and found that it was used when the Java.fmi package was built. Does this package have any other functions? Where can I read the relevant source code",
"markup": "markdown",
"html": "<p>I ran the develop branch code through IDEA, and ran the example \"1-equationsPair\", with no results. Later, it was discovered that Matryoshka.jar was missing, and it was enough to add it to the resource folder. I searched for relevant information and found that it was used when the Java.fmi package was built. Does this package have any other functions? Where can I read the relevant source code</p>"
},
"reporter": null,
"assignee": null,
"created_on": "2021-05-14T03:22:30.320396+00:00",
"edited_on": null,
"updated_on": "2021-07-26T13:53:49.611631+00:00",
"state": "closed",
"kind": "proposal",
"milestone": null,
"component": null,
"priority": "major",
"version": null,
"votes": 0,
"watches": null
}
],
"pagelen": 20,
"size": 1,
"page": 1
}
Access Control
To use this command, you need access to the following:
Field | Value |
---|---|
Action | "read" |
Service Type | "bitbucket" |
Service Instance | |
Namespace | repo |
Object Type | "issue" |
Object ID |
Please see Access Control for details.