One of my team used the IFFT Confiforms macro and the Create Jira action to create issues in Jira but found that if a user who was not logged into confluence (a valid use case for us) that the action failed with permissions issues (even though the 'anonymous' checkbox is set):
- Unexpected error while saving the record. Please contact your Confluence support team for assistance (com.atlassian.sal.api.net.ResponseException: Error communicating with JIRA, Bad Request {"errorMessages":[],"errors":{"summary":"Field 'summary' cannot be set. It is not on the appropriate screen, or unknown.","description":"Field 'description' cannot be set. It is not on the appropriate screen, or unknown."}} Used JSON: '{ "fields": { "project": { "key": "IDMSC" }, "issuetype": { "name": "Story" }, "summary": "dd", "description": "*Services Required*\n\n\nComments: dd\n\n||PIMS Solutions||\n|PIMS Store Creation| |\n|PIMS Adhoc Solutions| |\n|PIMS Integration into Retail ID| |\n|Other Integration Activities| |\n\n\n||Project Details||\n|Project Name| dd|\n|IR Number| |\n|Name of Endorsing Director||\n|Project Manager||\n|Business Sponsor||\n|Target Implementation Date| 2018-09-12|\n\n\n||Funding||\n|Integral Plus Network Activity Code| dd|\n|Integral Plus Network Activity Id| dd|\n\n\n||Applicant Details||\n|Employee Number| |\n|Surname| |\n|First Name| dd|\n|Email||\n|Org Structure| |\n|Position Title| |"} }' Request to url = 'https://jira.ae.sda.corp.telstra.com/rest/api/latest/issue/').
They worked around this by using isntead the IFFT Webservice action which hits a proxy server (which has a robot user account which is logged in).
I need to add atachments. I have this working with the Create Jira IFFT action however for the above reason it can't be used.
Is there a way to get around this "not logged in" error with the Jira action?
If not how do I add an attachment using the WebSrvice action instead?