The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Get field value from non-active issue

Ryan Schamp
Contributor
October 13, 2023

I'm writing a global automation that sends email when an issue is deployed. 

Issue Trigger: Deployment Successful

Action: Send email

What I'm struggling with is the email distribution. We reserve the first issue in each project for the project charter. So XXX-1 is always the charter. The charter has custom fields for Business Analyst, Project Manager, etc. I want to send emails to the BA, PM and QA folks when the deployment is successful but smart values only act on the active issue, which would be like XXX-52. 

So I want to pull the user from a custom field in another issue, in the same project as the active issue. Is that possible?

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
Answer accepted
Bill Sheboy
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 Champions.
October 13, 2023

Hi @Ryan Schamp 

Probably "yes", and...

As you are using a global scope, automation rule it can branch to any issue.  You just need to identify that charter issue you mention and the data could then be used in your communications.

I am not using the Deployment Successful trigger at this time, and so cannot test this.  I recommend testing to learn which of the returned information could help: https://support.atlassian.com/cloud-automation/docs/jira-smart-values-development/

And I seem to recall this one triggers for each issue, and so that may be your answer if the charter issue is part of the set: add a condition to detect the charter before emailing.

Kind regards,
Bill

Bill Sheboy
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 Champions.
November 4, 2023

Hi @Ryan Schamp 

Just following up to check if this answered your question.  If so, please consider marking this one as "answered".  That will help others with a similar need find solutions faster.  If not, please let the community know what help you need with the rule changes.

Thanks!

TAGS
AUG Leaders

Atlassian Community Events