Discussions
-
Asset referenced fields migration to Cloud
Hello community, as some of you know, I am not big fan of cloud, so I spent little bit of investigation, but I am stuck and got different project to work on. One of my ex-clients reached me, that they are planning to migrate into Cloud Jira. They are huge instance with 12k users, unlimited agents and using Assets…
-
How to effectively manage large amount of JPD projects?
Hello community. One of my client is considering moving to Cloud, part of that, could be a benefit of having Jira Product Discovery. After alpha phase, they do have around 30 Product Discovery projects. Now came the pain. The auditors came with some requests, mandatory fields, changes in workflows, sync of roles etc. In…
-
How to wipe-out any Confluence Server instance (accident or attack)
Yes. It is possible. No backend access needed. You can wipe your instance by accident, but it is also possible to use this UX/UI flaw as an attack at your competitor. So. Be careful about lines below. In this article I will explain what is wrong, how you can prevent yourself from being a victim and what should Atlassian do…
-
Button / link to parent page / one level up?
Hi guys, I searched some articles in here, but no exact answer. Is there a out of box way, how to implement "level up" / "go to parent" page button / link into the Confluence Server / DC without any external plugin? Customer is 15k users, there is almost no possibility to purchase any plugin in schedule less then 2-3 years…
-
Cannot transition issues & cannot contact support, even on paid plan
We have small cloud Jira for internal sync and even I hate this product I have to use it. Now its becoming real frustrating. We did not touch anything, and I cannot close any issue. Always ending with error as attached. Also, this is paid Cloud instance, small, but we are on paid plan and I am unable to raise ticket for…
-
Working with Activity Stream in Script Runner?
Hi my friend, I am solving quite easy, but quite tricky business requirement. "If user XYZ does not do any activity for X minutes, fire an action". As I dont have any rich filters available, have to work with default JQL, Script Runner or JMWE. Idea was to use the Activity Stream, but as far as I am googling, there is no…
-
How to handle small offline customers in future?
Hello community, I thought that I will never write that, but I have no idea what to say to customer. Right now, I got two small businesses requesting solution for their Jira instance. First company is 70 users JSM, Software, Confluence, Bitbucket. Second company is 120 users, Jira Software, Insight, Confluence. Both…
-
Edit local help for issue types
Hi there, as our priority atlassian support did not work for this question and they suggested to ask the community, I am asking the community. Description Hello there, got quite simple question from customer, but could not find the answer. Customer would like to edit help text "the local help" for the issue types in create…
-
Insight: Automatic reciprocity links creation? (Inbound / outbound reference)
Hello there, got quite simple request, but kind of struggling with solution. Lets say, we have: * Object Person with attribute Company * Object Company with attribute Person Is there any way, how to achieve behavior, that if user will create reference from Person to Company, it will create automatically reference back from…
-
ScriptRunner Jobs, Checkboxes, setCustomFieldValue does nothing
Hello there, will try to be quick. Building automation routine in scriptrunner jobs. All the stuff is running fine, but the final set values back into checkboxes CF is failing without any errors to error log, but doing nothing. part of routine: def productsCf = customFieldManager.getCustomFieldObject("customfield_24970")…
-
How to copy all users from Project Role to User Group
Recently, I faced to interesting and challenging task. We are moving one huge Jira instance to unified Access Management, which will be driven by user request in dedicated project and approved / declined request will automatically add users to users groups, which are shared in Permission Scheme through more projects. Well,…
-
Confluence Scriptrunner: Copy users from space permissions to the local group
Hi guys, due to poor architecture when one of my customer started their implementation, they ended in situation with one space and 400+ users INDIVIDUALLY assigned with same permissions. Now I am in front of "copying" this configuration. Need new space, with same permission setup. I am looking for solution in ScriptRunner…
-
Working with IssueLinkManager without history entries
Hello community, I am in front of optimizing an routine job done in script runner. Basically, every night, it compares some custom fields with set off issues and recreates issue links between true findings. Thats working fine and as expected, the problem is, when users tries to reach the issue history. Its flooded with…
-
Custom Field Context bulk update
Hello there, did anyone already have as script for bulk Context update? Usecase: Customer using PROJECT123 with about 100 custom fields set to be used within this project. Customer decided to add PROJECT234, PROJECT345 and PROJECT456. We need to setup those 100 custom fields to appear in those projects as well. Any idea?…
-
Migrated Confluence to different instance, how to fix hardcoded links in Jira Description
Hello community, looking for solution for one my clients. We successfully migrated two instance into one. Both Jiras and Confluence. All of the testing went fine, so we ran prod migration. After some time on prod, customer employee found out, that links are broken. We fixed the integrated links, but soon we discovered that…
-
JSM portal user picker different for customers vs users
Hello community! Maybe I am kind of blind, but cannot figure this out. Customer is using JSM for both licenced users and customer with portal only access. I got multiple request types, but all contains Jira User Picker fields * Requested for * Manager (supervisor) Those field behave different for portal only access and for…
-
Insight objectAttributeBeanFactory.createObjectAttributeBeanForObject cannot get ObjectBean
Hello there. I am just reusing my working script, with the difference then before I used in Jira based of CF. Now I want to search for a object via IQL facade a iterate over the results. Here is the code: import com.riadalabs.jira.plugins.insight.services.model.ObjectAttributeBean import…
-
null pointer exception when trying to update multiple issues
Hello everyone, will try to be quick. I trying following: * We got JQL query * All issues are checked * We find Application listed in Insight (CF 17203) - insight object(s) * We find related Business Owner * We find Jira User for the Business Owner * We put the Business Owner into (CF 17702) - multi user picker The code we…
-
Periodical import of WordPress articles?
Hello everyone, got customer who would like to migrate to Atlassian Cloud, but, they have to stay with custom features they have in WP with FAQ base in WP. As they would like to use Service Desk Portal with search FAQ feature, they would like to synchronize WP and Confluence - somehow. I searched some plugins, but nothing…
-
ScriptRunner Behaviours for Insight Objects picker - readonly with delete
Hello everyone, got a quite simple, but tricky question. I need to setup a fields to be "readonly" with possibility to remove objects. Users should not able to search within objects, but should be able to remove existing objects in transition screen with multiple insight objects in it. Any ideas? :-)
-
How to copy only new values from field to field?
Hello, got very specific use case and finding a lot of dead ends. I got two insight field, multi object field. Lets say we have SourceField and TargetField. The SourceField is present on transition screen. The TargetField is hidden, just field for the logic behind. What I need is: When I execute the transition, the…
-
Scripted Fields: getting sum of custom field based on both link type and target issue type
Hi there, after two days of googling and investigations and so many failed attempts I am asking the most wisdom community in the world. The usacase is simple: I have an issue type "Objective" with Scripted field "Objective points" This "Objective points" should sum-up all "Feature points" from all epics linked thru issue…
-
Custom error message in Scriptrunner Behaviours?
Hello guys, looking for solution to throw custom error message into the portal request screen via behaviours instead of generic one. My behaviour is like: def projectComponentManager = ComponentAccessor.getComponent(ProjectComponentManager) def projectManager = ComponentAccessor.getComponent(ProjectManager) def mandatory =…
-
Groovy: Setting Multiple Objects Insight Custom Field
Hi Community, I am trying to fill in Insight object(s) custom field, which is configured as multiple. Here is the code: if (members != null) { for (item in members) { def userInsightField = customFieldManager.getCustomFieldObject("customfield_11525") // TSO members (Insight) Class iqlFacadeClass =…
-
Groovy How to get URLs from Collections$UnmodifiableRandomAccessList
Hello community. Need a little bit of help with parsing groovy. Putting together auto-answer script for one of my customer. The goal is, to return a comment with number of incidents AND urls for accessing them from Customer Portal URL for matching JQL. I did all of the scripting, I can find the issues and return number of…
-
Instant workflows health check with two simple JQLs
Many of us are facing to wrongly created workflows, creating a mess in Jira. There are inexperienced admins or event the managers creating workflows with no, or very limited knowledge about rules and must-haves within Jira and workflows logic. Status is not Resolution! In small instances, it's kind of easy to analyze those…
-
Script Runner Behaviors wont load Insight objects for customers (works for licensed users)
Hello there. One of my customer is using Script Runner Behaviors for dynamic forms and for prefilling data to various fields based on current user. Mainly: * The Current user is filled into custom field * The Current user do have "shadow in Insight" * One of the attributes in Insight is the user manager * User manager is…
-
Getting Customer Request Type Category Name?
Hi guys, is there a way to get Customer Request Type Category Name? On of my customers needs it and my knowledge ending with issue.get("customfield_13918")?.name where the 13918 is Customer Request Type custom field. But I need to handle the Category name and store it into the issue. Is it possible without querying DB?