Skip to content

Latest commit

 

History

History
executable file
·
95 lines (84 loc) · 2.94 KB

workplace-reminders.md

File metadata and controls

executable file
·
95 lines (84 loc) · 2.94 KB

How to speedup your working activities, small advices about workplace improvements

Linux

list of useful application:

JIRA

Jira Query Language, JQL

jql search

reporter = currentUser() and status = open ORDER BY createdDate DESC
reporter = currentUser() and status in ('open', 'new') ORDER BY createdDate DESC
reporter = currentUser() and status = 'in progress' ORDER BY createdDate DESC
text ~ "is_abstract" and project = "Brand Configuration Management"

JIRA rest api

REST API how to create token

curl -X POST -H "Content-Type: multipart/form-data" -u ${JIRA_USER}:${JIRA_PASSWORD} -F "file=@cypress/results/testresult.xml" "https://atc.ubsgroup.net/jira/rest/raven/1.0/import/execution/junit?projectKey=EXTRACT&testPlanKey=EXTRACT-219&testEnvironments=${CYPRESS_BASEURL}"

curl -H "Authorization: Bearer $JIRA_TOKEN" $JIRA_URL/rest/api/latest/issue/SSBBCC-2050?fields=summary

CodeBeamer

CodeBeamer REST API

swagger example

# reading one page 
curl -v --insecure -X GET "https://codebeamer.ubsgroup.net:8443/cb/api/v3/wikipages/1343" -H "accept: application/json" -H "Authorization: Basic "`echo -n $TSS_USER:$TSS_PASSWORD | base64`

CodeBeamer notice

if you are sending json encoded data to CB over the swagger API, check the definitions of the expected payloads – they might have changed without notice, breaking you calls
CB rejects all requests with unknown information in the payload
With some “methods” available over swagger the expected payload has changed
  Example: POST /v3/projects/{projectId}/content

{
  "password": "xxx",
  "skipTrackerItems": false,
  "skipWikiPages": false,
  "skipAssociations": false,
  "skipDocuments": false,
  "skipReports": false,
  "skipBranches": false,
  "selectedTrackerIds": [
    0
  ]
}

or

{
  "password": "xxx",
  "skipTrackerItems": false,
  "skipWikiPages": true,
  "skipAssociations": false,
  "skipReports": false,
  "selectedTrackerIds": [
    0
  ]
}

Crucible

activity

https://fisheye.wirecard.sys/user/thomas%40partner.com

Windows

color of console

cmd color 08
cmd color 0F

stdout/stderr to stdout/stderr

ls > out.txt 2>&1

autoexec on startup

  • create batch file
  • create shortcut
  • run command: shell:startup
  • move into opened window just created shortcut

URL

web sequence diagrams