Comments
-
Hello, When you hover on a transition there will be the url address of the transition in the bottom of your browser. There will be something like this /WorflowUIDispatcher.jspa?id=xxxxx&action=xx That would be the id.
-
Yep, I guess it treats is as a string not as a field name
-
Hello, I guess your Jira Software users do not have browse projects permission for your service desk project.
-
I look at all available contexts in Adaptivist Scriptrunner. There is the fragment locator functionality which shows you all available contexts. You can read more here https://scriptrunner.adaptavist.com/5.0.2/jira/CustomisingUI.html#_usage
-
Hello, You could use Back Bone Issue Sync for Jira. The plugin can synchronize issues between different Jira instances. It can synchronize by HTTP, email and files. You can read more about the plugin here: https://marketplace.atlassian.com/plugins/com.k15t.backbone.backbone-issue-sync/cloud/overview
-
It is strange. Try like this issue.setCustomFieldValue(cf, (Object) optionsToSelect) What is your Scriptrunner version?
-
What is your Jira version?
-
Hello, I guess you need to set it like this import com.atlassian.jira.component.ComponentAccessor import com.atlassian.jira.ComponentManager import com.atlassian.jira.issue.fields.CustomField import com.atlassian.jira.issue.IssueManager import com.atlassian.jira.issue.MutableIssue import…
-
Hello, Try to write it like this issueFunction in expression("", "\"date - field 1\" < dateField2")
-
Hello, You can try this one import com.atlassian.jira.component.ComponentAccessor import com.atlassian.jira.security.login.LoginManager def loginManager = ComponentAccessor.getComponent(LoginManager.class); ComponentAccessor.getUserManager().getAllUsers().each{ it-> if (loginManager.getLoginInfo(it.getKey()) ==null ||…
-
Yes, it is lost. Are your Component Leads the same in all projects? It all depends on the requirements. Of course you can synchronize Components. You would need to write a program. It could be in Adaptivist Scriptrunner, Power scripts or your custom plugin. But you would have a code which you have to mantain.
-
Hello, Can you use Adaptivist Scriptrunner or you need a javascript code? In Scriptrunner you can use behaviours and you do not need to write any code. You just add a behaviour, then add the comment field to the behaviour and mark the comment field as hidden. That would be all you have to do. It would be hidden on all…
-
Hello, As far as I understand you have Adaptivist scriptrunner. If your Jira is not cloud, then you can use Scriptrunner behaviours to accomplish the requirement. You can read more about behaviours here: https://scriptrunner.adaptavist.com/5.2.1/jira/behaviours-overview.html
-
And it must be <meta name="decorator" content="atl.admin"> not <meta content="admin" name="decorator" />
-
Could you add <meta name="admin.active.section" content="admin_plugins_menu/<yoursectionkey>/<yourwebitemkey>"/> below the <meta content="admin" name="decorator" /> line.
-
Hello, You would need a script like this import com.atlassian.jira.component.ComponentAccessor; import com.atlassian.jira.issue.ModifiedValue; import com.atlassian.jira.issue.util.DefaultIssueChangeHolder; def issueManager = ComponentAccessor.getIssueManager() def issueLinkManager = ComponentAccessor.getIssueLinkManager()…
-
Hello, I guess it is either a resolution field, then you can search resolution = Rejected or status field, then you can search status = Rejected
-
Hello, There is the Assinable User permission in the project permission scheme. You must grant this permission to the users which you want to see in the Assignee field. I guess right now all users are granted this permission. You could for example grant this permission to a role in your project and include in this role…
-
status changed from Open to Close DURING (startOfWeek(-1), endOfWeek(-1))
-
Hello, You should use versions. You can read more about versions here https://confluence.atlassian.com/adminjiraserver071/managing-versions-802592484.html
-
15 means days if you want 9 days it would be 9*24*60*60*1000 9d*24hh*60mm*60ss*1000
-
import com.atlassian.jira.component.ComponentAccessor import java.sql.Date import java.sql.Timestamp import com.atlassian.jira.issue.util.DefaultIssueChangeHolder import com.atlassian.jira.issue.ModifiedValue def issue = ComponentAccessor.getIssueManager().getIssueByCurrentKey("issuekey") def csDate1 =…
-
Error 504 means that the result was not returned in the specified time. I guess you need to enter some limits. For example limit it by date /rest/tempo-timesheets/3/worklogs?dateFrom=2017-11-19
-
That is example for the JQUERY //This creates a page in a space.var username = "admin";var password = "admin";var jsondata = {"type":"page", "title":"My Test Page", "space":{"key":"TST"}, "body":{"storage":{"value":"<p>This is a new page</p>","representation":"storage"}}}; $.ajax ({ type: "POST", url:…
-
I guess it is a Tempo plugin field and it relates to worklogs, not to issues. You would need to use Tempo Rest Api to get the information. Try to use http://{JIRA_BASE_URL}/rest/tempo-timesheets/3/worklogs/ You can read more about REST API here https://tempo.io/doc/timesheets/api/rest/latest/
-
Hello, I also did not find such REST call. But you can pass authentication in headers. Yes, you would pass it with every REST call but it would do the job.
-
Hello, You could use Automation for Jira addon. You would have to create a rule which would trigger on issue transition. Then you would check that the status is Resolved and add two actions: create an issue and transition issue. You would need a Pro version of this addon. You can read more here…
-
Hello, When you pass fixVersions you should pass like this "fixVersions": [ { "name": "1.0" } ] User name parameter, not id
-
Hello, Is it on the Create and Edit screen? If so, the most probable reason is that you custom field does not have a value for the issue. If a custom field does not have a value then it will not be shown on the view screen. Set a value for the custom field and it will appear on the view screen.
-
Hello, There is no such functionality in Jira Software or Jira Core or Jira Service desk. Macros are only for Confluence.