Title: postFunctionUpdateProjectRoleFromUserPickerField.groovy not working on Jira 8.15 · Issue #4 · sparxsys/ScriptRunner-Scripts · GitHub
Open Graph Title: postFunctionUpdateProjectRoleFromUserPickerField.groovy not working on Jira 8.15 · Issue #4 · sparxsys/ScriptRunner-Scripts
X Title: postFunctionUpdateProjectRoleFromUserPickerField.groovy not working on Jira 8.15 · Issue #4 · sparxsys/ScriptRunner-Scripts
Description: Thanks for your tutorial. Since Jira upgraded to 8.15, jira username and key are not the same value. So when we use addActorsToProjectRole(Collection
Open Graph Description: Thanks for your tutorial. Since Jira upgraded to 8.15, jira username and key are not the same value. So when we use addActorsToProjectRole(Collection
X Description: Thanks for your tutorial. Since Jira upgraded to 8.15, jira username and key are not the same value. So when we use addActorsToProjectRole(Collection<String> actors, ProjectRole projectRole, ...
Opengraph URL: https://github.com/sparxsys/ScriptRunner-Scripts/issues/4
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"postFunctionUpdateProjectRoleFromUserPickerField.groovy not working on Jira 8.15","articleBody":"Thanks for your tutorial.\r\n\r\nSince Jira upgraded to 8.15, jira username and key are not the same value.\r\nSo when we use `addActorsToProjectRole(Collection\u003cString\u003e actors, ProjectRole projectRole, Project project, String actorType, ErrorCollection errorCollection)` to add actors to project.\r\nIt's not working. \r\n\r\nBecause `actors - is a list of strings (e.g. user keys or group names) that the RoleActor impl should be able to handle.`\r\n\r\nSolution:\r\nUse the following code to get actors may work.\r\n`pmActors.add(projectManagerValue.getKey().toString())\r\npsActors.add(projectSponsorValue.getKey().toString())`\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n","author":{"url":"https://github.com/streamelody","@type":"Person","name":"streamelody"},"datePublished":"2021-03-23T11:07:56.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/4/ScriptRunner-Scripts/issues/4"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:a3698c9b-04a3-8b71-2ceb-178c577e085d |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 80C4:3DBDEA:394738:48907D:697FD532 |
| html-safe-nonce | b11d8d5670fe63de4e921a776d06cda579b17ce833630a7b1d19e5e08b984830 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MEM0OjNEQkRFQTozOTQ3Mzg6NDg5MDdEOjY5N0ZENTMyIiwidmlzaXRvcl9pZCI6IjU2MDMxMzA4NjM0NDIxODc1NzAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 67e6ffb45600a5af42fee83446832c6a1212ff981681a495f011315095fdcbd4 |
| hovercard-subject-tag | issue:838609293 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/sparxsys/ScriptRunner-Scripts/4/issue_layout |
| twitter:image | https://opengraph.githubassets.com/f016d08064ddc54898486e8cf6d63295e0514620917dc0d184bcfde7c6a9aa44/sparxsys/ScriptRunner-Scripts/issues/4 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/f016d08064ddc54898486e8cf6d63295e0514620917dc0d184bcfde7c6a9aa44/sparxsys/ScriptRunner-Scripts/issues/4 |
| og:image:alt | Thanks for your tutorial. Since Jira upgraded to 8.15, jira username and key are not the same value. So when we use addActorsToProjectRole(Collection |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | streamelody |
| hostname | github.com |
| expected-hostname | github.com |
| None | 60279d4097367e16897439d16d6bbe4180663db828c666eeed2656988ffe59f6 |
| turbo-cache-control | no-preview |
| go-import | github.com/sparxsys/ScriptRunner-Scripts git https://github.com/sparxsys/ScriptRunner-Scripts.git |
| octolytics-dimension-user_id | 2854039 |
| octolytics-dimension-user_login | sparxsys |
| octolytics-dimension-repository_id | 138261540 |
| octolytics-dimension-repository_nwo | sparxsys/ScriptRunner-Scripts |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 138261540 |
| octolytics-dimension-repository_network_root_nwo | sparxsys/ScriptRunner-Scripts |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 7c85641c598ad130c74f7bcc27f58575cac69551 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width