running a daily check with automation for jira

Deleted user October 14, 2021

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
Deleted user October 14, 2021

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

Schermata 2021-10-14 alle 15.06.09.png

1 vote
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 Leaders.
October 14, 2021

Hi @[deleted] 

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

Deleted user October 14, 2021

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
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 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

Deleted user October 14, 2021

@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

Deleted user October 14, 2021

Schermata 2021-10-14 alle 14.11.00.png

Jack Brickey
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 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 Deleted user likes this
Deleted user October 14, 2021

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

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.
October 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 Deleted user likes this
Deleted user October 14, 2021

@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
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 14, 2021

Use the Advanced Compare condition

screenshot1.png

Like Deleted user likes this
Deleted user October 14, 2021

@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
AUG Leaders

Atlassian Community Events