Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,463,365
Community Members
 
Community Events
176
Community Groups

How to send emails from "test management for jira" add-on

Product details:

  • Jira v7.7.1
  • Test Management for Jira (Adaptavist) v4.6.2

Requirement:

Within the add-on "Test Management for Jira (Adaptavist) v4.6.2" I have two custom fields "Status" and "User". These are not Jira fields but custom add-on fields. I want to set the value of "User" to be the Jira Logged in user, and who s setting the status to "Approved". 

For e.g. 

If user abc is logged into Jira and he sets the status=approved, then values for user should automatically be set to user=abc. But if the  he sets the status=pending, nothing should change in "user" field.

How to do this?

I am not a programmer, but ready to learn whatever the solution asks for.

 

1 comment

ASweeten Atlassian Team Jun 22, 2018

Hi Pravin,

Thanks for reaching out with this inquiry about automatically updating a custom user-picker field when another custom field's value is changed.  You can pretty quickly accomplish this using the Automation for JIRA Plugin.  Unfortunately, the Lite version (which is free), doesn't have all of the necessary functionality to get this working.  You will need the full Pro version, and I've tested the below locally.  

You'll need to setup 

  1. 'Field value changed' trigger - points at your Status custom field
  2. 'JQL condition' - like 'project = $YOUR_PROJECT AND $STATUS_FIELD = 'Approved'' (replace $variables with your project and status field names)
  3. 'Edit issue action' - set the User custom field to '{{initiator.displayName}}'
  4. Save your rule and enable it

Now anytime a user switches the Status custom field of an issue to 'Approved' the User custom field will be populated with the username of the initiating user.  This plugin should work with almost all custom and system fields in JIRA.  

Hope this helps!

Cheers
~Andrew Sweeten
Atlassian Support

Comment

Log in or Sign up to comment