Hi Jira Community,
I am implementing an automation rule that will send an HTTP request to a PHP script. Currently, I am using the command "file_get_contents('php://input')" to capture the Jira data sets in the script.
I would like to know if there is an alternative to 'php://input'? Is there a way to get the POST array format of the Jira issue?
Thank you!
Hi Alison,
Thank you for sharing further details. It might be beneficial to explore other alternatives for fetching Jira form details. Your question seems well-suited for the developer community portal, where experts can provide more insights and guidance on this topic. I suggest you to consider posting your query there for a comprehensive discussion and potential solutions-
https://community.developer.atlassian.com/c/jsm-development
Regards,
Anusha A
Hi Alison,
Welcome to the Atlassian Community support and Thanks for your question!
Based on the information given, I would require further clarification on the overall requirement.
I look forward to hearing your response.
Regards,
Anusha A
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Anusha, thanks for the response:
1. I need to pass the values of the Jira form to a PHP script. So in the Automation Rule, I have an action part "Send Web Request" which points out to the location of the PHP script.
2. In the PHP script, I am using file_get_contents('php://input') to fetch the values from the Jira form. This one is working.
It came to my knowledge that php://input can be error-prone and as such, I am looking for other alternatives which I can use to fetch the Jira form details.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.