Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show parent on issue view #766

Open
ankitpokhrel opened this issue Aug 24, 2024 · 0 comments
Open

Show parent on issue view #766

ankitpokhrel opened this issue Aug 24, 2024 · 0 comments

Comments

@ankitpokhrel
Copy link
Owner

ankitpokhrel commented Aug 24, 2024

Update:

I'd like to append to this request the ability to view the parent linkage in jira issue view. I currently have a workflow that runs against a board and audits that everything is sorted into the correct swim lanes. One of the triggers preventing this from working fully as it could is that if a ticket doesn't have a parent linked, it would get sorted to column A, and if it does to column B. For my use case in particular, I would only need a binary "has parent" / "doesn't have parent" level of detail, but the most sensible I think would be in the first line of the banner for jira issue view --plain that would show something to the effect of 👪 BRD-12345 (not really a great emoji for parent, but you get the idea).

It looks like the parent field is accessible in the V2 Get Issue endpoint via:
curl -H <headers> -u <user:pass> <base_url>/rest/api/2/issue/<issue_id> | jq -r '.fields.parent.key'

The documentation only mentions "Parent" through .fields.["sub-tasks"] | select(.type.inward == "parent"), though that field is empty on tickets I've tried with parents.

Originally posted by @tj-smith47 in #714 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant