I am trying to use confiforms to add comments to an existing JIRA task. I already have the form to create the JIRA task which works great. I want to be able to then take the ticket number (example IOG-7567), plug that into a text box, and then add a comment and click submit. It should then add the comment to that ticket.
Hi
That is quite easy really
Jira has an API to accept comments
/rest/api/2/issue/<JIRA_KEY>/comment
You need to POST to it and you post something like
{ "body": "This is my comment" }
Little demo: http://recordit.co/UduRTBOpoN
Hope it helps
Alex
I think it may be a permissions error:
Which I don't quite understand because I am logged in and I created the ticket. I can edit it in JIRA. ??
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I am getting a permissions error now and I am not sure how to fix. I opened the ticket and can easily modify in JIRA so not sure why I am getting this error:
Response code = 401. Response contents: {"errorMessages":["You do not have the permission to see the specified issue.","Login Required"],"errors":{}}
Also, the create ticket form I use to create the JIRA tasks works fine and I do NOT get a permissions error, so not sure why I am getting the error this way.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Have you set up a connection in ConfiForms to your Jira?
This tutorial shows how to do it in details https://wiki.vertuna.com/display/FORMS/How+to+create+a+form+to+create+a+Jira+issue+from+Confluence
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes, it is called "Jira". This is the one I use for the create task that is working. This is also the one I selected for the new form that does not work.
This works in the other form I am using...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sorry, it is very hard to debug connection problems by looking at screenshots.
feel free to open support ticket with as at wiki.vertuna.com
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.
How is this "web service request" IFTTT is configured?
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.