Comments
-
There is no event like clone issue that is why are unable to distinguish a cloned issue from a manually created issue. You could distinguish it by a link, for example. If so you would need an add-on like Power Scripts or Adaptivist ScriptRunner. If you have Power Scripts then your script for a post-function would look like…
-
You should change the browse issues permission in the project permission scheme. The user who should not see the project must not be granted this permission. I think the best way to manage permissions with project roles. You grant the browse issues permssion to a project role. Then for each project you define users or…
-
Unfortunately I can not recreate your example in my Jira. In my Jira I have no errors and the current user is the user under whom I log in.
-
import com.atlassian.jira.component.ComponentAccessor def currentUser = ComponentAccessor.getJiraAuthenticationContext().getLoggedInUser() log.error("Current user: " + currentUser) if (currentUser != null) { def allowedUser = ComponentAccessor.groupManager.getGroupNamesForUser(currentUser).contains("AllowedGroup")…
-
Hello, It is possible. You could write your own plugin or use such plugins as Power Scritps, Adaptivist ScriptRunner.
-
Could you run the script I provided. In my case I get the user under which I am authenticated to Jira.
-
It would be like this (project in (Team1, Team2, Team3) AND status in ("Ready for QA", "In QA/Testing", "Done") ) OR (project = QA and status = Open) ORDER BY Rank ASC
-
I think the problem is with the currentUser because you execute your script under anonymous user.
-
Could you change the script to this one import com.atlassian.jira.component.ComponentAccessor def currentUser = ComponentAccessor.getJiraAuthenticationContext().getLoggedInUser() log.error("Current user: " + currentUser) def allowedUser =…
-
If you have Power Scripts you could write your own JQL function. You can find more info here: https://confluence.cprime.io/display/JJUPIN/JQL+Support
-
You can try something like this import com.atlassian.jira.component.ComponentAccessor; import com.atlassian.jira.security.roles.ProjectRoleManager; def projectRoleManager = ComponentAccessor.getComponent(ProjectRoleManager.class) def currentUser = ComponentAccessor.getJiraAuthenticationContext().getUser(); def adminRole =…
-
If you want to user REST API then you should: 1. Get all projects with GET /rest/api/2/project https://developer.atlassian.com/cloud/jira/platform/rest/#api-api-2-project-get 2. Iterate over all projects and get component lead for each project GET /rest/api/2/project/{projectIdOrKey}…
-
I think I understood your question. You mean that it is not on the view screen unless you chose a value for the field. If so then it is how custom fields behave. They can be seen on the view screen if there is a value. If there is no value, then it will be hidden. That is how Jira works.
-
It is possible but you d better use Power Scripts Live Fields or Adaptivist Scriptrunner behaviour otherwise you would need to write javascript code.
-
If you want to send a email then you would need implement something like this Email email = new Email("dieter@home.at"); email.setFrom(fromStr); email.setSubject("Hello"); email.setMimeType("text/plain"); email.setBody("Body Text"); Multipart multipart = new MimeMultipart("mixed"); MimeBodyPart attachPart = new…
-
I think it would be too much work to do. You should not change Jira UI that much.
-
You can not add the reports to dashboards. Try to look for similair gadgets or add-ons.
-
You need to add the following lines to the head tag of your vm template <meta name="decorator" content="atl.admin"> <meta name="admin.active.section" content="admin_plugins_menu/sint_admin_section/YOUR_WEB_ITEM_LINK"/>
-
What kind of reports do you have?
-
Try to write like this import com.atlassian.jira.component.ComponentAccessor def currentUser = ComponentAccessor.getJiraAuthenticationContext().getLoggedInUser() def allowedUser = ComponentAccessor.groupManager.getGroupNamesForUser(currentUser).contains("AllowedGroup") jiraHelper?.project?.key != "TARGETPROJECT" ||…
-
I think the problem is with {MailAttachment a -> ${it.filename} What are you trying to do with the line?
-
Hello, You can not choose Reproter for User Type. But you could use the "If Matches" condition and then choose Current User for the Reporter field.
-
You can set the notification scheme for the project as follows: Issue Commented: request participants (you can find the field in the Use Custom Field Value option), assignee, watchers
-
Hello, You would need to create two field configurations. One with wiki style comment and one with default text renderer. Then you can link the second field configuration to the Improvement issue type and the first field configuration to all other issue types.
-
You could use an add-on like Backbone Issue Sync For Jira to synchronize issues https://marketplace.atlassian.com/plugins/com.k15t.backbone.backbone-issue-sync/cloud/overview
-
It is not possible to do it via JQL. But you could do it using Jira REST API GET /rest/api/2/issue/{issueIdOrKey} . You can find more info here: https://developer.atlassian.com/cloud/jira/platform/rest/#api-api-2-issue-issueIdOrKey-get
-
You should check the dbconfig.xml file if your Jira connects to the right database server. If no, find the last backup of the file.
-
You would need to use GET /rest/api/2/search. You can find info here: https://developer.atlassian.com/cloud/jira/platform/rest/#api-api-2-search-get
-
It would be like this import com.atlassian.jira.component.ComponentAccessor import com.atlassian.jira.issue.MutableIssue MutableIssue issue = ComponentAccessor.getIssueManager().getIssueObject(10102L)