I have 4.2.4 and still get error with this

The Resolution of the issue will be set to 1.
— THEN
Set issue status to the linked status of the destination workflow step.
— THEN
Add a comment to an issue if one is entered during a transition.
— THEN
Update change history for an issue and store the issue in the database.
— THEN
The Closed_Date of the issue will be set to Updated.
— THEN
Re-index an issue to keep indexes in sync with the database.
— THEN
Fire a Issue Closed event that can be processed by the listeners.
Results in following error:
Unable to update custom field 'customfield_10511 - Closed_Date' in issue [XXX-15]
It seems that you have tried to perform an illegal workflow operation.
I have tried with Closed_Date as a Date Picker custom field as well as a datetime custom field.
Interestingly, the terminology isn't the same as yours: "will take the value of Updated"

1 answer

1 vote

I can't tell if this is an answer to another question, or a question in it's own right.

Assuming the second, then the answer is that your workflow allows you to select any date fields to work with. It does NOT know if the field you pick is valid for the project/issue-type that the workflow will eventually be used with. In other words, it lets you configure a duff transition, and then falls over when you execute it. Check that the field configuration and context in the target project allow "customfield 10511" for that project/issuetype

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Tuesday in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

199 views 1 18
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you