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
0
votes
0 answers

Adding a custom button beside Edit Permission button regarding user in Space tool section of a Confluence space

I have a requirement to add a custom button beside the user Edit permission button in the space tool section of confluence as mentioned in the below screenshot. (1.)need to add a button here I have tried with web item module, (2.) able to add only…
0
votes
0 answers

How to make an azure ad Graph API call in the existing users search field under Permissions in a Confluence server

I need to make some changes in user permission section of Space tools in confluence server. changes :I want to invoke an azure ad graph API at the search bar of the user permission section in space tools of Confluence. I am using Confluence Data…
0
votes
1 answer

Confluence 8.0 plugin, searchFilter deprecated / removed

With Confluence Version 8.0 the: import com.atlassian.confluence.search.v2.searchfilter.SiteSearchPermissionsSearchFilter; has been removed and the docs say: com.atlassian.confluence.search.v2.searchfilter (use the equivalent class that extends…
Gobliins
  • 3,848
  • 16
  • 67
  • 122
0
votes
0 answers

Atlassian Spring boot Jira Plugin gives 401 for internal rest request

I have created one Jira Plugin using spring boot and angular in front-end. when I uploading app to Jira Software it is getting upload and also user is getting authenticated but as I am using angular I have to forward it’s page to index.html which I…
user3458271
  • 638
  • 12
  • 31
0
votes
0 answers

atlas-create-jira-plugin throws Opcodes class missing

Good morning, I'm following these steps to create a Jira plugin: https://developer.atlassian.com/server/framework/atlassian-sdk/create-a-helloworld-plugin-project/ but when I run "atlas-create-jira-plugin" I'm getting this error: "Execution null of…
Eloi Serret
  • 139
  • 1
  • 1
  • 5
0
votes
0 answers

How to add a custom button on Jira UI in Users and Role section of every project?

As highlighted in the attached screenshot, I want to add a custom button in Users and Role section of all the existing projects in my Jira instance UI in between "Add users to a role" and "Users or groups" in the pop up that appears on clicking "Add…
0
votes
0 answers

Receiving error when performing transition although it works fine - validator postfunction

I am using scriptrunner postfunction and validator to perform 3 transitions back to back. The problem is that I receive an error message saying  [comment:Please, add a comment.] although a comment has actually been adde as you can see in the…
0
votes
0 answers

How to display error message from progressErrorCollection.getErrors().toString() in Jira screen, scriptrunner postfunction

I have an error message that is thrown when I try to execute a postfunction, the error message is:  org.ofbiz.core.entity.GenericTransactionException: Commit failed, rollback previously requested by nested transaction. You can see the error message…
0
votes
0 answers

Postfunction enforce 3 transitions back to back , 2nd transition is not working

I am trying to write some postfunction to execute some transitions back to back. I get the following error message when I click on the menu item for executing the 3 transitions back to back. I am supposed to transition from open to fixed, then from…
0
votes
0 answers

Is there an admin API(org level) in Atlassian to revoke a specific product access for a user?

The API provided in Atlassian documentation will revoke access from a user to all the products under their hood . For example: An user named Sarav uses Atlassian products jira,confluence,bitbucket. When the admin wants to revoke access to only…
0
votes
0 answers

REST endpoint working fine for in line script but failing when using script editor

I am using a REST endpoint in scriptrunner and here is the code that I am using. The code is working fine when using an in line script but fails when specifying the file in scriptrunner where the code lies as shown in the following picture:  import…
0
votes
0 answers

Jira REST endpoint redirected to error page

I am using a REST endpoint and here is my code: and here are some screenshots. The first screenshot shows the declaration of the condition and the denclaration of the Link: /rest/scriptrunner/latest/custom/callSubTaskCreator?issueId=${issue.id}. The…
0
votes
0 answers

How to import another class in Jira script editor in order to call a function declared in this class

Anyone knows how to import another class in Script Editor of Jira. I receive the following error: Although the file exists as you can see in the following screenshot:
0
votes
0 answers

MultipleCompilationErrorsException: startup failed: Compilation incomplete: expected to find class

I am using a REST endpoint in Jira and I am having three files in script editor that are reponsible for this REST endpoint. First, I have a REST_Create_Multiple_Subtasks.groovy file which is responsible for the REST endpoint. Here is its…
0
votes
1 answer

How to create a new log file for values in Jira

I am current using the following code for my Jira plugin, it is a fragment with a REST endpoint. Here is the code for my REST endpoint below: import groovy.json.JsonBuilder import groovy.transform.BaseScript import…