JIRA throwing "Internal Server Error" after editing an Issue

Hello there,

i'm trying to edit two customfields via REST API in JIRA. I did not have any problems until i got this Internal Server Error Message.

Here's what i'm sending via "PUT" request (just for one customfield)

 

foreach (var s in beobachterInKopie)
            {
                objJira.JiraJson = "{                                                                         " +
                                        "\"update\": {                                                        " +
                                            "\"customfield_13156\": [{                                        " +
                                                            "\"add\": {\"key\": \"" + s + "\"}                           " +
                                                         "}]                                                  " +
                                                    "}                                                        " +
                               "}";
                response = objJira.manipulateIssue();
            }

 

I'm not facing any problems with the code, just can not handle that Error message somehow? What am i doing wrong here? Or does the admin of the project (JIRA) need to unlock something? Can not find anything online concerning this problem either...

1 answer

Hi Maximlian,

Please check logs to find out the actual problem. There may be a problem in your put method at the backend.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Sep 18, 2018 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...

26,458 views 2 7
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