How to add the assignee name to Summary for issues that are being imported from a CSV

Wally David
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 18, 2024

Hello, I'm trying to find out how to add the assignee name to Summary for issues so that if the assignee changes, the name will be changed in the Summary.

As background, the Epic and all Tasks are imported via CSV file.  We currently embed the Assignee Name in the Summary as part of the import. However, if the assignee changes, someone must manually update the Tasks. We need the Assignee in the Summary because it displays in the calendar we still use in Confluence. Having the Assignee in the Summary allows us to quickly look at the calendar in Confluence and see at a glance, what tasks are assigned to various resources.

Is there any way to do this?

jira example.jpg

 

2 answers

0 votes
Marc - Devoteam
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 18, 2024

Hi @Wally David 

Welcome to the community.

You would need to create an automation rule.

  1. Use the trigger Issue Updated, Use the Assignee field
  2. Use create variable action

    Name the variable (I used partofsummary in my example)
    Smart value to use: 
    {{issue.summary.substringBefore("-")}}
  3. Use Edit issue action

    Select the Summary field
    Set the following smart value:
    {{partofsummary}} - {{issue.assignee.displayName}}

Screenshot 2024-10-18 at 14.38.07.png

0 votes
Manoj Gangwar
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 18, 2024

Hi @Wally David  Welcome to the community!

You can create an automation rule to achieve this.

Here’s how to create an automation rule:

  • Go to Project settings > Automation.
  • Click on Create rule.
  • Set the trigger to Field Value changed and add a condition to check if the Assignee has changed.
  • Then, add an action to Edit issue and set the summary to include the current assignee's name (e.g., "{{issue.summary.split(" - ")[0]}} - Assignee: {{issue.assignee.displayName}}").

Suggest an answer

Log in or Sign up to answer