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

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

running a daily check with automation for jira

Once a day, I would like to check some issues. In particular, I would like to see the "due date" field of each issue and if that date corresponds to today's date (of the current moment, today every day I mean), then the issue must be changed to "done". Is it possible to do this with automation for jira server (I'm using the lite edition)?

3 answers

1 accepted

1 vote
Answer accepted

ok at the end I've solved using JQL condition. Thanks to all again.

Schermata 2021-10-14 alle 15.06.09.png

Hi @Calogero Kalos Bonasia 

My apologies if I am misunderstanding your use case, and...

Regarding your automation solution to move any issues due today to "done", does your team *ever* have work that is late, or incomplete by the due date?

If so, you may not want to just move things to done, but instead notify people that incomplete work is due that day.

Kind regards,
Bill

no the request is not for work, but to activate or deactivate accounts. An issue is a request for an account. The user approves the creation of the account. 90 days later the account must still expire. It is necessary to pass the issue to done to "give the list" of accounts that must be deactivated. Thank you for your comment, it is helpful in any case. @Bill Sheboy 

Like Bill Sheboy likes this
1 vote
Jack Brickey Community Leader Oct 14, 2021

Yes you can do this. Have you attempted to set up the rule as yet? If not try to do so. It will look something like this…

trigger - scheduled daily

condition - field condition- due date equals today

action - transition issue to done

@Jack Brickey thank you for your reply, I am trying to make the rule, the new problem is that I don't understand why still in 2021 there is this problem, the custom field on which I have to make the condition is not shown in the list.

Schermata 2021-10-14 alle 14.08.17.pngSchermata 2021-10-14 alle 14.09.26.png

 

Schermata 2021-10-14 alle 14.11.00.png

Jack Brickey Community Leader Oct 14, 2021

First, I have not experienced that myself. However I use Cloud. I assume you have tried to start typing the name of the field to see if it appears? You might consider using JQL condition rather than Issue field condition. Finally you might reach out to support directly if all else fails.

Like Calogero Kalos Bonasia likes this

@Jack Brickey  yes I will contact Atlassian, I hope to solve it. Thank you for your assistance.

John Funk Community Leader Oct 14, 2021

Hi Calogero,

You have 11808 in your search but the field is 11807. Also, will the text of the field not show up? 

If still no, you might try some JSON in the advanced section for the field. 

Like Calogero Kalos Bonasia likes this

@John Funk 

thanks for your contribution, I'm afraid because with automation lite I just can't do it I see the function deactivated. 

 

Schermata 2021-10-14 alle 14.39.19.pngSchermata 2021-10-14 alle 14.37.26.pngSchermata 2021-10-14 alle 14.37.35.pngSchermata 2021-10-14 alle 14.37.42.pngSchermata 2021-10-14 alle 14.38.02.pngSchermata 2021-10-14 alle 14.38.08.pngSchermata 2021-10-14 alle 14.38.16.pngSchermata 2021-10-14 alle 14.38.32.pngSchermata 2021-10-14 alle 14.39.03.png

John Funk Community Leader Oct 14, 2021

Use the Advanced Compare condition

screenshot1.png

Like Calogero Kalos Bonasia likes this

@John Funk ok thanks, I confirm, I cannot use this function, on automation lite it is blocked. Patience, since on this jira there is script runner, I will try to understand how to do it with script runner. I didn't want to use script runner, because automation for jira is at least 156987 times better than script runner... but whatever. Thank you all.

Like John Funk likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
8.4.2
TAGS
Community showcase
Published in Confluence Cloud

🎨 Add some visual life to your templates

Hi Atlassian Community, My name is Avni Barman, and I am a Product Manager on the Confluence Cloud team. Based on feedback from you, we are giving admins more power to create templates that a...

163 views 1 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