Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Using confiforms, how can I update an existing task with comments? Edited

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. 

 

1 answer

1 accepted

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:

  • Requested to /rest/api/2/issue/IOG-8270/comment has resulted in error. Response code = 401. Response contents: {"errorMessages":["You do not have the permission to see the specified issue.","Login Required"],"errors":{}}

Which I don't quite understand because I am logged in and I created the ticket.  I can edit it in JIRA.  ??

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. 

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 

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...

JiraPic.JPG

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

This is what I have set up on the non working one:

JiraPic2.JPG

How is this "web service request" IFTTT is configured? 

Suggest an answer

Log in or Sign up to answer
TAGS

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you