# \#csharp

**URL:** https://community.developer.atlassian.com/tag/csharp/959.md

[Latest](https://community.developer.atlassian.com/latest.md) · [Categories](https://community.developer.atlassian.com/categories.md) · [Tags](https://community.developer.atlassian.com/tags.md)

---

## [Is there a C# example for Jira.CreateRestClient that uses API Token?](https://community.developer.atlassian.com/t/is-there-a-c-example-for-jira-createrestclient-that-uses-api-token/49986)

<div class="topic-metadata">

**Author:** [@zfischer](https://community.developer.atlassian.com/u/zfischer)\
**Replies:** 4\
**Last updated:** [November 11, 2024, 11:14am UTC](https://community.developer.atlassian.com/t/is-there-a-c-example-for-jira-createrestclient-that-uses-api-token/49986 "2024-11-11T11:14:17Z")

</div>

I know there are some examples for HttpRequest/HttpResponse…However I would like to see if there are any code samples that show how to use CreateRestClient with the API token in place of (URL,UserName,Password) Basic au…

---

## [Method not found RestSharp - C#](https://community.developer.atlassian.com/t/method-not-found-restsharp-c/82509)

<div class="topic-metadata">

**Author:** [@AmitKantiBarua](https://community.developer.atlassian.com/u/AmitKantiBarua)\
**Replies:** 1\
**Last updated:** [August 12, 2024, 12:05pm UTC](https://community.developer.atlassian.com/t/method-not-found-restsharp-c/82509 "2024-08-12T12:05:30Z")

</div>

We have an existing project that uses Jira SKD to get card info from Jira board and it has been developed by another developer. Recently we faced an exception while working with it as follows: Method not found: 'Void Re…

---

## [C# -Error-to-Defect Automation in Jira from API](https://community.developer.atlassian.com/t/c-error-to-defect-automation-in-jira-from-api/74736)

<div class="topic-metadata">

**Author:** [@SilviaTircolea](https://community.developer.atlassian.com/u/SilviaTircolea)\
**Replies:** 1\
**Last updated:** [November 17, 2023, 2:02am UTC](https://community.developer.atlassian.com/t/c-error-to-defect-automation-in-jira-from-api/74736 "2023-11-17T02:02:18Z")

</div>

Hello can someone help me with this? I’m trying to develop a service that on the API when looking for a specific order and is failed can allowed the user to trigger a issue/defect with all the Custom Fields mandatory in…

---

## [C# .Net Atlassian SDK example token access](https://community.developer.atlassian.com/t/c-net-atlassian-sdk-example-token-access/69525)

<div class="topic-metadata">

**Author:** [@Frigo2010](https://community.developer.atlassian.com/u/Frigo2010)\
**Replies:** 0\
**Last updated:** [May 18, 2023, 9:44am UTC](https://community.developer.atlassian.com/t/c-net-atlassian-sdk-example-token-access/69525 "2023-05-18T09:44:10Z")

</div>

Hi All Does anyone have examples of using the Atlessian SDK and C# in conjunction with the access token? Everything I can find is relatively outdated and doesn’t run properly My goal is to create a ticket with a .Net …

---

## [Get description, comments in plain text](https://community.developer.atlassian.com/t/get-description-comments-in-plain-text/69369)

<div class="topic-metadata">

**Author:** [@HarshModhiya](https://community.developer.atlassian.com/u/HarshModhiya)\
**Replies:** 5\
**Last updated:** [May 16, 2023, 4:06pm UTC](https://community.developer.atlassian.com/t/get-description-comments-in-plain-text/69369 "2023-05-16T16:06:30Z")

</div>

Hi, Does anyone have any idea how can we get descriptions and comments as plain text in issues? Thanks

---

## [Can't connect to my jira (cloud) using Atlassian.SDK](https://community.developer.atlassian.com/t/cant-connect-to-my-jira-cloud-using-atlassian-sdk/68854)

<div class="topic-metadata">

**Author:** [@RandyKnight](https://community.developer.atlassian.com/u/RandyKnight)\
**Replies:** 2\
**Last updated:** [April 26, 2023, 11:53pm UTC](https://community.developer.atlassian.com/t/cant-connect-to-my-jira-cloud-using-atlassian-sdk/68854 "2023-04-26T23:53:54Z")

</div>

I recognize that this is not an official SDK but since Atlassian doesn’t have one for C# thought I’d post this here. I am trying to use the Atlassian.SDK in an Azure function project and it won’t even connect. This i…

---

## [C# Rest Client get the value of a Customfield?](https://community.developer.atlassian.com/t/c-rest-client-get-the-value-of-a-customfield/52002)

<div class="topic-metadata">

**Author:** [@TimothyBusbice](https://community.developer.atlassian.com/u/TimothyBusbice)\
**Replies:** 7\
**Last updated:** [January 19, 2023, 8:47am UTC](https://community.developer.atlassian.com/t/c-rest-client-get-the-value-of-a-customfield/52002 "2023-01-19T08:47:07Z")

</div>

I have burned up 2 days trying to figure out how to code in C# the means to find a value in a Custom Field. using Atlassian.Jira; var jira = Jira.CreateRestClient(url, username, password, settings); var test = jira.Pr…

---

## [How to create an issue in Jira project via C# API? URL is probably wrong](https://community.developer.atlassian.com/t/how-to-create-an-issue-in-jira-project-via-c-api-url-is-probably-wrong/64663)

<div class="topic-metadata">

**Author:** [@GeneSewell](https://community.developer.atlassian.com/u/GeneSewell)\
**Replies:** 5\
**Last updated:** [December 29, 2022, 8:00pm UTC](https://community.developer.atlassian.com/t/how-to-create-an-issue-in-jira-project-via-c-api-url-is-probably-wrong/64663 "2022-12-29T20:00:50Z")

</div>

Hi, I’m just a little out of my comfort zone - hoping someone can nudge me towards a solution. I’ve read many posts on the topic, yet my code still doesn’t actually create a new issue. I believe I’m unclear on how to …

---

## [Post full-width content](https://community.developer.atlassian.com/t/post-full-width-content/64128)

<div class="topic-metadata">

**Author:** [@nathanstephane](https://community.developer.atlassian.com/u/nathanstephane)\
**Replies:** 0\
**Last updated:** [December 7, 2022, 1:20pm UTC](https://community.developer.atlassian.com/t/post-full-width-content/64128 "2022-12-07T13:20:31Z")

</div>

Hey there. I’m trying to create a page with full width layout on confluence using its API. I added the following parameters but nothing happends. It still creates the page as centered fixed width. metadata: { proper…

---

## [Seeking Trello API Developer - .net C#](https://community.developer.atlassian.com/t/seeking-trello-api-developer-net-c/58743)

<div class="topic-metadata">

**Author:** [@GlennWilliams](https://community.developer.atlassian.com/u/GlennWilliams)\
**Replies:** 4\
**Last updated:** [June 7, 2022, 7:19pm UTC](https://community.developer.atlassian.com/t/seeking-trello-api-developer-net-c/58743 "2022-06-07T19:19:27Z")

</div>

I’m looking for someone to help me stub out a c# solution. I’ve got GET working, Can’t get POST working.

---

## [Error trying to receive access\_token](https://community.developer.atlassian.com/t/error-trying-to-receive-access-token/58724)

<div class="topic-metadata">

**Author:** [@tommythongsythavong](https://community.developer.atlassian.com/u/tommythongsythavong)\
**Replies:** 0\
**Last updated:** [May 31, 2022, 5:30am UTC](https://community.developer.atlassian.com/t/error-trying-to-receive-access-token/58724 "2022-05-31T05:30:09Z")

</div>

I am trying to get an access token through OAuth2.0 but everytime I try to do it, I just receive the error below. Error:: “Cannot use client\_credentials with a consumer marked as “public”. Calls for auto generated consu…

---

## [Jira CreateIssue exception C#](https://community.developer.atlassian.com/t/jira-createissue-exception-c/57241)

<div class="topic-metadata">

**Author:** [@AndreiF](https://community.developer.atlassian.com/u/AndreiF)\
**Replies:** 5\
**Last updated:** [April 5, 2022, 12:33pm UTC](https://community.developer.atlassian.com/t/jira-createissue-exception-c/57241 "2022-04-05T12:33:42Z")

</div>

Hello everyone, I hope I am not reposting this issue. I am using Atlassian SDK and trying to create a new Issue via code. Every request works fine but not the create jira Issue (user credentials available can interrogate…

---

## [The method GetRepositoryPullRequestsAsync is not working (C#)](https://community.developer.atlassian.com/t/the-method-getrepositorypullrequestsasync-is-not-working-c/56891)

<div class="topic-metadata">

**Author:** [@MarkMindlin](https://community.developer.atlassian.com/u/MarkMindlin)\
**Replies:** 0\
**Last updated:** [March 23, 2022, 3:05am UTC](https://community.developer.atlassian.com/t/the-method-getrepositorypullrequestsasync-is-not-working-c/56891 "2022-03-23T03:05:20Z")

</div>

Hi, I found a C# library GitHub - lvermeulen/Bitbucket.Cloud.Net: C# client for Atlassian Bitbucket Cloud How to use GetRepositoryPullRequestsAsync(BitbucketWorkspaceID, RepoName)? I have an AppPasswordAuthentication …

---

## [Support required in fixing the below Issue](https://community.developer.atlassian.com/t/support-required-in-fixing-the-below-issue/54052)

<div class="topic-metadata">

**Author:** [@ShivkumarAmuda](https://community.developer.atlassian.com/u/ShivkumarAmuda)\
**Replies:** 0\
**Last updated:** [November 30, 2021, 8:29am UTC](https://community.developer.atlassian.com/t/support-required-in-fixing-the-below-issue/54052 "2021-11-30T08:29:12Z")

</div>

Hi, Im connecting to JIRA REST API using C# httpWebrequest for creation of issue but im getting the below error.looking for your support. {“errorMessages”:\[“Can not instantiate value of type \[simple type, class com.atl…

---

## [How to retrieve customfieldoptions for a custom field](https://community.developer.atlassian.com/t/how-to-retrieve-customfieldoptions-for-a-custom-field/53495)

<div class="topic-metadata">

**Author:** [@RaejshKumar](https://community.developer.atlassian.com/u/RaejshKumar)\
**Replies:** 1\
**Last updated:** [November 8, 2021, 2:54pm UTC](https://community.developer.atlassian.com/t/how-to-retrieve-customfieldoptions-for-a-custom-field/53495 "2021-11-08T14:54:45Z")

</div>

Hi, we are integrating JIRA with one of our custom application, where from the application we need to create a Issue using JIRA API (using c#), while creating the issue we have several custom fields with multi select op…

---

## [Not able to update status and comment field and also other field also](https://community.developer.atlassian.com/t/not-able-to-update-status-and-comment-field-and-also-other-field-also/52512)

<div class="topic-metadata">

**Author:** [@Tuhiramsingh](https://community.developer.atlassian.com/u/Tuhiramsingh)\
**Replies:** 0\
**Last updated:** [October 1, 2021, 8:20am UTC](https://community.developer.atlassian.com/t/not-able-to-update-status-and-comment-field-and-also-other-field-also/52512 "2021-10-01T08:20:52Z")

</div>

Hi Team, i am not able to update status of issue . my code in given blow in image.

---

## [How i can update some field also status of the issue using C# HttpClient in Jira](https://community.developer.atlassian.com/t/how-i-can-update-some-field-also-status-of-the-issue-using-c-httpclient-in-jira/52369)

<div class="topic-metadata">

**Author:** [@Tuhiramsingh](https://community.developer.atlassian.com/u/Tuhiramsingh)\
**Replies:** 0\
**Last updated:** [September 27, 2021, 7:56am UTC](https://community.developer.atlassian.com/t/how-i-can-update-some-field-also-status-of-the-issue-using-c-httpclient-in-jira/52369 "2021-09-27T07:56:59Z")

</div>

Please provide the solution of how i can update status the issue.

---

## [Reading images (attachments) via API not working using C#](https://community.developer.atlassian.com/t/reading-images-attachments-via-api-not-working-using-c/50273)

<div class="topic-metadata">

**Author:** [@warren.levy](https://community.developer.atlassian.com/u/warren.levy)\
**Replies:** 7\
**Last updated:** [July 28, 2021, 5:38pm UTC](https://community.developer.atlassian.com/t/reading-images-attachments-via-api-not-working-using-c/50273 "2021-07-28T17:38:49Z")

</div>

Hi I am able to successfully use the Confluence API to read the contents of a page. For a page that has an embedded image, I understand that it is saved in Confluence as an attachment and I’m able to get the URL of the …

---

## [Jira API v2 bad request using special caracteres](https://community.developer.atlassian.com/t/jira-api-v2-bad-request-using-special-caracteres/50190)

<div class="topic-metadata">

**Author:** [@anon44241886](https://community.developer.atlassian.com/u/anon44241886)\
**Replies:** 3\
**Last updated:** [July 28, 2021, 10:38am UTC](https://community.developer.atlassian.com/t/jira-api-v2-bad-request-using-special-caracteres/50190 "2021-07-28T10:38:18Z")

</div>

Hello! I’m using the Jira API v2 to create an issue. I’m facing a trouble when I send a string with special caracteres on description filed. Here the example that is working for me when I send a POST method to rest/api…

---

## [Cant make updates to Custom Field items on cards](https://community.developer.atlassian.com/t/cant-make-updates-to-custom-field-items-on-cards/49417)

<div class="topic-metadata">

**Author:** [@IRV](https://community.developer.atlassian.com/u/IRV)\
**Replies:** 1\
**Last updated:** [July 2, 2021, 11:35pm UTC](https://community.developer.atlassian.com/t/cant-make-updates-to-custom-field-items-on-cards/49417 "2021-07-02T23:35:34Z")

</div>

Hi, I’m creating an app using .NET in c# to create cards on a Trello board but I can’t make updates to the custom fields. I already scoured the API documentation and the internet but cannot make it work. The code that…

---

## [Format jira markup to HTML and vice versa, C#, Atlassian.SDK](https://community.developer.atlassian.com/t/format-jira-markup-to-html-and-vice-versa-c-atlassian-sdk/47458)

<div class="topic-metadata">

**Author:** [@ChristofferJonJensen](https://community.developer.atlassian.com/u/ChristofferJonJensen)\
**Replies:** 3\
**Last updated:** [June 30, 2021, 6:40pm UTC](https://community.developer.atlassian.com/t/format-jira-markup-to-html-and-vice-versa-c-atlassian-sdk/47458 "2021-06-30T18:40:57Z")

</div>

Hi I am using C#, Visual studio 2019 and the nuget package “Atlassian.SDK” v 12.4.0. Everything is working fine, creating Issues, editing Issues, creating subtasks etc. The only thing i cannot workout, is how to format…
