Created
March 23, 2017 15:16
-
-
Save BoyCook/05d9fe7c95e4e6d490fc2325bdfdfd34 to your computer and use it in GitHub Desktop.
JIRA create issue link
This file contains 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/sh | |
json = '{ "type": { "name": "XXX" }, "inwardIssue": { "key": XXX }, "outwardIssue": { "key": XXX}, "comment": { "body": "XXX" }}' | |
curl -D- -u admin:admin -X POST --data $json http://localhost:2990/jira/rest/api/2/issueLink |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment