Discussions
-
access Asset object attributes in postfunction
Hi I want to access attribute values in an Assets object i.e. address details for an email or store in a text field. I am using JMWE at the moment but could also try Scriptrunner if there is a solution there. I can see my object using {{ issue | insightFieldValue("customfield_10076") | first | field("label") }} But I want…
-
How can you add a scriptrunner scripted field to a transition screen
I have created a scripted field based on the content of a text field. This is to show information as read-only on a transition screen. The field works and I can see it on the issue under Scripted Fields. But it is not showing up as a field that can be added to a transition screen. Is this possible? Are there any other ways…
-
Managing the number of billable users in Atlassian Access
We are migrating DC to Cloud and have an estimated 1400 users for Jira/Confluence. We want to user Atlassian Access synced to our LDAP but we have 13000 potential users. Re the info here: https://support.atlassian.com/security-and-access-policies/docs/understand-authentication-policies/#What-is-a-nonbillable-policy My…
-
Scriptrunner - client must be authenticated to access this resource
Hi I'm converting my admin scripts from server to cloud format where possible I've got hung up on the message in the title when running in the script console. Script below. I've refreshed browsers, logged out and in again. Tried in Safari and Chrome. I have admin rights in the cloud instance. Something obvious I'm missing…
-
Set Asset issue field in post function script
Hi I need to set an Asset field value for a team in a post function. But I'm struggling to find a syntax to set the value. Should be the asset id or guid. where 10010 is the issue custom field put('/rest/api/2/issue/' + issue.key ) .header('Content-Type', 'application/json') .body( [ fields: [ issuetype : [ id: taskType ],…
-
Atlassian teams and JQL
Hi is there a JQL syntax to query if a user is in an Atlassian Team? Using the issues value for the team field? I can see the issues by project = "IT Service Desk" and "Team[Team]" = b416af00-ce4e-4b80-90f2-b6f027d65bb2-1 But my users need the equivalent of project = "IT Service Desk" and currentUser()…
-
Jira Expression, Scriptrunner validator, Is Comment Internal?
Hi Is there a Jira expression syntax that allows me to check the type of comment entered on a transition screen. In different scenarios I want to check it is internal or a Response to Customer is a JSM workflow.
-
is it possible to format text in an Adaptvist Cloud scripted field
I am trying to replicate a server scripted field on cloud with returned colour code values e.g. Low in green, High in red using HTML I am trying use an RTF field but I'm not sure of the syntax or if this is possible. I've tried ADF but the format is being rejected (i've tried removing the '\n's) def body =…
-
Scriptrunner web panel - how to display as collapsed
Hi I'm adding a webpanel to the issue view using Scriptrunner. It has been added as a sctiprunner fragment - all good. How can I ensure the panel is collapsed by default until the user expands it?
-
Scriptrunner email post-function issue URL
Hi I want to send an email using Scriptrunner Email Post Function. The email needs to contain the URL of the issue. Is there a built in method to do this? or do I have to form the link manually with Base URL / project code etc. https://blah.com/browse/CSD-14300
-
How to search for issues by Asset
Is there a JQL syntax for searching for issues by Asset value. I want run a JQL in an automation rule to find all issues with the same value for an Asset field as the triggering issue. I've tried Site = {{issue.Site}} But I'm not getting any results. There a several issues that should match. What would the syntax be in the…
-
Does an issue transitioned by automation rule fire post-functions
I have an automation rule that fires on sub-task activity. One of the actions is to transition the parent task. If a path exists to the target status, will it perform the transition available and fire the post-functions? It's not clear from to docs whether not its the case. This raises a further question - if there is more…
-
JSD reporting issues by channel
I would like to write a user report that shows issues by Channel. I can see the Channel in the issue detail view but it doesn't appear as field for reporting. I'm not able to track down a reason for this. There are some change requests for the feature but they are quite old. Seem like an obvious requirement to me. Regards…
-
APi call works in Postman but not in Scriptrunner console
Whilst working out the syntax for calling the Assets API in cloud I have hit an anomaly that is blocking progress. In Postman I can make this API call, https://api.atlassian.com/jsm/assets/workspace/<workspaceid>/v1/object/278 using basic auth with my userid and my generated API token, I get the expected Asset object…
-
How to access Asset data in a validator, JSM issue create
I want to validate a JSM request using scriptrunner in the create step. But I'm struggling to get it to work. I have the following to check the id of an Asset field is the value e want and to also check a second dependent field is populated. (issue?.customfield_12411.filter(it => it.objectId == "608").length > 0) &&…
-
Scriptrunner adding web section to navigation bar
Hi I want to add menu to our navigation bar which will navigate to creating a service desk issue. I have followed the notes on creating a web section and web item using script fragments but I am not seeing a new menu item and can't see what I've missed. Anyone used script runner web fragments? Screen shots of web section…
-
cloud migration The CSV file used as a reference for updating users is not up to date.
I am getting this error after a set of test migrations "The CSV file used as a reference for updating users is not up to date." I have duplicated users reported but I can't download the CSV list of user - no link provided. Has anyone got a workaround for this?
-
How can I get the time logged using smart values in Automation
Hi I'm looking to obtain the total time spent in seconds. None of the options I've found will give me that result. {{issue.timetracking.timespent}} returns 2h 56m format {{issue.timetracking.timespent.seconds}} invalid {{worklog.timeSpentSeconds}} return a list of values 1800, 5400, 1500, 60, 300, 300, 1200…
-
This app is not compatible with your Confluence instance
Hi Can someone explain why I'm getting this message? I am running some cloud migration tests on trial licences. I had installed confluence on AWS ubuntu with an apache reverse proxy. I used the executable bin installer and applied a data centre trial license. version 8.0.3. Although it is clustering is off and is running…
-
How to report typos and grammatical errors
Hi Is Atlassian interested in reports of typos or grammatical errors (English) in the documentation? Is there a ticket path to report them/make suggestions? I'm reading through the ITSM Technical Sales docs and finding quite a few. Keeps snagging the OCD in me :-)
-
Jave version for Jira on ec2 linux
I want to run Jira with the installed JVM. But I get the error below. (my linux knowledge is pretty minimal) Before I go down the rabbit hole, Is it possible to run under Java version 19? And how to set the environment variable? ( I can google this just hoping for a quick answer)
-
Friday question - problem entering comments
Hi This has been driving me nuts for months but I haven't had time to address it. I can't type Jira into Jira !!! When typing the word Jira it won't let me type a space and move on. I have to type Jiraa and then go back and remove the last character. Can't remember when it started happening but a while back. Anyone out…
-
Confluence PDF export file names
Hi Since upgrading Confluence from 7.9 to 7.13 we have noticed that PDF export file names no longer contain the page name as part of the file name. Anyone else noticed this? Is it configurable? Tom
-
Cannot see sub-task of an issue in cloud
we are in the middle of migration testing, cross checking issues. We are unable to find the sub-task list panel or equivalent for issues that have sub-tasks. I we missed something obvious? The subtask exists and show its relation to the parent in the title. But there is no link shown from the parent to the subtask. Is…
-
Roadmaps - sharing configuration
Hi I have set up a roadmap to track a long running project. For readability I set up colour coding by component. However I have now seen that the configuration is not shared when other users view the roadmap i.e. they see no colours. Is there an option to to share the view settings with other users? It is a project based…
-
Users reported with duplicate email but only one exists
We are getting a list of duplicate email users reported when migrating our user population to Cloud using ACMA. Some are correct but there are examples where we can only find one user with the email address. We have checked the cwd_user table and only one exists. In some cases the user does have a second entry but the…
-
Kudos app
Hi Our HR has been looking into service desk options and on this page https://www.atlassian.com/itsm/esm/hr-automation-best-practices they came accross a Give Kudos section which they would really like to use. Does anyone know where that came from? Was it built for the demo system? There is a plugin but it looks different.…