- Visit this Gist and copy the raw file. Paste this into the Schema field.
- Edit the content in two places:
- Replace
PROJECT_KEY_HERE
with the Jira key for your project.
- Replace
- Generate a password hash using your email address and Jira API key. You can do this one of two ways:
- In Terminal, enter:
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
openapi: 3.1.0 | |
info: | |
title: Jira Universal Project Data Export | |
version: 2.1.0 | |
description: Fetches Jira issues, project metadata, field definitions, statuses, and current sprint data dynamically. | |
servers: | |
- url: https://phase2tech.atlassian.net | |
paths: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"openapi": "3.1.0", | |
"x-meta": { | |
"projectId": "PROJECT_KEY_HERE", | |
"projectName": "AD Jira Data Export", | |
"projectSlug": "AD", | |
"jiraBaseUrl": "https://phase2tech.atlassian.net" | |
}, | |
"info": { | |
"title": "Jira Data Export", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"openapi_spec_url": "https://gist.github.com/thagler/0bcd5c10001735d3d822e66308817ec4/raw/56bb920b9df93db63d3c70c548b0be56f9b5fb86/jira-export-api.yaml", | |
"auth": { | |
"type": "basic", | |
"username_label": "Jira Email", | |
"password_label": "Jira API Key" | |
}, | |
"description_for_model": "Use this action to fetch Jira projects and issue types using your Jira email and API key.", | |
"schema_version": "v1" | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
openapi: 3.1.0 | |
info: | |
title: Jira Export API | |
description: Accesses Jira projects and issue types using Basic Auth via email and API key. | |
version: 1.0.0 | |
servers: | |
- url: https://phase2tech.atlassian.net | |
description: Jira Cloud | |
components: | |
securitySchemes: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$path = \Drupal::service('path.alias_manager')->getPathByAlias('/this-is-the-alias'); | |
if(preg_match('/node\/(\d+)/', $path, $matches)) { | |
$node = \Drupal\node\Entity\Node::load($matches[1]); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
For a list of the most recent commits | |
`git log --pretty=oneline --abbrev-commit` | |
Go back 1 commit to remove | |
`git rebase -i HEAD~1` | |
replace ‘pick’ with ‘drop’ in that commit line and save (should be in vi) | |
`git push origin +my/branch-name` | |
Note: push +branch_name is like --force, but slightly less of a jerk about it |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# MySQL Backup Script | |
# VER. 2.5 - http://sourceforge.net/projects/automysqlbackup/ | |
# Copyright (c) 2002-2003 [email protected] | |
# | |
# This program is free software; you can redistribute it and/or modify | |
# it under the terms of the GNU General Public License as published by | |
# the Free Software Foundation; either version 2 of the License, or | |
# (at your option) any later version. |