Comments
-
import com.atlassian.jira.component.ComponentAccessor def prList = ComponentAccessor.getProjectManager().getProjectObjects()
-
Hello, When you update a field in a transition it is not the same as you update a field on the edit screen. When you edit a field on the edit screen the issue updated event is generated. In a transition you define yourself what kind of event will be generated. It can be the issue update event, it can be generic event, it…
-
I am 90% sure that listener will be faster. In my opinion the biggest problem about automation lite is that you need to define conditions by jql query. If your jql query begins to take long time for execution then you get into trouble. If your instance is small then everything is fine. If your instance grows then you may…
-
Try this not (status changed after -2d). You need to create a filter with this jql query and make subscription for groups to which you want to send Emails.
-
Hello, At the moment, permissions for downloading attachments can't be set. To disable attachment downloading you need to edit your velocity files. But it is not eligible for support by Atlassian. You can find more information in the following article…
-
Hello, I guess it is a feature not a bug. You can read more how to attach a screenshot to a comment here: https://community.atlassian.com/t5/Jira-questions/inline-images-with-comments/qaq-p/73639
-
Hello, You can not see the field in portal or Jira? If in Jira and you are sure that your configuration of the screen scheme is correct then try the following 1. Click the Configure Fields button at the top right of the screen. 2. Click All to show all fields.
-
Hello, You mean that you want to filter users who come from ldap or active directory user directory? Then you need to write a filter in user object filter field in the settings of your ldap or active directory user directory. How to write such a filter you can read here…
-
Hello, Kindly produce your code
-
Hello, I can not see any authentication to Jira in your code. How do you authenticate?
-
You mean you need to find people who have issues assigned in sprints and the sprints will be finished next week? Or you mean something else?
-
By default listener fires after the issue has been changed
-
Hello, I think you can not see it in a browser because rest is executed on the server. Put the first line in you rest api call( before String url) log.error("rest executed") and search for the number of these messages in atlassian-jira.log
-
If you have Adaptivist ScriptRunner then you can develop a validator. In the validator you can check if the user is in the Prod Team and if he is you let him use 4 values if not then you can raise an error if 4 values are selected.
-
Hello, What do you mean by Automation Rule? Is it a service desk rule or from a plugin? If from a plugin then from which one?
-
Hello, What is the message of the error?
-
Hello, The codition would look somthing like this import com.atlassian.jira.component.ComponentAccessor import com.atlassian.jira.security.roles.ProjectRoleManager import com.atlassian.jira.security.roles.ProjectRole def user = ComponentAccessor.getJiraAuthenticationContext().getLoggedInUser() def projectRoleManager =…
-
Put the following lines in pom.xml <plugin> <artifactId>maven-compiler-plugin</artifactId> <configuration> <source>1.8</source> <target>1.8</target> </configuration> </plugin> If you already have them but with different versions of source and target change the versions to 1.8
-
Hello, To be honest I do not quite understand what you want to accomplish. What do you mean by current assignee? If assignee has been changed then the current assigne equals to assignee. Or you want to save somwhere previous assignee?
-
Hello, What do you mean the status is not resolved? You mean to find issues which were created two days ago or more but status is not Resolved till now? Or you mean to find issues that have been in the same status for 2 days?
-
Hello, When you create a transition you must define the event which will fire during this transition. It a standard post function. There is also a standard post function called Update change history for an issue and store the issue in the database. If you order your event before the mentioned function then listener will…
-
Ok. So we need to search for all projects where the required user is a member. I guess what you mean by member is that the user is in a role for the project. There is no single REST function which would let you accomplish that. Instead you need to do several calls to REST API: 1. You get all projects. You can do it by…
-
Ok. So we need to search for all projects where the required user is a member. I guess what you mean by member is that the user is in a role for the project. There is no single REST function which would let you accomplish that. Instead you need to do several calls to REST API: 1. You get all projects. You can do it by…
-
Hello, If you want to reach this behavior you should not put the field on the edit screen. You should create a transaction which you can call "Change date" and attach a new screen to it which will contain only the date field. Then you create a condition on this transaction that the transaction should be shown if the field…
-
Hello, In the following line <span>getFieldById</span><span>(</span><span><span>"issuetype-field"</span></span><span>).</span><span>setReadOnly</span><span>(</span><span><span>true</span></span><span>)</span> What do you use for issuetyle-field? It must be like customfield_<id>. If you use the name of the custom field you…
-
Hello, Adding your reporting login to browse projects permission would solve the problem in case you do not have project security schemes. If you have project security scheme you need to add your reporting account to the security schemes as well.
-
Hello, You could create a field which would read values from an external source out of Jira(by Rest call or database call) then make a custom interface to manage the values in the external source. You can make such a field using nFeed plugin. Sounds like a lot of work. You could also make a custom interface in Jira which…
-
Hello, Change the if part to this if (dropDown.getValue() == "Art") { dropDown.setError("cannot choose art here") } else { DropDown.setError("") }
-
Hello, It is not available out of the box. You need to use the following plugin https://marketplace.atlassian.com/plugins/com.intenso.jira.queues-extension/cloud/overview
-
Hello, You need to use the following rest function rest/api/2/issue/createmeta?projectKeys=QA&expand=projects.issuetypes.fields But it does not tell you which fields are on the screen. It will just tell you what fields are defined for the project in the layout scheme.