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

This widget could not be displayed.
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.

This widget could not be displayed.

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)

This widget could not be displayed.

Thanks Nic for your comment.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Tuesday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

220 views 1 3
Join discussion

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