Skip to content

Instantly share code, notes, and snippets.

@bunelr
Last active August 29, 2015 14:03
Show Gist options
  • Save bunelr/7e76006106a78f5842b6 to your computer and use it in GitHub Desktop.
Save bunelr/7e76006106a78f5842b6 to your computer and use it in GitHub Desktop.
Jira Payload
Name: The name you want, maybe your jira project if you plan to use several
url: https://jirausername:jirapassword@yourdomain.atlassian.net/rest/api/2/issue
example: mine is https://rudy:mypassword@rudybunel.atlassian.net/rest/api/2/issue
Check Use Custom payload
Custom payload: {"fields": {"project": {"key": "PER"}, "issuetype": {"name": "Task"}, "description": "There is an issue Look at the following graph: $SNAPSHOT and checkout the event at $LINK", "summary": "$EVENT_TITLE"}}
Don't check Encode as form
@MisterRayCo
Copy link

This has been tested with Jira OnDemand, the hosted version of Jira. If you are using Jira on premise, it should work but let us know if you encounter any difficulties. We need to be able to do a POST request on the server so if it's inside a private network, it will likely not work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment