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

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

C# post new comment into issue

Dear all,

we are developing a simple desktop application using C# (visual studio 2019). We are installed the Atlassian SDK v12.1.1 (developed by Federico Silva Armas) from NuGet.

At the moment works: I can ask for one issue, get description, comments and so on, but the point is when we try to send a new comment inside of this issue, because one error occurs: Unable to add comment due to missing author field. generated from  'System.InvalidOperationException' in Atlassian.Jira.dll

 

we are following the documentation at

https://bitbucket.org/farmas/atlassian.net-sdk/src/b4dee0050fd5d31f1b237c59113355137d1dc477/docs/how-to-use-the-sdk.md

 

Have you some idea to fix this stupid problem?

 

Thanks in advance

1 answer

1 accepted

0 votes
Answer accepted

Dear all,

finally I found the solution

 

I must use the Comment class to create a new comment and then use the  issue.AddCommentAsync() method

 

Thanks for your help and your time

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bitbucket

New improvements to user management in Bitbucket Cloud 👥

Hey Community! We’re willing to wager that quite a few of you not only use Bitbucket, but administer it too. Our team is excited to share that we’ll be releasing improvements throughout this month of...

3,741 views 10 16
Read article

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