Hi,
I know the issue ID from {{issue.ID}} command.
Can I access its status by mentioning its ID? Similar to {{issue.status.name}}, but to the issue with specific ID, not to currently open issue.
Thanks
Hi,
I understand that you're using the automation features in Jira Cloud and want to be able to use a smart value that can also lookup an issue by its ID (and not always refer to the issue at hand). To the best of my knowledge, this is not possible to do today with the automation in Jira.
The smart values do have some ability to look up other related issues values. You can see this info in the document, Smart values - general.
issue.epic
Added by: anytime an issue is added
If the issue is in an Epic, then epic refers to the Epic issue. You can access all fields of the Epic.
{{issue.epic.key}} {{issue.epic.status.name}} {{issue.epic.My Custom Field}}
With that in mind, we could use this to find the ID of the epic itself with something along the lines of:
{{issue.epic
.id}}
However, without this specific kind of relationship between the issues, I don't know of any way for you to lookup the field values of issue using the specific ID/Issue key with smart values.
While I have not seen any specific requests exactly like yours, the closest I found was in AUT-425 : Consider adding support to smart-values to look up related issue field values. I know this isn't exactly the same as providing an issue ID to do a lookup, but it feels like the closest feature request that I think could potentially help.
Sorry this is probably not the answer you were looking for. But I hope you find this helpful.
Andy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.