Comments
-
Hello, Which plugin do you have to write a script? If you have Adaptivist Scriptrunner, you could write a listener. The listener would catch the update issue event and checked if the required field changed. If it ischanged, then you could change the other field. Read more information about listeners here:…
-
Could you execute a simpler script var client = new RestClient("http://jira2.test.com/rest/rest/api/2/project"); var request = new RestRequest(Method.GET); request.AddHeader("Authorization", "Basic dGVzdDp0ZXN0"); request.AddHeader("content-type", "application/json"); IRestResponse response = client.Execute(request); Your…
-
Hello, I think your user does not belong to a group which has Browse Users global permission. Read more how to solve the problem here https://confluence.atlassian.com/jirakb/jira-user-cannot-add-watchers-to-an-issue-390496933.html
-
I see. You do not want to develop a plugin. You want to use an existing plugin which would let you add a button. You can use Adaptivist Scriptrunner plugin. You can read more how to add it here https://scriptrunner.adaptavist.com/4.3.9/jira/fragments/WebItem.html#_simple_link_example The place where the button should…
-
Hello, You can add a button to the toolbar by developing a plugin. There is a tutorial for Jira Server version https://developer.atlassian.com/jiradev/jira-platform/guides/other/tutorial-adding-menu-items-to-jira Though I do not understand what you mean by referencing a custom field.
-
I forgot to ask. Do you use basic authentication in Jira? Sorry, I had to begin with the question.
-
Hello, Are you looking for workflowManager.getNextStatusIdForAction(Issue issue, int actionId)
-
You need to provide authenications data in the header. You should add to the header Authorization parameter with value "Basic <encodedBase64String>" encodedBase64String= Base64.encode("username:password"). Read more here about it…
-
Hello, Your user does not have permissions to create an issue in the production environment? Your user have a different password in production? You did not set rest call as POST in Soap UI? You entered wrong URL?
-
Hello, You add fields to the screen which are used for issue. You need to be Jira Administrator to perform this configuration. You have to find which screen is used for the issue type as the create screen and add component field there. More about screen configuration you can read here:…
-
Go to cog item-> add-ons then find scripted fields section in the vertical menu. You can configure scripted fields from there
-
It should be Warranty >= 14d It will add 14 days to now(). Now() is not needed
-
Also you can limit the problem at least to the project level, if you do reindexing of a project and have a look If inconsistency disappeared.
-
We had the same issue when we added our custom code to Jira which threw NullPointerException(NPE). In this case the reindexing did not take place and lucene index was inconsistent. Maybe it is your case as well, look for NPE in the atlassian-jira.log. Actually this situation could be caused by any unhandled exception in a…
-
Hello, I am afraid you should write your custom Javascript for that. For easier management of the javascript you could use Jsincluder plugin. It is free. You can read more here about the plugin https://marketplace.atlassian.com/plugins/ru.mail.jira.plugins.jsincluder/server/overview BUT changing out of the box interface…
-
Hello, Concerning worklog Tempo stores worklogs in the same table as Jira stores. That is why you can use standard Jira rest api to query the worklog which would be api/2/worklog. Or you could use Tempo Rest api/rest/tempo-timesheets/3/worklogs/. You can read more about Tempo rest api here…
-
Hello, What is exactly your dropdown? Could you get options for the dropdown from a rest api call?
-
Hello, You could get all changes for the issue been updated by the following code def customFieldManager = ComponentAccessor.getCustomFieldManager()def change = event?.getChangeLog()?.getRelated("ChildChangeItem").find {do something}
-
Hello, You should copy the JQL query used in the queue (go to Edit queue and then choose advanced). Then go to Issue navigator (issues->search) and paste the copied JQL query. If you need to filter queries only for the previous month then you should add to your JQL query the following conditions: AND created >…
-
Hello, I think you do not need to copy a comment. In my opinion better solution would be to write a Scripted field which would show you the last comment. You can do it, for example, with Adaptivist scriptrunner. The code would be something like this for the Scripted field…
-
Hello, In Service desk there are two types of notifications: customer notifications and agent notification. I guess you checked only agents notifications. But I think the problem is with customer notifications. Customer notifications are setup per project. Go to Projects settings->Customer notifications and make sure that…
-
Hello, I am sure it is possible But why would you do that? Why do not you just make all you want to do in the first listener?
-
Sure, because you use it incorrectly. DoExecute works before your test.vm was shown and you chose a file to upload. How is it suppose to get the file you are trying to reference if you have not sent it yet? I will try to change your code later and post here.
-
I wrote you in the beginning what to do with ide. If you have done it then it should work by now. Comment all lines in your TestRun execute method except return "test". Build the package and install. You should see the test.vm view.
-
To be able to dig into more details, I need your pom.xml, atlassian-plugin.xml and cxf.xml
-
Hello, Sorry for late reply. I just tried it. All I changed was scope from compile to provided atlassian-spring-scanner-annotation <dependency> <groupId>com.atlassian.plugin</groupId> <artifactId>atlassian-spring-scanner-annotation</artifactId> <version>${atlassian.spring.scanner.version}</version> <scope>provided</scope>…
-
I never used Apache cxf. But I guess it is looking for some kind of Spring configuration. This configuration must be in an xml format. Now all that is needed to define what must be in the xml file and put it in your plugin so that apache.cxf could read it.
-
Hello, Yes, it is expected behavour. It will create issues from all available emails in your mail box.
-
Hello, No, you can not do it. Boards do not store issues, they just represent their state. That is why if issue status changed, then it will change on all boards.
-
Your rest call will return the same information. If you do not want to write a program then you could use, for example, Easybi plugin to get the information you need.