Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 19:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.

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

Drop down value once selected on creation of issue should send a email to the desired user

Roja Gurram
Contributor
June 17, 2020

Hi All,

While creating the issue once we select a drop down value ( Yes/No ) for one custom field EMAIL should sent to the end/desired user.

For more Clear understanding If i select "Yes" as the drop-down value email have to go to specific user while am creating the issue.

Could someone please help on this ASAP.

2 answers

1 accepted

1 vote
Answer accepted
Radhika Vijji _Innovalog_
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.
June 17, 2020

Hi Roja,

Yes. It is possible with JMWE. Add the Email issue post-function to the transition. Select/Add the recipients with the conditional execution script: 

issue.getAsString("custom field name") == "Yes"

Regards,

Radhika

Roja Gurram
Contributor
June 17, 2020

Hi Radhika,

Thank you for the clear solution.

 

1) I have a question SUBJECT is mandatory what could we need to keep for better understanding as per the procedure for JMWE Add-on.

2) I have attached screenshot's for your reference and let me know whether i have  choosen correct or not ?

3) Also is it possible that if ‘Yes’ is selected that an "Email" with the "Attachment" is sent to a desired email address? 

 

I hope you will definitely help me on this. Thanks in advance!!

 

S.PNGs1.PNGs2.PNGs3.PNG

Radhika Vijji _Innovalog_
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.
June 17, 2020

Hi Roja,

  1. The Subject is mandatory and it can be any text, including optional Groovy template markup. Please click on "Expected Value" of the Groovy editor to see the expected value for the Subject field
  2. Yes. The configuration looks correct. Here is the documentation for this post-function https://innovalog.atlassian.net/wiki/spaces/JMWE/pages/139896954/Email+Issue
  3. You need to upgrade to the latest version of JMWE to send attachments in the email issue post-function. You should use the last option "Attachments returned by a Groovy script:" to control the sending of the attachments based on the field value.

Regards

Radhika 

Roja Gurram
Contributor
June 17, 2020

Hi Radhika,

Awesome, Thanks a lot for your help and quick response.

Roja Gurram
Contributor
June 18, 2020

Hi Radhika,

 

1) You need to upgrade to the latest version of JMWE to send attachments in the email issue post-function.

To which version do i need to upgrade Addon pls ?

 

2) You should use the last option "Attachments returned by a Groovy script:" to control the sending of the attachments based on the field value.

Controlling in the sense is there a limit to send attachments while ticket creation?

 

Please clear me here.

David Fischer
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
June 18, 2020

Hi Roja,

1) you need JMWE 6.3.3.

2) it might be a misunderstanding. Do you want to send the email only if "Yes" is selected in the dropdown, or do you want to always send the email but only include the attachments if "Yes" is selected? I believe Radhika was assuming the latter in her response.

Roja Gurram
Contributor
June 18, 2020

Hi David,

Thanks for picking up.

 

1) Clarified.

2) Do you want to send the email only if "Yes" is selected in the dropdown-

Dropdown value" YES"along with Attachment on creating the ticket.

David Fischer
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
June 18, 2020

2) then you'll use the "Attachments added on the transition screen" option. The Conditional execution script you have configured already takes care of deciding when to send the email

Roja Gurram
Contributor
June 18, 2020

David,

2) then you'll use the "Attachments added on the transition screen" option. -

Where do i can see this option ? Is it in the postfunction list of postfunction options if so, in my Jira version 7.3.1 the option which you mentioned above is not available.

 

Pls let me know your inputs.

David Fischer
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
June 18, 2020

It's in the Email Issue post function configuration screen - after you upgrade JMWE to version 6.3.3

Roja Gurram
Contributor
June 18, 2020

Thanks very much  David for clarification.

0 votes
John Funk
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
June 17, 2020

Hi Roja,

You should be able to do that with Automation For Jira. How will the rule know which user to send the email to?

Roja Gurram
Contributor
June 17, 2020

Hi John,

Thanks for taking my question.

Is Automation For Jira is that separate Software ? Please let me know am not aware on these.

I heard from one of my friend this we can achieve it via postfunction Email Issue ( JMWE Addon ) in this postfunction we need to write a Groovy script either Boolean value is true/false. I don't know how do i need to give exact condition for the custom field value.

Can you please let me know.

John Funk
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
June 17, 2020

Automation For Jira is an add-on for Server. There is a Lite version that is Free or a more fully functioning version that is paid. 

See Radhika's response below, she will surely get you taken care of with JMWE  :-)

Roja Gurram
Contributor
June 17, 2020

John,

Thanks for your detailed information.

Sure, she can help out on this.

Suggest an answer

Log in or Sign up to answer