Comments
-
You can find an example of such a script here: https://community.atlassian.com/t5/Jira-Core-questions/Script-Runner-Transition-parent-issue-based-on-subtask-status/qaq-p/63722
-
Kindly make sure that Jira Software is installed in your Jira instance. You can go to cog item -> Applications and check if Jira Software is installed.
-
The problem is that Jira does not take data from the database. It takes data from indexes and indexes are built on the database data. The process of putting data into indexes from the database is called Reindexing. To update data in the database is an akward way. Better user Jira REST API to update issue fields:…
-
I do not know an existing plugin, but I know how to develop such a plugin. That is why you should look in the marketplace. Maybe it is available.
-
It is not possible out of the box.
-
You would need an add-on for it like Power Scripts, ScriptRunner, Automation for Jira, Workflow Toolbox.
-
If you have a solution, kindly post it as an answer and accept your answer. It will help other users.
-
Hello, Kindly have a look at Big Picture add-on: https://marketplace.atlassian.com/plugins/softwareplant.bigpictureenterprise/server/overview
-
If you want to write a script in Jira, then you would need an add-on like Power Scripts or ScriptRunner. If you do not want to buy add-ons, you can develop your own add-on. If you want to auto set some fields when a ticket is created, it is not necessary to write a script, you can use the Update Custom Field Post function,…
-
Kindly try to type: git commit -m "Initial Commit" If the command above does not work provide the error, which you can see in the terminal.
-
Hello, You would need to develop a plugin for it or use Power Scripts, Scriptrunner, Automation for Jira, which can help you with automation. Also kindly have a look at the Big Picture plugin. I think it has a similair functionality to what you want.
-
You need to edit permissions in a scheme. If these permissions are correct for several projects , then you can use the same permission scheme for these projects. If this set of permissions is unique, then you should create a new permission scheme.
-
Kindly have a look at my article on how to Jira Software functionality in Jira 7 https://community.atlassian.com/t5/Agile-articles/How-to-use-Jira-Software-functionality-in-a-Jira-plugin/ba-p/779854
-
I think you need an addon for it like ScrptRunner or JTricks
-
If you want to get user properties using Java Script, then you should use REST API. You can use GET /rest/api/2/user/properties You can find more info here: https://docs.atlassian.com/software/jira/docs/api/REST/7.6.1/#api/2/user/properties
-
It is strange error. I can not see a reason why it would be caused by the code. Could you try again?
-
Ok, try to do it this way. Install Rest Api Browser to your Jira instance. Then execute your POST method through the Rest Api Browser. It will show you the error.
-
No, you can not use behaviours because behaviours work only fo the Create, Edit, View and Transaction screens. They do not work for the log work screen. You could use JavaScript of course, but it is not a good approach.
-
You would need to use a plugin like Structure or Big Picture to see issues hierarchy.
-
Try to do it like this <dependency> <groupId>com.microsoft.sqlserver</groupId><artifactId>mssql-jdbc</artifactId><version>6.4.0.jre7</version><scope>compile</scope></dependency> Kindly make atlas-mvn clean package
-
How did you write this dependency in pom.xml?
-
You should add logging to your script and see in the logs, what object gives you a NullPointerException. It could be done like this import com.atlassian.jira.component.ComponentAccessor import com.atlassian.jira.issue.Issue Issue issue = issuedef customFieldManager = ComponentAccessor.getCustomFieldManager() // the…
-
You should create a version first with POST /rest/api/2/version and then you can set this version for an issue with PUT /rest/api/2/issue/{issueIdOrKey} And Jira always returns a message in JSON format after REST execution. How do you execute your REST call?
-
Hello, You can add User Properties in Cloud. Go to User Management and choose the required user. Then select the Edit Jira Properties menu:
-
You can develop a listener and listen for the Work logged event. Then you could make your logic there and handle the work log. But it would be invisible for the user. You can not return a result to the user from the listener.
-
You would need an Add-on like Power Scripts or ScriptRunner to accomplish this function.
-
That is right. If you have the Jira Work Time plugin, I guess Scriptrunner will not help.
-
If you have the ScriptRunner plugin, you could use the Hide UI Web fragment. You could choose the Log Work button and add the required condition for the Log Work button to be hidden.
-
I am also not sure about the VIP field, but you can try to create a queue with a JQL like this: VIP is not empty I guess, it will give you all VIP tickets.
-
Ah, I see. I do not have such a problem, because I make a new branch in my IDE and then when I am done, I push my new branch to Bitbucket. That is why pipeline works only on the modified branch for me.