I offer paid 30 mins or 60 mins 1-1 consultancy calls.
Jira Courses, Training and Consulting: Sparxsys Trainings
Thanks for coming here, I hope you are enjoying learning here, I have also written some books in case you want to learn a bit more :)
If you need my help with Drupal, Linux, Jira, Scripting, Automation or want to contact me then raise a ticket for me please :) and I will get back to you, promise. At Sparxsys we provide Atlassian consultancy services, reach out to me at ravi at sparxsys dot com

Mastering Jira Automation: Tracking and Reacting to Issue Type Changes

One of the most frequent questions in the Atlassian community is: "Can Jira track and react to changes when an issue type is updated?" The answer is a resounding yes. By leveraging Jira Automation and Smart Values, administrators can capture the context of an issue transition—knowing both the previous and new issue types—to trigger dynamic updates, notifications, or administrative actions.

Real-World Applications

The ability to respond to issue type transitions is invaluable across various workflows:

  • ITSM/Service Management: A support agent might initially categorize a ticket as a "Service Request." If the issue escalates into a server outage affecting multiple users, the administrator can update the type to "Incident." Automation can then automatically prepend the new status to the summary or add a clarifying comment.
  • Software Development: A QA team might open a ticket as a "Task" for a configuration change, which developers later identify as a "Bug." Automation can seamlessly notify the bug triage group, assign the ticket, and update the internal audit trail without manual intervention.

Configuration Guide

To build this automation, follow these steps:

  1. Define the Trigger: Select "Field value changed" and choose "Issue type" as the field. Ensure the operation is set to "All work item operations" to catch all transitions.
  2. Utilize Smart Values: Jira exposes the state changes through specific smart values:

{{fieldChange.fromString}}

  1. : Retrieves the previous issue type.

{{fieldChange.toString}}

  1. : Retrieves the new issue type.
  2. Execute Actions: Whether you are posting a comment stating, "Issue type changed from X to Y," or updating the Summary field (e.g., {{fieldChange.toString}} {{issue.summary}}), these dynamic variables ensure your automation remains flexible and future-proof.

Troubleshooting & Best Practices

Even experienced admins face challenges with automation. Here are key tips to ensure your rules succeed:

  • Verify Syntax: Always ensure your smart values are enclosed in double curly braces {{ }}.
  • Check the Audit Log: If a rule isn't firing, don't guess—check the Audit Log. It will reveal if the trigger fired and exactly why an action failed.
  • Keep it Generic: Avoid hard-coding specific issue types where possible to make your rules reusable across the entire project.
  • Publish Your Rules: It sounds simple, but a common oversight is forgetting to publish the rule after configuration.

Strategic Considerations

Before automating summary updates, ask yourself: Does appending the issue type to the summary add value? Since Jira natively tracks issue types as a searchable field for JQL queries, reporting, and dashboards, duplicate info in the summary might be redundant. However, if your team benefits from immediate visual context while browsing the backlog, this automation is an excellent solution.

Conclusion

Jira Automation provides the power to make your workflow responsive and intelligent. By mastering issue type transitions, you can reduce manual administrative work and ensure that your team always has the most up-to-date context on every work item.

Subscribe

* indicates required

Please confirm that you would like to from Sparxsys:

You can unsubscribe at any time by clicking the link in the footer of our emails. For information about our privacy practices, please visit our website.

We use Mailchimp as our marketing platform. By clicking below to subscribe, you acknowledge that your information will be transferred to Mailchimp for processing. Learn more about Mailchimp's privacy practices.

Want to contact me?