Comments
-
I could not find UserInRole function in ScriptRunner. But I guess you can write your own JQL function. I think it is easier in the Power Scripts add-on.
-
It can not be 7.2.12 and Cloud. Your documentation is for Cloud. For Jira Server 7.2.12 you can read here: https://confluence.atlassian.com/adminjiraserver072/associating-field-behavior-with-issue-types-828787814.html
-
What do you mean by "admin built-in with a multi pages parameter"? Could you give a reference to it?
-
if you want to control visibility of issues you should use issue security schemes https://confluence.atlassian.com/adminjiraserver073/configuring-issue-level-security-861253265.html
-
Unfortunately I can not help you with such a script
-
There is no such JQL function. You would need to write your own JQL or maybe look at available add-ons. I checked Scriptrunner and I did not find a built-in function like this there.
-
Hello, You would pass a project id to your REST endpoint and then iterate over all issues in the project, find the issue with the minimum custom field value and return it. You can find the answer how to iterate over project issues here:…
-
I guess you are doing the right way. You have issue history and worklogs. Now you have to implement your logic. You need to connect statuses, assignee and worklog create time.
-
You can do it. You should setup a email handler. You can find more information here: https://confluence.atlassian.com/adminjiraserver075/creating-issues-and-comments-from-email-935391638.html
-
Your script should look like this import com.atlassian.jira.ComponentManager import com.atlassian.jira.issue.Issue import com.atlassian.jira.issue.comments.Comment import com.atlassian.jira.issue.comments.CommentManager import com.atlassian.jira.component.ComponentAccessor def commentManager =…
-
Then you should go to the project notification scheme and make sure that for the Issue Updated event the reproter is set. By default the reporter must be there after installation.
-
You are on the wrong screen. When you enter Cloud then go to Settings->Issues->Permission Schemes
-
What is your question? You mean that you do not want the reporter of an issue to receive mail? Then you should change the project notification scheme. You can read more here: https://confluence.atlassian.com/adminjiracloud/creating-a-notification-scheme-776636401.html
-
What do you mean by Product Backlog? the Backlog is available for Scrum and Kanban boards. It is just a state of an issue. Boards are just containers for issues. Issues appear in a backlog by a JQL query which you define for the board. You do not create issues for boards. You create issues for projects and then you define,…
-
I managed to solve the problem with behaviours in ScriptRunner 5.2.2 and 5.3.1. The behaviour script would look like this import com.onresolve.scriptrunner.runner.customisers.PluginModule import com.onresolve.scriptrunner.runner.customisers.WithPlugin import com.onresolve.scriptrunner.runner.ScriptRunnerImpl import…
-
You would need to write your own JQL function in ScriptRunner. But in my opinion it is a bit complicated in ScriptRunner. You can find more info here: https://scriptrunner.adaptavist.com/latest/jira/custom-jql-functions.html It would be much easier in Power Scripts but I guess you do not have the add-on.
-
It is not possible out of the box.
-
You can receive the current user with def user = ComponentAccessor.getJiraAuthenticationContext().getLoggiedInUser() then you can use ComponentAccessor.getGroupManager().isUserInGroup(user, "admin") || ComponentAccessor.getGroupManager().isUserInGroup(user, "heroes") That was for groups. For roles it will be like this…
-
You could use Issue Matrix add-on https://marketplace.atlassian.com/plugins/com.botronsoft.jira.issuematrix/server/overview
-
I guess you would need to put the Value Field conditions for all transitions. In the conditions you would compare the value of your custom field to the status to which each transition leads. For example. Let 's say you are in the "Backlog" status and you have two transitions from the status: one transition to In Progress…
-
Have a look at unreleasedVersions(project) JQL function https://confluence.atlassian.com/jirasoftwarecloud/advanced-searching-functions-reference-764478342.html#Advancedsearching-functionsreference-unreleasedVersionsunreleasedVersions()
-
I am not sure when it was added. but you could download Atlassian SDK, create a plugin and then execute atlas-run --version 6.4.5 And then have a look at the Jira instance. if the validator is there then enter a lower version, if not there, then enter a higher version.
-
What do you mean by "doing an update"?
-
You would need an add-on like Structure. https://marketplace.atlassian.com/plugins/com.almworks.jira.structure/server/overview
-
You can get info about a workflow by this query SELECT id, workflowname, creatorname, descriptor, islocked FROM jiraworkflows; but all info is saved in the descriptor field in xml format. You would need to parse the xml file.
-
Unfortunately, there are only two levels of hiearchy available.
-
If you create a post function. I think your script will look like this java.util.Date now = calendar.getTime(); java.sql.Timestamp currentTimestamp = new java.sql.Timestamp(now.getTime()) issue.setUpdated(currentTimestamp) issue.store() I did not try the code. There can be typos.
-
You should go to the board configuration and choose the Stories option in the swimlanes menu. If you have task and sub-task issuetypes then sub-tasks will be grouped under tasks.
-
Hello, I think you can use categories for labeling a project as critical. Kindly read the following article: https://confluence.atlassian.com/adminjiracloud/adding-assigning-and-deleting-project-categories-844500732.html
-
I also could not find the Change Password button. I guess it does not exists. I found a thread which were created later than the referenced by you documentation. https://community.atlassian.com/t5/Jira-questions/Set-user-passwords-in-Atlassian-Cloud/qaq-p/652142 I guess, the button was removed.