Questions tagged [atlassian-plugin-sdk]

the Atlassian plugin tag is for questions related to the Atlassian plugins SDK from the company Atlassian

the Atlassian plugin tag is for questions related to the Atlassian plugins SDK from the company Atlassian

222 questions
1
vote
1 answer

Using @Consumes annotation on Rest API call giving 500 Internal Server Error

I am trying to build a custom build plugin using Atlassian sdk framework and in that I have developed a custom build Rest API to update data stored in database. I am invoking the rest API using AJAX call from JavaScript file as given below: …
1
vote
1 answer

Is there a way to import a Bamboo Spec file via the REST API?

I currently try to automate the process of creating a new Bamboo linked repository and start the scan. I've already looked over the documentation of the REST API, tried to generate a new plan and enabling a scan, but that didn't work. I also tried…
Jan
  • 93
  • 3
  • 8
1
vote
0 answers

Is there a way to update Bitbucket plugin without restarting Bitbucket?

I want to make changes to Bitbucket Server Repository Hook for Mirroring (https://github.com/ef-labs/stash-hook-mirror), then remove original and install the updated version. However, after making such change, Bitbucket starts giving…
Basil
  • 981
  • 1
  • 8
  • 20
1
vote
1 answer

How to use JavaScript in Velocity file from Webwork1 module?

I have an Atlassian SDK webwork1 module with its view: The AI Config Plugin
FalseScience
  • 197
  • 2
  • 17
1
vote
0 answers

BigPicture app data Jira migrating from server to cloud

we are moving, due to new Atlassian policy, from Jira Server to Jira Cloud - we didn't find any way to migrate BigPicture data (projects, settings) plugin to the Jira Cloud. Does somebody face the same problem - is there any workaround solutions?
1
vote
1 answer

Getting null project key in a Jira Cloud App sprint_started webhook

I'm developing a Jira Cloud Add on that will receive sprint related events: "modules": { "webhooks": [ { "event": "sprint_started", "url": "/sprints/started?project={project.key}&id={project.id}" }, { …
codependent
  • 23,193
  • 31
  • 166
  • 308
1
vote
1 answer

How can I perform a password grant to get Auth token for Jira Software API?

We're working to get the Auth token for a user from Jira. This Auth token will be used to make API calls to get the Issues from the Jira platform for the users (my agents). To get this Auth token, I'm getting the username & password of my agent,…
1
vote
1 answer

How to initialize atlassian jira IssueService?

In production the com.atlassian.jira.bc.issue.IssueService is injected in construction but how to mock it in unit tests? production code: class myObject { IssueService issueService public myObject( IssueService issueService, ...) { …
wykopowiedz
  • 71
  • 2
  • 12
1
vote
2 answers

Atlassian bitbucket plugin maven compile error

I have plugin that worked with BitBucket version 5.2.2 and I want to update it to support BitBucket version 6.8.0. After updating my pom.xml as below when I try to run mvn compile I face error for dependency: pom.xml:
S R
  • 674
  • 2
  • 18
  • 45
1
vote
0 answers

How can I speed up page load times while developing a Confluence macro with the Atlassian SDK? batch.js and batch.css taking up to 50 seconds

I've gone through the Confluence "Hello World" tutorial (https://developer.atlassian.com/server/framework/atlassian-sdk/create-a-confluence-hello-world-macro) and have a working macro. But every page refresh takes up to 50 seconds, due to batch.css…
Ben
  • 11
  • 3
1
vote
1 answer

Unsatisfied dependency when try using active objects with jira plugin

Hi i try to add activeobjects to jira plugin. All, i think, according to atlassian-springscanner manual. Webwork.java @Scanned public class WebWork extends JiraWebActionSupport { private ConfigurationStorageService configurationStorage; …
1
vote
1 answer

How to get list elements of jira custom field with c#?

I'm trying to get elements of custom fields from JIRA.I want to add these elements to windowsform combobox. I can get id and name of custom fileds but I need to get element of dropdonwlist. The customfields are project spesific. I've been tried code…
1
vote
2 answers

Add custom field to Jira search query using Atlassian.SDK

I am using the Atlassian.Jira NuGet package in my web app. I can successfully query Jira using built in fields for example Project, ResolutionDate etc. but I cannot use a custom field. I have a custom field named "Organizations" and I want to add…
1
vote
0 answers

How to fix: AtlassianHostUser is null in Jira cloud plugin

How to fix: AtlassianHostUser is null in Jira cloud plugin. My controller looks like this @Controller @IgnoreJwt public class MainController { private final StorageService storageService; @Autowired public MainController(StorageService…
MrKumar
  • 476
  • 3
  • 10
1
vote
1 answer

Call Java Class from JIRA Web Panel

How to call a JAVA class from a Web Panel in Jira with velocity? I want to create a right panel that can toggle a button to callback a java class. templates/random-indicator.vm:
BrunoMartinsPro
  • 1,646
  • 1
  • 24
  • 48