Created
July 7, 2015 16:25
-
-
Save TWHarr/efb791cee819fe2b8cec to your computer and use it in GitHub Desktop.
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
In requirements.json: | |
{ | |
"ticket_fields": { | |
"duplicate_macro": { | |
"type": "checkbox", | |
"title": "Duplicate Macro Sent" | |
} | |
} | |
} | |
---- | |
Removed the duplicate field parameter from Manifest.json, and edited the readme appropriately. | |
--- | |
In app.js, to get the field set up by requirements.json: | |
duplicateField = this.requirement('duplicate_field'); | |
In app.js to set the field: | |
ticket.customField(duplicateField,"yes"); | |
or | |
ticket.customField(duplicateField,"no"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment