Jira behaviour get reporter. You cannot set the reporter in the Jira User .

Jira behaviour get reporter. Antoine HAPI Examples You may have read how HAPI works but are unsure how to use it effectively in your Jira instance. Solution Confirm the project screens include the Reporter field The Jira "View issue" screen uses the "Edit issue" screen configuration to make fields available for inline edits. Anyone can help? May 10, 2016 · using latest version of ScriptRunner and Jira. . Find out what achievements can be unlocked when you download the app now, completely free of charge. ComponentAccessor import com. The basic situation is: If the approval date is populated, then a few fields are to become read-only. Topic Replies Views Activity Restricting selection of multiselect fields and cascading fields using Behaviour ScriptRunner behaviour , jira 2 813 March 6, 2023 Dynamic Select List Behaviour Scripts behaviour , jira 3 647 September 20, 2023 Custom Picker autocompletedata ScriptRunner api , jira In Behaviours, some Jira-native system fields can be custom field types. The description is optional, but it can help other Jira administrators understand the purpose of the behaviour and how they can use it. project. getFormValue() See full list on docs. onr Mar 6, 2024 · Right now Jira populates this field using the sender noted in the original email. Aug 16, 2020 · In this article I will show you how to only allow specific set of users that can be assigned to a JIRA issue, depends on the issue type. Once tagged, the field is removed from any automations, advanced workflow functions, or third-party apps that use Aug 10, 2021 · The Lookup Manager use the value in the Reporter field, get the Round Robin Assignment Table to search the Leader column. If there is a matching row, store the value in the Team column as an entity property to the issue. I guess, Jira attempt to freeze the information of creator in normal case, but admin can modify due to management issue. accountId, this ticke Sep 26, 2025 · Learn to automate ticket sharing and add reporters to organizations in Jira Service Management Cloud with step-by-step guidance. Find the documentation you need fast for Atlassian apps from ScriptRunner: for Jira, Confluence and Bitbucket. 🚀 Boost Your Jira Efficiency with Automation! In this video, I’ll walk you through the step-by-step process of automatically changing a field value based on the assignee in Jira using Jun 22, 2018 · I am trying to use the Jira rest API to make an issue request from our website. Fields aren’t permanently deleted right away. Although if user manua Mar 20, 2021 · User related Groovy script snippets for ScriptRunner for JIRA (Server/Data Center) Posted by Bastian Wedler on March 20, 2021 Sep 26, 2025 · Set 'Reporter' field value based on the actual reporter by retrieving email addresses from issue description or custom fields using email/API in Jira. In this example, the field entitled Summary is changed to Ticket Title in response to a particular team's preferences. Example: As explained in the documentation Specifying field behaviour, it is possible to change the behaviour or Jira issue fields depending on the issue type by associating a Field Configuration to a specific issue type. spri May 15, 2018 · I want to add description help text for the reporter field via behaviours in script runner to include html links as this can't be applied in the normal format of editing descriptions in JIRA admin set-up. Unfortunately, since we have many people replying to system notices we're constantly having to update the "reporter" field manually from 'system' to 'person who needs help'. If scripted fields are configured for the updated issues, they execute once, updating the issue and triggering another issue_updated webhook event without the need for any further processing. Can someone look at it for me! Here is my code: ============ import com. We would like to show you a description here but the site won’t allow us. This event is sent to ScriptRunner but does not cause the script to run again or trigger any associated script listeners configured for issue update events. There are also some field values that could previously be read which are no longer accessible at all. Sample; Another way is to change notification setting. What I do not expect is the set value action triggers issue updated event. I tried with behaviours; could not get thru. I f you are currently using a JMWE post-function that uses any of the following fields, this may require your attention. 16, refer to our previous documentation on configuring Groovy scripts. How do I change cloning behaviour so the cloner becomes the reporter? Jan 25, 2017 · What is the Purpose of the Reporter field in Jira? Is it just the person who creates the issue? Does it imply they will get email notifications for any updates to that issue? Nov 9, 2022 · Hi all, I'm trying to build an Initializer script in Behaviours. atlassian. Quickly reference key commands and tips to streamline your Jira queries and enhance productivity. A field configuration customizes how fields behave, based on the issue operation screen they appear on. Follow the steps below to create the behaviour: Open the Behaviours tab and click Create Behaviour. How to use Behaviours Dec 27, 2017 · So, I'm somewhat new to ScriptRunner. How can I accomplish that? Is it even possible? Th Dec 5, 2019 · I have an Automation Rule (built-in Service Desk Automation, not Automation for Jira) that adds a Public Comment on a Request after pre-determined amounts of time and I would like to be able to tag the Reporter dynamically for each Request. Below is a working sample code for your reference:- import com. ComponentAccessor def component = issue. May 9, 2024 · If you've enabled Groovy console or you're on Jira Service Management version lower than 5. And, in default permission scheme, reporter field can be modified by admin only. Watch this playlist to find out how to use the ScriptRunner for Jira Cloud Behaviours feature to bring A field configuration customizes how fields behave across an instance. You cannot set the reporter in the Jira User Apr 23, 2020 · I want to extract reporter name using REST API. I have looked through everything I can possibly find on this issue and all the answers I find say that if a user DOES NOT have modify reporter permis Apr 11, 2025 · The webhook can specify specific issues to act on or even provide Automation for Jira with real-time data that you can use to update your issues. Script Listeners that update issues will trigger an issue_updated webhook event in Jira which is then sent to ScriptRunner The number one most-requested feature for ScriptRunner for Jira Cloud is here. service. /-----… May 29, 2023 · When defining field behavior for one or more Jira projects and issue types in these projects, you typically start by adding one or more new field configurations. Basically, we need to make sure that the Reporter always belongs to a specific group. In Jira, an issue can have multiple fields, such as the summary, description, priority, and more. 5. reporter. Learn to set up a behaviour that changes the field name and adds helper text on the 'Create Vi Apr 26, 2019 · I am new to Jira and would like to understand what is the intended role of the Reporter on a ticket. value. On the field you want to delete, select More actions () then Delete. This information is only visible in the Issue's History tab through the User Interface (UI). For ex, add your user to Issue Created event to get all issue creation e-mails for issues created in project. IssueManager import com. Mar 24, 2023 · Hello, I want to be able to find all tickets related to someone if that person is the reporter or just mentionned in a ticket. It works fine however I would like to add another step/s to change the reporter of a sub task from "Automation for Jira" to assignee of the parent ticket. Change name or description that is displayed for a field. import com. The following script is a collection of example conditions that can be used with Behaviours. A user change the reporter to one issue, and the other which is linked by the ' is blocked by' Set the Reporter in the project's field configuration scheme to optional instead of Required The steps can be found in Specifying field behavior - failing to do this will provide an error to anonymous users to specify the reporter Jun 18, 2022 · I am a new learner of Jira and I have no experience with Script runner, And I trying to Write a script in ScriptRunner that gets initiated every time a user selects the “other” option. ProjectComponent import com. For emails and portal issues I am using an scriptlistner to set the value but is it possible to set this using an behaviour when creating an issue in the Jira GUI? May 2, 2019 · Hello I'm trying to create a field validation using behaviour, that I would like to run whenever someone changes the reporter of an issue (during creation or elsewhere in edit mode). com Need to access field values on the issue object in your behaviours script then you can do this by making a request to the Jira Rest API to return the current issue. toString () def sampleNumber De-risk your development cycle with the help of advanced automation. setSummary (issue. New replies are no longer allowed. issue. Explore step-by-step guidance. I arrive to get the object "component", but I can't get its attributes separately, here is my code: import com. user. Connect Jira, Confluence, Bitbucket, StatusPage, ServiceNow, Slack, GitLab, GitHub and more! Example: Change field name This example shows you how to change the name displayed for a specific field within the issue creation screen. Select Settings () in the top navigation and select Fields. This works with any 'text' type field such as summary, description, and text custom fields. Please can you provide a dummy example that I can apply for a) Reporter (help text to a web lin Get Started Understand how to install, navigate, script and more. Sep 25, 2024 · This topic was automatically closed 180 days after the last reply. You can use Behaviours to restrict which issue types are available to different categories of users. May 30, 2024 · This page provides Groovy script examples to interact with asset custom fields and Jira issues within your Jira workflows. Summary Jira doesn't have a built-in feature to display when a field value was changed on Issues. Have a look and see if you can use these examples to customize some of your fields in Jira: For more examples check out the Behaviours Tutorial page. It's worked perfectly via behaviour script server-side script. parentObject. transform. UserManager import com. I'm currently trying to write an initializer that would hide/show certain fields on the issue edit screen based on the current status in the workflow. I want the script listener to trigger everytime any user changes the value of the Assignee field. the "other" is one of four options which I added it under custom field and the type of this field is single select. However, a behaviour in ScriptRunner for Jira Cloud allows you to take that field customization further, defining how fields behave for issues in a given project or issue context. Behaviours FAQs How do I get the Service Management Request Type name in behaviours? From ScriptRunner 6. getCustomFieldObject ("customfield_13206") def cfValue = underlyingIssue. This step-by-step guide ensures a seamless process for creating and modifying reporters within Jira, optimizing efficiency and clarity in your project management Jul 7, 2022 · What is the reporter by default in Jira? In Jira default, reporter field is filled automatically as current user. Feb 2, 2022 · Dear community, Question: How do I get the data of the current issue, for with an event fired in a Scriptrunner listener? Background: I am developing a little groovy script to send issue-data to a sharepoint list. getCustomFieldValue (cf) Hope that helps The following query will give you a list of reporters and their respective email addresses a specific project. An example of this is the Labels field, which is a Jira-native system field. 1. Pre-fill/pre-format a template so users can easily follow it. Sep 26, 2025 · Learn how to identify and manage Jira requests created on behalf of others, using automation, custom fields, and filters. Only Jira-native system fields are supported, so your Behaviours may not function correctly if you have created a custom field of type Labels. Aug 15, 2017 · In my Behaviour script I get the name of an Issue (provided by a custom field). I have one behaviour for different Customer Reuqest Types. I need to do simple thing - to set default value in field on the screen. 0, you can call the getRequestTypeName method within your behaviour scripts to get the name of the current Service Management Request Type that the user is interacting with. Apr 20, 2023 · Hello, I have this automation below which creates subtask based on the field location status . I am using script runner. g def reporter = getFieldById('reporter'). displayName}}. Aug 7, 2023 · Hi @Humberto Gomes For your requirement, y ou must create a Server-Side Behaviour for the Reporter field. If a field is configured to be hidden for a specific issue type, the automation rule will not be able to access it. Jira is one of the most popular Ticketing and Task Management API platforms we integrate with. Using basic search, search for the name of the person in the Feb 21, 2024 · in canned responses when I choose the issue reporter it bring up the full name of the user, I only want the first name to appear. Jun 13, 2019 · import com. I'm liking it though. Overview Set a Jira filed to be read only when the issue is in a given status This example will work on the Create View in Jira Cloud only. You can change names, descriptions, values of the fields, change visibility of options, hide fields or make them read-only/required depending on projects, issue types, current user or a change in another field. GET http: // localhost: 8080 /rest/ api /2/i ssue /awd-1?fields=reporter If I used command above I Mar 7, 2024 · Overview: Streamline your Jira workflow by effectively assigning and changing reporters with this comprehensive guide. Is there a way to include '@reporter' within an automated comment? Thanks for any assistance. what i have done is open scriptrunner Behaviours Examples We've developed a number of examples of Behaviours that you can follow and adapt. May 5, 2025 · Here's some examples to get started. Aug 16, 2018 · When create issue screen populated, Assignee contains "Automatic". Feb 22, 2024 · Dear all, I discover a 'strange' behaviour in Jira. Guide workflow helps when you add a condition to a field. Right now, the only way I found is to do this: Using basic search, add the reporter field and select the person. Sep 27, 2023 · Issue Summary If a request is raised via the portal from a customer, they will be set to the reporter of the issue within Jira. Is there a setting in the configuration to set this to allow the reporter field to be changed? Behaviours delivers a brand new boost to your Jira customisation power, allowing to conditionally change how fields behave across the entire issue life cycle, under a specific project or issue type. If the reporter This script shows how you can get all the project roles that the current logged in user is a member of and to make them editable to that role and read only for other roles. setValue(“Value”) On creating an issue, this behaviour script is fired as expected. In this article, we’ll cover authentication, building a GET request, and building a POST request - in short, everything you’ll need to successfully call the Jira API! Jira issue type schemes are not very flexible, as you cannot limit the available issue types in a project. Master JQL with our comprehensive JQL cheat sheet. groovy. For example, if you'd like to send out a Slack message with an abbreviated issue description, you can now easily do this with We would like to show you a description here but the site won’t allow us. Nov 2, 2017 · Hi Tim, So if you are not in an issue create screen, you can get the issue using the underlyingIssue bound variable. You then proceed with modifying the behavior of individual fields in these new field configurations. It Jun 24, 2020 · Smart Fields support a number of text manipulation functions. greenhopper. 9. Aug 20, 2019 · Hi, I need to set a description value if one specific component is selected, I'm using a behaviour for this (in Component field). ' Once these conditions are satisfied, transition the issue to 'In Progress' We would like to show you a description here but the site won’t allow us. To use one of these conditions in a Behaviour script, select the relevant part of the code and adapt it to your specific needs. Jan 14, 2019 · I have an requirement to set organization based on reporter in JSD. These conditions demonstrate various ways to dynamically control field properties based on different criteria such as user roles, custom field values, and workflow states. One of the key features of Jira is its ability to allow users to report and track issues . Could you please try instead : issue. What I am doing is I use the API to make a post request to make a user, if one alread Script Listeners that update issues will trigger an issue_updated webhook event in Jira which is then sent to ScriptRunner. summary) Also how do I make a condition whether a spcific component is in the array? How to Change Reporter in Jira Step by Step Process [2025 Full Guide]In today's video we will show you how to change reporter in jira,how to delete a task in "Field Behaviours for Jira" enable you to control how your fields behave in issue creation screen. issueType. System field types are identified in each of the Supported Fields tables below, while custom field Nov 28, 2022 · Use behavior to set the issue type when you create a issue using ScriptRunner. getComponentObjects () issue. Jun 3, 2025 · If you wanted to re-open a Jira issue when a customer comments, you would start with the Issue Commented trigger, add a condition that compares the comment's author with who the reporter is, add lastly add another condition to check if the issue's status is 'Done. Dec 1, 2015 · I want to set the Assignee based on Reporter. I have successfully made a post request that makes a ticket, but I can not figure out how to set the reporter to a specific customer. If an agent tries to change the report of an issue within Jira that was already submitted, the only options the agent can change the reporter to are users that have access to the Jira Service Management application itself. On this page: Automation Update an object attribute Control an Assets custom field value Validators Validate an Assets custom field Post functions Load object by key Create object Send email from a product catalog order Update object attribute Update Assets custom field Load object by attribute value Set an Assets custom field value to the organization of Apr 17, 2025 · Previously on a team managed project I was able to change the reporter field, but now in a company managed project I am unable to change the reporter field when opening an issue. It it possible to get the current status of an issue i Gain control and customise how fields in Jira behave. Everything you need to get up and running! Jul 9, 2020 · I am trying to make a few custom fields read-only based on if a date field was populated. Jun 27, 2024 · Hi All, this might be a repost, but it took me a while to figure out. Nov 5, 2021 · Hi JIRA experts! @Mayur Jadhav I see what you're saying about the difference between Company Managed projects and Team managed ones. Dec 11, 2016 · Simplify your workflow with ScriptRunner for Jira: Show/Hide Fields with Behavior Functionality. component. Behaviours delivers a brand new boost to your Jira customisation power, allowing to conditionally change how fields behave across the entire issue life cycle, under a specific project or issue type. name + " " + issue. What I want to get is that when issue is created (both by an agent and from user portal) depending on the Customer Request Type some fields are hidden in the initiallly loaded We would like to show you a description here but the site won’t allow us. I have a Behaviour script: Applied to On Change and On Load. Dec 12, 2024 · "reporter": { "id": "5b10a2844c20165700ede21g" } In order for the reporter to be set during issue creation using this field, you will need to know the Atlassian Account ID of the User you would like to make the reporter, then replace that user's ID in your REST API call. The id of the issuetype is not changed But it doesn't work. Therefore if you want to get the value of the custom field with key customfield_13206 you will need something like def cf = ComponentAccessor. onresolve. Typically, if someone has permission to create an issue in a project, they can create every issue type in the project's issue type scheme. Workaround Workaround 1: Go to Jira settings > Issues > Custom fields > Add custom field; Click on 'All' and search for the field type Domain of reporter; Select this field type > give this field a name (let's call it reporterDomain); Confirm the field creation (this field doesn't need to be added to any screen); Use this field to search using JQL. These scripts can be used in post functions to update asset attributes based on Jira issue transitions. Disclaimer This video is solely intended for educational purposes only. Mar 27, 2025 · I’m using ScriptRunner Behaviours in Jira Cloud. Instead it should be populate the current user or the reporter (both are same). Summary If the Reporter field is not added to both the Edit and View screens for a project, Jira users can't change the reporter of an issue even if they are granted the Modify Reporter permissions. The user is able to create issues and also able to import issues through JIRA’s import fea… Sep 25, 2025 · Using a custom field to collect data on a Jira issue using automation and setting the field as non-editable so that users cannot modify the value set in the field. The copy I received of the comment as posted does not look like the "@" symbol functioned as it normally works when manually typed. name == 'Test' Make sure you add this postfunction on the resolve transition of the sub-task workflow, and that the correct parent transition is selected : Let me know how that went. I did the development in the "Groovy Console" of the "JIRA MISC WORKFLOW EXTENSIONS To delete a field: Navigate to the Jira admin panel. Aug 11, 2022 · Hi @Annie Lockwood There are different ways. BaseScript @BaseScript FieldBehaviours behaviours def reporter = getFieldById (fieldChanged) def reporterValue = reporter. FieldBehaviours import groovy. Since the group rest API requires jira admin permission Learn How to Change Default Reporter in Jira in 1 minute using our interactive demo guide! Sep 22, 2017 · When I/we clone a request, the reporter field is not updated with a "new" reporter - the person who is cloning the request should become the reporter. Instead, they’re tagged for deletion in 60 days. You will see the Create Behaviour Sep 20, 2023 · Version - Behaviours with Jira v5. I have tried something like the Find out how to use Behaviours in ScriptRunner for Jira Cloud. How can that field be used in the system? Apr 19, 2019 · Hi @Kristian Walker _Adaptavist_ I have a question regarding permissionsthe script listener that I configured is checking if the Assignee field is changed and then check membership of the new Assignee to set the value of a custom field. In this tutorial, you will learn how to change reporter in Jira. One of the key fields of an issue is the If the Reporter field is not added to both the Edit and View screens for a project, Jira users cannot change the reporter of an issue even if they are granted the Modify Reporter permissions. Below are multiple use cases/examples that incorporate HAPI in the scripts, ready for you to explore and customize to your Jira instance: Automatically add users to linked issues as watchers Jul 20, 2021 · In the new JIRA Miscellaneous Workflow Extensions add-on for JIRA Cloud, s ome fields that were previously writeable are now be read-only. Oct 25, 2023 · Hi, We have a user who is having permission to create issued in a project. customFieldManager. Nevertheless I need to find a solution how to make fields mandatory for my issue types - otherwise the process will not work and I don't have a tool to make people accountable to fulfill all fields. On this page, we provide you with the following Feb 28, 2023 · Changing the Issue's Reporter on a Jira Ticket via the Customer Portal Jira is a popular issue and project tracking tool used by many teams to manage their work. Is there is a cut function or something to edit the variable? Mar 17, 2022 · Within my automation's 'Comment on Issue' compose box, I tried @ { {issue. Enhance user experience and navigation by assigning the right individuals to specific tasks. I appreciate any help! Behaviours give you more control over fields in Jira. Example: EXP-1 Hi accountid:reporter. However, a behaviour in ScriptRunner allows you to take that field customization further, defining how fields behave for issues in a given project or issue context. jira. Create a new notification scheme (or edit the existing depending on your need) and assignee your user to related events to get notifications. But the user doesn’t have access to modify reporter. How to Change Reporter in Jira (Step-by-Step Process). Mar 22, 2023 · Add the field " Reporter " in the behaviour (it is very important this step, you need to add the script to the field that your manipulation will be dependent on) Add server-side script for the Reporter field To get the user who is in the field "Raise this request on behalf of", use e. To get your personal Atlassian Account ID. The approval can be returned, so if that is true, then the custom fields are to be read-write again. Solution Marketplace apps There are "reporting" apps in the Marketplace that allow such reporting features on field change dates and allow for dynamic selection of fields and date ranges. Behaviours provide options enabling you to customize how fields in Jira behave. Alter the value of a field via script: getFieldById(“ID”). One of them is to create an automation. When you configure the webhook trigger, it will give you a unique URL which you either add to the third party application's outgoing webhook configuration or make a HTTP Post request from your custom Scripted Fields issues are updated after a script is executed, triggering an issue_updated webhook event in Jira. If the Sep 26, 2025 · Learn how to use Jira user properties and the user property custom field in Jira Cloud to show additional user information in your work items. bc. Database queries Jul 4, 2019 · I suspect you have a recent version of Jira that makes one of the deprecated methods fail. displayName}} in an attempt to address the comment to the reporter by name. I thought it was modifying the form field in real time, but Get started with Jira automation Automation lets you focus on the work that matters, removing the need to perform manual, repetitive tasks by allowing your teams to automate their processes and workflows. I wrote a script for that but doesn't work. The ultimate Atlassian integrations: simplify and consolidate even complex third-party integrations into a central hub. components*. Especially the behaviours section. util. adaptavist. Then write a ScriptRunner Post Function to retrieve the stored information and assign the ticket based on the Round Robin Rule. From there I would like to use the name of the Issue to find that Issue in Jira and discover its resolution status, from there I would like to have a conditional statement that if a certain Issue is resolved then I do something, else I do nothing. You can also use text manipulation functions on issue sub-attributes, such as the {{issue. yiu aff2e cq0vsgs 3q0jrtr 1vs ni ct3n bu8m 8zo ftxrq