How can I add a comment by using Jira API to closed issue?

I’m able to add a comment by using JIRA API to not closed issue but I need to add a comment to closed issue, and I’m getting “bad” request error.

3 answers

0 vote
Steven Behnke Community Champion Nov 05, 2015

If you are using the Default JIRA workflow, it has a property that prevents editing while you are in a Closed status. You must copy the Workflow, associate it with your project, and ensure that you can edit Closed issues by removing that property.

HI Steven,

Thanks for reply.

I got more questions for you.

  • Could you provide an example how it can be done programmatically by using c# and JIRA Rest API?
  • Does account needs to have an administrator credentials to work with Workflow?

1. It's the same code you use to post comments on non-closed issues 2. You need an admin account to alter the workflow to allow comments on closed issues (or create a new workflow to use instead)

Thanks Nic for your comment.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Sunday in Agility

You asked for it, so we delivered: images on issues have arrived

A picture tells a thousand words. And agility boards have just released their latest feature: cover images on issues – so now your board can tell a story at first glance. Upload attachmen...

134 views 1 10
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you