Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Automation rules creation Edited

Team

Can you please help with this requirement. We have a issue item workflows, of which I want to automate transitioning for this scenario.

After an issue is moved to workflow X, after 4 weeks from this date, automatically transition the workflow to Y (if there are no open bugs, issues, tasks,...) is that possible? I started the below which I hope is a good starting point.

Thanks.

Has Rule.PNG

2 answers

2 accepted

0 votes
Answer accepted

you could use automation addon

https://www.atlassian.com/software/jira/automation-template-library/rules#/rule/new/new

rule #1:

trigger on transition

when issue is transitioned to status B, you can fill a custom date field with the date

rule #2:

manual triggered with CRON settings

when issue has status B AND date >30d, then transition to status C

+ optional empty the date field (if you have a workflow that can go back to Status B)

 

I have some extra addon, which shows the time that the issue stucks in the current transition. if automation is possible to read this information, then you would only need rule #2.

Thanks for your prompt response the solution looks promising. I need to ensure the CRON job only runs IF there are no linked AND open issues. Is that possible?

with CRON, you define when the automation rule is triggered (I would do it daily at night)

after CRON, just insert some condition (IF or JQL)

0 votes
Answer accepted

Hi Hasanein,

Developer from Automation here.


As mentioned above by Alex one method would be to set a custom date field, then have a scheduled rule that checks the date saved. JQL by default should support time in status checks though, so you can use this provided you don't care which status is transitioned  from otherwise you should do the above, anyway if not you can do something like: status != "Done" and status changed to "TO DO" after -4w. 

Regarding your mention if no linked issues being opened, you can also use a "Related issue condition" and provide JQL to check if one of them isn't Done or Open depending on your setup.

Here's my example of course you'll need to change statuses based on your workflows, might be worth testing it with a shorter time in status first to make sure it works for you:
Screen Shot 2021-05-14 at 5.10.32 pm.png

Screen Shot 2021-05-14 at 5.01.08 pm.png


If you require further help with your rule then you can contact our support here: https://support.atlassian.com/

Cheers.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
Community showcase
Published in Jira Service Management

JSM June Challenge #2: Share how your business teams became ITSM rockstars

For JSM June Challenge #2, share how your non-technical teams like HR, legal, marketing, finance, and beyond started using Jira Service Management! Tell us: Did they ask to start using it or...

167 views 6 7
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you