Forums

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

Automation: when issues transitioned to "Done" display "actual end date" with current date. JQL?

Fuji
Contributor
May 4, 2023

Hi Jira Community,

 

I'am want to make an automation so that when an issue is transitioned to "Done" it will automatically set the custom field "actual end date" to current date (not due date or target end date, but the actual date it's moved to "Done"). 

My primary question:

- What is the correct JQL?

Supplemental questions:

- Maybe are other easier ways than JQL?

- Finally, should I start learning basic JIRA JQL? (I'am new in the job as a project coordinator in IT - no coding experience).

 

 

Here is my JQL, that didn't work:

{
"fields": {

"actual end date": {now.dayOfMonth}
}

 

 

Audit log regarding the automation that was tried to implement:

"Action details:
Edit issue
Error while parsing additional fields. Not valid JSON."


Screenshots of 'Custion field "actual end date"' automation:
Webklip_4-5-2023_12645_dbf-it.atlassian.net.jpeg
Webklip_4-5-2023_12624_dbf-it.atlassian.net.jpeg
Best regard
Fuji - project coordinator in IT department (project adminitrator in Jira)

2 answers

1 accepted

3 votes
Answer accepted
Adrián Plaza [DEISER]
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.
June 15, 2018

Hi @Tal Lavi,

 

Welcome to this community :)

 

You can make projects to public access in the permission scheme, with the option: "Group: Anyone"Screenshot_1.pngAnd after that, you can create public dashboards for this publics projects.

 

I hope this help, Cheers,

Adrián.

Tal Lavi
June 15, 2018

Thanks for the very swift answer. I'm afraid I haven't explained myself well enough. I don't want it to be public for anyone, but public in my organization. Meaning - I do want people to have to login, but it's an unattended machines, and many people should be able to login, so it makes sense to me to make a single "public" username, with a known password, and just let people have it. It seems weird to me that I have to create a mail account just for that.

 

Tal

Adrián Plaza [DEISER]
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.
June 15, 2018

Hi @Tal Lavi,

Thanks for the explanation, I am afraid that is totally necessary to create this "general" account with an attached email to allow the users to login in Jira.

Cheers,

Adrián.

Tal Lavi
June 15, 2018

Thanks Adrian (and also Moses).

 

I was afraid of that. Our IT is not too crazy about dummy accounts which are not linked to users, that's why I wanted to circumvent this.

 

It's odd to me that JIRA doesn't let me just define a user if I wish so.. 

 

Thanks again,

 

Tal

1 vote
Moses Thomas
Community Champion
June 15, 2018

@Tal Lavi  I was thinking  What  if you don't not want any  one to  browse project ?

Well  in your thoughts you  could have this  user created  with  a  valid  email  set user password,(can be made public)  give user access to  project,  as project  admin  and use  this user's  account to  display board etc.

 

best!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events