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

Automation rule to check if the request is approved

Florin
Contributor
April 26, 2023

Hello everyone. I am very new to Jira, and I have a question.

A bit of context. New user comes in -> new request for access -> approved/declined. Now if in the meantime the user form needs to be modified I have a rule to create a new subtask on the request. What I want is for the subtask to be created only if the original request is approved, so I need to put in a condition to create the subtask only if the request is approved beforehand.

jira.PNG

So where the plus is want to put the condition but I am a bit lost. Any help is much appreciated.

 

1 answer

1 accepted

0 votes
Answer accepted
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.
April 26, 2023

Hi Florin - Welcome to the Atlassian Community!

What happens to the issue when it is marked Approved? Does it go to a new/different Status? If so, then your rule should simply check to see if the issue is in that Status. 

Florin
Contributor
April 26, 2023 edited

So when it's in "Waiting for user approval", and then approved, it goes to "Waiting for Support".
So basically you are saying to create the subtask only if it's in the new status after approval.

I get it now. Simple solution. 

Thanks, John

Like John Funk likes this
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.
April 26, 2023

Yep - give that a try and see if it does what you want. 

Like Florin likes this
Florin
Contributor
April 26, 2023

Hi John, I put in the new condition. So after approval, the status is set to "Waiting for support", but now it does not create the subtask when the status changes after approval. Don't understand exactly what I am doing wrong.

jira.PNG

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.
April 27, 2023

Can you include a screenshot of the audit log when you run it? That will tell us where it’s failing .

Florin
Contributor
April 27, 2023

John, I made it work. It was an issue with the trigger. So I changed it so that only when approval is completed and the ticket has the required form, then to create a subtask. 
Thanks a lot for your time and help.

jira.PNG

Like John Funk likes this
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.
April 27, 2023

Great! Glad you got it to work.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
atlassian, atlassian government cloud, fedramp, webinar, register for webinar, atlassian cloud webinar, fedramp moderate offering, work faster with cloud

Unlocking the future with Atlassian Government Cloud ☁️

Atlassian Government Cloud has achieved FedRAMP Authorization at the Moderate level! Join our webinar to learn how you can accelerate mission success and move work forward faster in cloud, all while ensuring your critical data is secure.

Register Now
AUG Leaders

Upcoming Jira Events