Our new Appfire Documentation Space is now live!

Take a look here! If you have any questions please email support@appfire.com

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Abstract

This code snippet assigns the issue to a specific user if the issue is unassigned.

Logic

Check for a value on the Assignee and based on the result, assign the issue to a specific user

Snippet

{% if issue.fields.assignee %}
{{ <Application User Object or String representing a Username> }}
{% endif %}

Placeholders

Placeholder

Description

Example

<Application User Object or String representing a Username>User object or username of the specific user{{ issue.fields.project.lead }} or {{ issue.fields.project.lead.name }}

Context

The output of this snippet is an ApplicationUser or a String representing a username which you can use to set a field of User type in Set field value and Set field value of linked issues post-function.

Use cases

Reference

Filter by label

There are no items with the selected labels at this time.

  • No labels