Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- jira/rest/api/2/dashboard?startAt=&maxResults=
- jira/plugins/servlet/Wallboard/?dashboardId=&os_username=&os_password=
- curl -D- -u fred:fred -X GET -H "Content-Type: application/json" http://example.com/rest/api/2/issue/createmeta
- curl -D- -X GET -H "Authorization: Basic %BASE64-CREDENTIDALS%" -H "Content-Type: application/json" "https://webjets.atlassian.net/rest/api/2/issue/WJ-333"
- var user = window.btoa( user + ":" + password );
- getRequiredTickets("key=ABC", user);
- function getRequiredTickets(query, credentials){
- $.ajax
- ({
- type: "GET",
- url: "https://ltn3-pur-jira.company.corp:1234/rest/api/2/search?jql=" + query,
- dataType: 'json',
- async: false,
- headers: {
- "Authorization": "Basic " + credentials
- },
- success: ajaxSuccess, //some callback function
- error: ajaxFail //some callback function
- });
- }
- "content_scripts": [
- {
- "matches": ["<all_urls>"],
- "js": ["content.js", "jquery-3.2.1.min.js"]
- }
- ]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement