Hello @Milan Pekař ,
Welcome to the Community! Apologies for the delayed response.
You could try something like this:
history.changes
.FILTER($.field = "status")
.LAST().changegroup.author
It makes use of the History item property and Array Functions to get the last status update and then return the author of the change.
Please let me know if it helps!
Best,
David
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello @Milan Pekař ,
If it's not recognizing history, you may be on a Cloud hosted instance of Jira. If this is the case, history attributes are not yet accessible.
At the top of your structure, do you see "Show Generators" (Cloud) or "Automation" (DC / Server)?
If you do see "Automation", history should be working and it would be best to contact our support team directly through our customer portal support.almwotks.com to determine what may be happening.
Best,
David
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Milan Pekař ,
Ok, you are definitely not on Cloud, so you should be able to pick History from the list of attributes.
In your previous screen capture, where you see history, click on the "Manual Specification" option under it and start typing "history". The correct option should present itself under the Standard Attributes heading.
Please let me know if you find it!
Best,
David
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Milan Pekař
That is very strange. Please reach out to our support team directly via support.almworks.com.
We will want to have a closer look at what is happening.
Best,
David
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I contacted the system admin of the plugin in our company. So we'll see.
Thanks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
So, we have actually Structure version 7.2, but History.changes are available from version 7.4 and higher. Update will be as soon is possible.
https://wiki.almworks.com/documentation/structure/7.4/data-center-and-server/structure-7-4-release-notes-130885211.html
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Now we have version 8.2.2 and History.Changes is working. Thanks a lot.
USER_DISPLAY_NAME(
history.changes
.FILTER($.field = "status").last().changeGroup.author
)
For current transition to status
USER_DISPLAY_NAME(
history.changes
.FILTER($.field = "status" and $.to = "Your status").last().changeGroup.author
)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It's great to hear you now have the right version of Structure, with the feature you needed. And most importantly that it is working as you hoped, @Milan Pekař 👍
-dave
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.