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
Highlighted

Getting 401 unauthorized while calling Issues.GetIsssuesFromJqlAsync method in c#

Deleted user Jun 14, 2019

while calling GetIsssuesFromJqlAsync  method in my c# code, I am getting the 401 unauthorized error.

 

Response Content: <html>

<head><title>Unauthorized (401)</title><!--[if IE]><![endif]-->
<script type="text/javascript" >
var contextPath = '';
var DeferScripts = { deferState: 'disabled' };
</script>
<script>
window.WRM=window.WRM||{};window.WRM._unparsedData=window.WRM._unparsedData||{};window.WRM._unparsedErrors=window.WRM._unparsedErrors||{};
WRM._unparsedData["com.atlassian.plugins.atlassian-plugins-webresource-plugin:context-path.context-path"]="\"\"";
WRM._unparsedData["com.atlassian.plugins.atlassian-plugins-webresource-rest:curl.cross-origin-resources"]="false";
WRM._unparsedData["jira.webresources:feature-flags.feature-flag-data"]="{\"enabled-feature-keys\":[\"jira.plugin.devstatus.smartcommits.dvcs.enabled\",\"nps.survey.inline.dialog\",\"jira.export.excel.enabled\",\"com.atlassian.jira.plugins.mail.internal.enabled\",\"sd.new.settings.sidebar.location\",\"re-enable.group.endpoints.jra-60287\",\"dvcs.connector.smartcommits.disabled\",\"unified.usermanagement\",\"com.atlassian.jira.projects.issuenavigator\",\"jira.issue.search.jql.indexprimary.enabled\",\"jira.issue.search.api.indexprimary.enabled\",\"com.atlassian.jira.projects.issue.summary.vignettes\",\"atlassian.aui.raphael.disabled\",\"fusion.dvcs.use_amq_for_executors.enabled\",\"com.atlassian.jira.config.CoreFeatures.PERMISSIONS_MANAGED_BY_UM\",\"com.atlassian.jira.projects.ProjectCentricNavigation.Switch\",\"com.atlassian.jira.config.CoreFeatures.ON_DEMAND\",\"atlassian.plugin.aci.enabled\",\"connect.no-applinks\",\"fusion.dvcs.use_amq_to_invoke_sync.enabled\",\"com.atlassian.portfolio.classicPlans.sunset\",\"com.atlassian.rm.portfolio.vertigo.issueloading.Database\",\"jira.baseurl.cdn.enabled\",\"fusion.bitbucket.rebrand\",\"com.atlassian.portfolio.integrations.ClassicPlans.disabled\",\"connect.authentication.oauth2.impersonation\",\"sd.email.mailbox.poppy.migration.poppyonly.enabled\",\"dvcs.connector.repositorydao.ao.enabled\",\"fusion.devstatus.devsummary.customfield.jql.enabled\"],\"feature-flag-states\":{\"jira.issue.search.jql.anonymize\":true,\"jira.feature.flag.board.issue.modal.labs\":true,\"com.atlassian.jira.plugins.mail.internal\":false,\"com.atlassian.jira.feature.flag.for.TestFeatureFlagResource\":false,\"jira.mail.default.mailstore.polling\":true,\"com.atlassian.jira.plugins.mail.size.check\":true,\"jira.instrumentation.laas\":false,\"jira.feature.rest.single.step.avatar.upload\":true,\"jira.feature.flag.board.polling\":true,\"issue.collector.cache.limiter\":true,\"jira.login.useBasicAuthFilter\":true,\"jira.ondemand.maintain.trusted.apps\":true,\"jira.mail.fake.default.mail.server\":false}}";
WRM._unparsedData["jira.webresources:simplified-ux-feature-flags.feature-flag-data"]="{}";
WRM._unparsedData["jira.webresources:default-comment-security-level.DefaultCommentSecurityLevelHelpLink"]="{\"extraClasses\":\"default-comment-level-help\",\"title\":\"Commenting on an Issue\",\"url\":\"https://confluence.atlassian.com/display/JIRACORECLOUD/Editing+and+collaborating+on+issues#Editingandcollaboratingonissues-addcommentsCommentingonissues\",\"isLocal\":false}";
WRM._unparsedData["com.atlassian.jira.jira-client-analytics-plugin:analytics-context-provider.client-analytic-descriptors"]="{\"analyticsResource\":{\"jira-core\":{\"events\":{\"issue.comment.added\":{\"trigger\":\"click #issue-comment-add-submit\",\"properties\":{\"comment-length\":\"value.length #issue-comment-add #comment\"}}}}},\"tenantId\":\"03940fb5-034c-4e09-b290-f17033af92a0\",\"env\":\"prod\"}";
WRM._unparsedData["jira.webresources:key-commands.shortcuts"]="[{\"moduleKey\":\"go-to-dashboard-kb-shortcut\",\"keys\":[[\"g\",\"d\"]],\"context\":\"global\",\"op\":\"goTo\",\"param\":\"/secure/Dashboard.jspa\"},{\"moduleKey\":\"browse-project-kb-shortcut\",\"keys\":[[\"g\",\"p\"]],\"context\":\"global\",\"op\":\"execute\",\"param\":\"var elem = jQuery(\\\"#browse_link\\\");\\n if (elem.length \u003e 0) {\\n window.location.href = elem.attr(\\\"href\\\");\\n }\"},{\"moduleKey\":\"issue-navigator-kb-shortcut\",\"keys\":[[\"g\",\"i\"]],\"context\":\"global\",\"op\":\"execute\",\"param\":\"var elem = jQuery(\\\"#find_link\\\");\\n if (elem.length \u003e 0) {\\n window.location.href = elem.attr(\\\"href\\\");\\n }\"},{\"moduleKey\":\"admin.quicksearch.dialog.shortcut\",\"keys\":[[\"g\",\"g\"]],\"context\":\"global\",\"op\":\"execute\",\"param\":\"JIRA.Shifter.show();\"},{\"moduleKey\":\"quicksearch\",\"keys\":[[\"/\"]],\"context\":\"global\",\"op\":\"moveToAndFocus\",\"param\":\"#quickSearchInput, #admin-quick-nav-field\"},{\"moduleKey\":\"create.issue\",\"keys\":[[\"c\"]],\"context\":\"global\",\"op\":\"moveToAndClick\",\"param\":\"#header .create-issue\"},{\"moduleKey\":\"shifter\",\"keys\":[[\".\"]],\"context\":\"global\",\"op\":\"execute\",\"param\":\"JIRA.Shifter.show();\"},{\"moduleKey\":\"help\",\"keys\":[[\"?\"]],\"context\":\"global\",\"op\":\"click\",\"param\":\"#keyshortscuthelp\"}]";
WRM._unparsedData["com.atlassian.plugins.atlassian-connect-plugin:dialog-options.data"]="{\"allJsVersion\":\"1.2.29\",\"dialogOptions\":{\"com.thed.zephyr.je__zephyr-feedback\":{\"header\":{\"value\":\"Help us improve Zephyr\"},\"width\":\"810px\"},\"com.thed.zephyr.je__zephyr-apikey\":{\"height\":\"340px\",\"chrome\":false,\"width\":\"700px\"},\"com.thed.zephyr.je__create-test\":{\"height\":\"0px\",\"chrome\":false,\"width\":\"0px\"},\"com.thed.zephyr.je__execute-test-operations\":{\"height\":\"400px\",\"chrome\":false,\"width\":\"620px\"},\"com.thed.zephyr.je__zephyr-adg-flag\":{\"height\":\"340px\",\"chrome\":false,\"width\":\"600px\"},\"com.exalate.jiranode__connection-intro\":{\"height\":\"324px\",\"width\":\"234px\"},\"com.thed.zephyr.je__zephyr-about\":{\"height\":\"340px\",\"chrome\":false,\"width\":\"700px\"},\"com.thed.zephyr.je__zephyr-je-test-execute\":{\"height\":\"400px\",\"chrome\":false,\"width\":\"620px\"},\"com.thed.zephyr.je__add-test-operations\":{\"height\":\"350px\",\"chrome\":false,\"width\":\"600px\"},\"com.thed.zephyr.je__zephyr-je-add-to-cycle\":{\"height\":\"350px\",\"chrome\":false,\"width\":\"600px\"}},\"inlineDialogOptions\":{},\"dialogModules\":{\"com.exalate.jiranode\":{\"connect-dialog\":{\"cacheable\":false,\"options\":{\"height\":\"300px\",\"header\":{\"value\":\"Connect to remote issue\"},\"width\":\"550px\"},\"key\":\"connect-dialog\"},\"exalate-dialog\":{\"cacheable\":false,\"options\":{\"height\":\"300px\",\"header\":{\"value\":\"Exalate the issue\"},\"width\":\"550px\"},\"key\":\"exalate-dialog\"},\"unexalate-dialog\":{\"cacheable\":false,\"options\":{\"height\":\"150px\",\"header\":{\"value\":\"Unexalate the issue\"},\"width\":\"550px\"},\"key\":\"unexalate-dialog\"}},\"stspg-jira-ops\":{\"login-dialog\":{\"cacheable\":false,\"options\":{\"height\":\"700px\",\"chrome\":false,\"header\":{\"value\":\"Statuspage Login\"},\"width\":\"600px\"},\"key\":\"login-dialog\"},\"create-incident-dialog\":{\"cacheable\":false,\"options\":{\"height\":\"100%\",\"chrome\":false,\"header\":{\"value\":\"Create Incident\"},\"width\":\"100%\"},\"key\":\"create-incident-dialog\"},\"update-incident-dialog\":{\"cacheable\":false,\"options\":{\"height\":\"100%\",\"chrome\":false,\"header\":{\"value\":\"Update Incident\"},\"width\":\"100%\"},\"key\":\"update-incident-dialog\"},\"project-configure-dialog\":{\"cacheable\":false,\"options\":{\"height\":\"700px\",\"chrome\":false,\"header\":{\"value\":\"Configure\"},\"width\":\"600px\"},\"key\":\"project-configure-dialog\"},\"ops-setup-flow\":{\"cacheable\":false,\"options\":{\"height\":\"700px\",\"chrome\":false,\"header\":{\"value\":\"Configure\"},\"width\":\"600px\"},\"key\":\"ops-setup-flow\"},\"change-project-statuspage\":{\"cacheable\":false,\"options\":{\"height\":\"700px\",\"chrome\":false,\"header\":{\"value\":\"Change Project Statuspage\"},\"width\":\"600px\"},\"key\":\"change-project-statuspage\"}},\"com.atlassian.jira.emcee\":{\"in-product-install-dialog\":{\"cacheable\":false,\"options\":{\"size\":\"large\",\"chrome\":false},\"key\":\"in-product-install-dialog\"}}}}";
WRM._unparsedData["com.atlassian.plugins.atlassian-connect-plugin:jira-date-picker-widget.config"]="{\"dateFormat\":\"%e/%b/%y\",\"dateTimeFormat\":\"%e/%b/%y %I:%M %p\",\"timeFormat\":\"12\",\"firstDay\":1,\"useISO8601WeekNumbers\":false}";
WRM._unparsedData["com.atlassian.product.fabric.pf-jira-confluence-integration-plugin:app-switcher-initial-resources.cloud-id"]="\"03940fb5-034c-4e09-b290-f17033af92a0\"";
WRM._unparsedData["com.atlassian.product.fabric.pf-jira-confluence-integration-plugin:app-switcher-initial-resources.is-anonymous"]="true";
WRM._unparsedData["jira.webresources:dateFormatProvider.dateFormat"]="{\"meridiem\":[\"AM\",\"PM\"],\"eras\":[\"BC\",\"AD\"],\"months\":[\"January\",\"February\",\"March\",\"April\",\"May\",\"June\",\"July\",\"August\",\"September\",\"October\",\"November\",\"December\"],\"monthsShort\":[\"Jan\",\"Feb\",\"Mar\",\"Apr\",\"May\",\"Jun\",\"Jul\",\"Aug\",\"Sep\",\"Oct\",\"Nov\",\"Dec\"],\"weekdaysShort\":[\"Sun\",\"Mon\",\"Tue\",\"Wed\",\"Thu\",\"Fri\",\"Sat\"],\"weekdays\":[\"Sunday\",\"Monday\",\"Tuesday\",\"Wednesday\",\"Thursday\",\"Friday\",\"Saturday\"]}";
WRM._unparsedData["com.atlassian.servicedesk.frontend-webpack-plugin:data-provider.webpack-meta"]="{\"locale\":\"en-US\",\"publicPath\":\"//d32cx7or6mhlek.cloudfront.net/atl-vertigo--shard-jira-prod-us-4--1--jres.atlassian.net/s/-t2deah/b/11/ce3e8e11c36d97d6f46f08d27ed9717725e5a764/_/download/resources/com.atlassian.servicedesk.frontend-webpack-plugin:webpack-async-chunks/\"}";
WRM._unparsedData["com.atlassian.applinks.applinks-plugin:applinks-common-exported.applinks-help-paths"]="{\"entries\":{\"applinks.docs.root\":\"https://confluence.atlassian.com/display/APPLINKS-080/\",\"applinks.docs.diagnostics.troubleshoot.sslunmatched\":\"SSL+and+application+link+troubleshooting+guide\",\"applinks.docs.diagnostics.troubleshoot.oauthsignatureinvalid\":\"OAuth+troubleshooting+guide\",\"applinks.docs.diagnostics.troubleshoot.oauthtimestamprefused\":\"OAuth+troubleshooting+guide\",\"applinks.docs.delete.entity.link\":\"Create+links+between+projects\",\"applinks.docs.adding.application.link\":\"Link+Atlassian+applications..."}}";

 

 

0 comments

Comment

Log in or Sign up to comment
TAGS
Community showcase
Published in Jira Software

How to create Jira issus from Excel file?

When to use CSV importer When managing your processes in Jira, there are many occasions where you need to create a lot of tasks. Creating them one by one will cost you a lot of time and effort and i...

4,529 views 22 32
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