Comments
-
Hello, I am not sure I understood your question. If you can not create a sprint, when one is already active, then you should turn on the parallel sprint feature: Cloud https://confluence.atlassian.com/jirasoftwarecloud/using-parallel-sprints-797737030.html Server…
-
Hello, I guess it would be like this: import com.atlassian.jira.component.ComponentAccessor def customFieldName = "your custom field name" def cf = ComponentAccessor.getCustomFieldManager().getCustomFieldObjectByName(customFieldName) if…
-
I think there is a problem with database encoding. are you sure it is Unicode? Did you create your database with this command? CREATE DATABASE jiradb WITH ENCODING 'UNICODE' LC_COLLATE 'C' LC_CTYPE 'C' TEMPLATE template0;
-
Could you show your logs again?
-
Did you connect your new database to your Jira instance? You can find more info here: https://confluence.atlassian.com/adminjiraserver073/connecting-jira-applications-to-a-database-861253039.html
-
Hello, JQL can return only issues. You should create a filter to select issues, required by you. Then add the FiIlter Result Gadget for your dashboard. Select the filter, which you created, in the dashboard setting and among other fields, also choose the Created and Resolved fields. You will see the information you need.
-
Hello, Kindly have a look at this KB: https://confluence.atlassian.com/jira/retrieving-the-jira-administrator-192836.html
-
Could you provide the response json? When you make a request, besides the error you also get a json back.
-
@Vladislav Danylenko You should install the Power Scripts add-on: https://marketplace.atlassian.com/apps/43318/power-scripts-for-jirascript-automation?hosting=cloud&tab=overview
-
You are welcome!
-
Try like this: import com.atlassian.jira.component.ComponentAccessor def groupManager = ComponentAccessor.groupManager def userUtil = ComponentAccessor.userUtil def userManager = ComponentAccessor.userManager def usersToRemove = ["exampleUser1","exampleUser2","exampleUser3","exampleUser4","exampleUser5"] //User Names def…
-
Hello, Try like this: import com.atlassian.jira.component.ComponentAccessor import java.util.Calendar def issue = ComponentAccessor.getIssueManager().getIssueObject("IM-587166") def cf = ComponentAccessor.getCustomFieldManager().getCustomFieldObjectByName("Start Date") Calendar c = Calendar.getInstance(); // this takes…
-
Hello, I think it should be : project = "XXX" AND issuetype = Problem AND status = Open AND created > -15m
-
Hello, What is your Jira version?
-
def ticketOwnerCf = customFieldManager.getCustomFieldObjectByName("Ticket Owner") def stanNameCf = customFieldManager.getCustomFieldObjectByName("stanme") issue.setCustomFieldValue(stanNameCf, issue.getCustomFieldValue(ticketOwnerCf)) def user = ComponentAccessor.getJiraAuthenticationContext().getLoggedInUser()…
-
Hello, Your last lines are from the Behaviour functionality of ScriptRunner. You can not use it in post functions. def ticketOwnerCf = customFieldManager.getCustomFieldObjectByName("Ticket Owner") def stanNameCf = customFieldManager.getCustomFieldObjectByName("stanme") issue.setCustomFieldValue(stanNameCf,…
-
Kindly read this info on Rest Api about versions: https://docs.atlassian.com/software/jira/docs/api/REST/7.11.0/?_ga=2.55210795.1671597994.1531726353-1659643416.1506407535#api/2/version
-
Hello, That is how Jira works. Statuses are global enitites. They are not tied to a project. If you change the name of a status in one project, the name of this status will be changed in all projects, which use the same status.
-
@Steve Behnke gave you a link to the ScriptRunner plugin. Here is a link to Power Scrpts just to expand your choices: https://confluence.cprime.io/display/TR/Make+a+custom+field+required+based+on+another+custom+field
-
Hello, You can create a custom field, which must appear if the Any-Other option is chosen. Then you can use the Power Scripts Live Fields or ScriptRunner behaviours to show or hide the field.
-
You are welcome!
-
Here is a guide https://confluence.atlassian.com/adminjiraserver071/connecting-jira-applications-to-postgresql-802592176.html
-
Hello, You can not do it with JQL. JQL returns a list of issues. You could create a scripted field with such plugins as the Power Custom Fields plugin or the ScriptRunner plugin. Or you can see this info in the history tab of the detail issue view.
-
You have a problem with the database. Try to reinstall Jira from scratch
-
It is ok. You can get the issue summary in a listener like this: event.issue.getSummary()
-
You can write pure Java in the script. You imported the class. Now you can work with it as you want.
-
Yes, it seems like you do not have the com/ibm/team/repository/common/TeamRepositoryException class in your jar
-
You are welcome!
-
Hello, Try to write it like this: if (cFieldValue.toString() == "Security") { def assignee = userManager.getUserByKey("i849194"); issue.setAssignee(assignee); } else if (cFieldValue.toString() == "Operations") { def assignee = userManager.getUserByKey("i826121"); issue.setAssignee(assignee); } else if…
-
Kindly make sure that you followed this guide: https://confluence.atlassian.com/adminjiraserver073/installing-java-861253016.html