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
2 answers

Setter Injection with @ComponentImport

Hi I'm trying to modify a Confluence Plugin to check every Network request against the OutboundWhitelist, however the plugin is written in a way where adding it into the constructor breaks quite a few things and causes quite a headache. I wanted to…
1
vote
1 answer

How to detect if a merge (from a pull request) will result in no files being modified?

I have created a repository hook on Bitbucket that automatically creates a pull request from one branch to another (and merge it) when some specific conditions are fulfilled. I would like to detect the case where the result of the merge is that no…
tigrou
  • 4,236
  • 5
  • 33
  • 59
1
vote
0 answers

VSCode with Bitbucket and JIRA

I’m having issues linking my JIRA and Bitbucket accounts to my VSCode. I’ve downloaded the Atlassian extension and followed the steps provided here: https://support.atlassian.com/bitbucket-cloud/docs/get-started-with-vs-code/ However, my Atlassian…
1
vote
1 answer

How can you deploy a bitbucket-plugin (already built as jar) to the server via terminal?

We run a Bitbucket Server on version 7.21 and have recently developed a Plugin for it. Since this plugin finally reached a stable Version we wanted to integrate it into our cd/ci pipeline (bamboo). We can build the plugin via bamboo build plan…
1
vote
0 answers

Structured data in confluence

is there a way to use structured data for confluence pages or even decouple the data from the view and access only the data by an API? Are there any solutions without using any plugins? Thank you and kind regards
1
vote
0 answers

NoClassDefFoundError on com.sun.org.apache.xalan.internal.xsltc.trax package in my OSGi maven plugin

I'm trying to parse WSDL files using the EasyWSDL library on my (atlassian) maven plugin project. I keep getting this error when I try to parse the file and it fails when the project tries to reach the TransformerFactoryImpl class from said "xalan"…
1
vote
0 answers

Simple REST endpoint and fragment not working Script function failed on issue: issue: PIE-68635, user: mouh, fieldId: __init__, file:

I am using a really simple REST endpoint and its corresponding fragment and it is not working for me.  The fragment I created is the following:  Here is the error that I get printed in the log:  2022-08-17 00:00:40,405+0200…
1
vote
0 answers

Cannot create a fragment with a corresponding REST endpoint in Jira

I am trying to create a custom web item that navigates to a link when clicking on it. Here is a screenshot of the way in which I have created the custom web item:  I have also defined a REST endpoint as you can see in the following…
1
vote
2 answers

JQLParseException: Cannot execute JQL query in ScriptRunner to print number of issues having a specific value for the summary field

I am trying to execute some code in script runner to know how many issues have a certain value as a summary. The code should be super easy and straightforward but I am running into a JQLParseException. I am looking for all issues with value "aa" for…
1
vote
0 answers

OSGI plugin compile between different Java versions

Problem in short: Compiling Java 8 (Atlassian plugin) code and having issues with Java 9 compiled 3rd party libraries I have faced this problem multiple times and have worked around by avoiding upgrading any 3rd party library or using older version…
Saurabh Gupta
  • 363
  • 3
  • 6
  • 17
1
vote
0 answers

Table Grid addRows with Java API error in Jira

In Jira, I want to use addRows function with Java API in Scriptrunner, provided by Table Grid Next Generation plugin, but, I can't use beacuse of an error, which is not caused by syntaxis problem, since I take the example from the recomended code…
1
vote
0 answers

How to use Jira.CreateOAuthRestClient from C# code?

I have downloaded Atlassian SDK from visual studio nuget manager. There is a method public static Jira CreateOAuthRestClient(string url, string consumerKey, string consumerSecret, string oAuthAccessToken, string oAuthTokenSecret,…
1
vote
0 answers

Jira spring application plugin not accessing angular assets folder

I am new to Jira and I have created one application and her I have used atlassian-scanner and also I have included angular project everything is working but when any rest request is getting called from main.js it is not working, not sure what is…
user3458271
  • 638
  • 12
  • 31
1
vote
0 answers

How to stop loading of Post servlet on Page reload?

I'm new to web development and currently trying to build a custom Jira Plugin, where I'm rendering velocity template files on UI for Get and Post Servlet requests. On UI, we are loading a velocity template file to render the Form which consist of a…
1
vote
3 answers

Is there any way to add components to jira issue using python jira client?

I was working on a project where I have to update jira issue fields like components , epic links,etc. I am using jira python client(https://pypi.org/project/jira/) to do this task. ticketObj =…