The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

JIRA API to add comment while we create a ticket at the same time.

Marija Ušakova
August 20, 2018

@Alexey Matveev 

How are you doing? Is there any JIRA api that we can use to create a ticket and comment at the same time. 

2 answers

2 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Answer accepted
Alexey Matveev
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
August 20, 2018

Hello @Marija Ušakova,

Unfortunately, there is no way to create a ticket and a comment at the same time. Why would you need to do it at the same time? Why you can not create a ticket and then a comment?

Marija Ušakova
August 21, 2018

Yes it is a weird requirement I'm facing Alex. :)

0 votes
Answer accepted
Brant Schroeder
Community Champion
August 20, 2018

Marija,

  You can use the JIRA API to create issues and add comments.  You can find documentation here: https://docs.atlassian.com/software/jira/docs/api/REST/7.6.1/

There are also plenty of examples in the documentation and in the community on how to accomplish what you are requesting.

Marija Ušakova
August 21, 2018

Thank you very much.