Comments
-
@Daniel Wester Done :)
-
Hello, What do you mean by "the attributes for the fields"? If you want to find issue fields you need to check the create, edit and view screens and also screens which are used in workflows for your project. It is a good practice (at least for me) to add a prefix with the project key to all screens which are used in the…
-
it is a warning, not a error. Just run it.
-
I think your script would look like this import com.atlassian.jira.component.ComponentAccessor import java.sql.Timestamp import com.atlassian.jira.issue.MutableIssue MutableIssue issue = ComponentAccessor.getIssueManager().getIssueByCurrentKey("EM-412") Timestamp time = new Timestamp(117, 11, 22,11, 11, 11, 0)…
-
If you are on Cloud then you could do it without an additional add-on. You could create a transaction to change the checkbox and put the Value Field condition for the transaction. If you are not on Cloud then I am afraid you need to use an add-on like Power Scripts or ScriptRunner.
-
Hello, It is possible. You would need to use an add-on for it like Power Scripts or Adaptivist ScriptRunner.
-
If you have Power Scripts add-on you could write a job with the following script for (string iKey in selectIssues("your jql query to get issues")) { %iKey%.resolutionDate = "your date"; } You can read more about Power Scripts here: https://confluence.cprime.io/display/TR If you have ScriptRunner add-on you could write a…
-
Kindly read the following guide https://confluence.atlassian.com/adminjiracloud/managing-project-roles-776636382.html#Managingprojectroles-project_role_add
-
Hello, You would need to use an add-on like Power Scripts or Adaptivist ScriptRunner.
-
You would need to write your own javascript and put it as web-resource in Scriptrunner https://scriptrunner.adaptavist.com/latest/jira/fragments/WebResource.html You can provide atl.general context for your javascript file.
-
Hello, The visibility of issues is handled by the browse issues permission in the project permission scheme. You could create a role "All tickets Viewer" and add the user, who can see all issues, to the role. Then you would grant the Browse issues permission to Reporter and All tickets Viewer role. I guess it would fulfil…
-
You can ceate a new project role but it will be visible in all projects. Roles are global for the whole Jira. If you change the name of an existing role, then the name of the role will change in all projects.
-
Hello, You can use cookie based authentication. In this case you authenticate only once. You can read more here: https://developer.atlassian.com/cloud/jira/platform/jira-rest-api-cookie-based-authentication/
-
Hello, Behaviours work only for the Create, Edit, View and Transition Screens. They do not work for the Link screen.
-
select b.pkey, a.lastUpdate from (select project, max(updated) lastUpdate from jiraissue group by project) a, project b where lastUpdate < now() - interval '6 month' and a.project = b.id
-
That is an example import com.atlassian.jira.component.ComponentAccessor def userList = ComponentAccessor.getUserUtil().getAllUsersInGroupNames(["jira-administrators"]) userList.each { log.error(it.getEmailAddress()) }
-
Нужно зайти в Applications -> Application Access. Там будет видно, какие группы считаются агентами. Нужно исключить ненужные группы
-
А с лицензией в меню Applications все хорошо?
-
Maybe you could get all users from the group and set users one by one? ComponentAccessor.getUserUtil(). getAllUsersInGroupNames(Collection<Group>)
-
If you have backups you can restore your system. If you have backups but you can not restore your system in production then you could restore it to another server. Then write a script to put all resolution dates into a file for the issues which were bulk edited. Then in production you could wirte a script which would read…
-
Hello, You can not do it with JQL. JQL returns issues, not projects. You should write your own service by developing a custom plugin or using such add-ons like Power Scripts or Adaptivist ScriptRunner. In this service you could do all the neccessary work which needs to be done on inactive projects. In Power Scripts your…
-
Hello, I am a bit confused about 2 user groups. You said that there are 2 users groups but in the end of your question you said there are defferent groups of lab managers and engineers. If you meant that you can divide users into Labs Managers and Engineers but there are multiple groups of users for Labs Manager and…
-
Hello, You should see the logs. You can find more information here: https://confluence.atlassian.com/jirakb/diagnosing-mail-and-mail-handlers-issues-229180314.html
-
It can be done. You have to create 4 number custom fields and a scripted field with a script like this import com.atlassian.jira.component.ComponentAccessor def csA = ComponentAccessor.getCustomFieldManager().getCustomFieldObjectByName("A") def csB = ComponentAccessor.getCustomFieldManager().getCustomFieldObjectByName("B")…
-
You know your requirements better :)
-
You could do it the following way 1. Create a number custom field. Let s say Attr1. 2. Filter all issues in the project which you need to move (project = yourProject). 3. Use bulk edit to set Attr1 to 1. 4. Move all issues from the required project using Bulk Edit (move operation). 5. Filter all issues with Attr1 = 1. 6.…
-
Epic Link is a field which stores a reference to an Epic. This field can not be set for Epics. That is why your query will never return any result.
-
Оксана, нужно проверить, что Вы являетесть сервис деск агентом. Нужно в user management зайти и посмотреть, что у Вашего пользователя есть Application Access Service Desk.
-
I think you could save the username and the password in a file somewhere in the server where your Jira instance is installed and read the file during your script execution. It would let you not to save password in your script which is not good considering that the script must be saved in a version control system.
-
You JQL query should be like this type = Epic OR "Epic Link" not in (XXXXXX-XX, YYYYYY-YY)