Forums

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

Label for Current User

justin romeo July 13, 2020

Is there anyway to create a label for an individual so that i can create a JQL such as 

Label = currentUser()

3 answers

1 accepted

2 votes
Answer accepted
Nic Brough -Adaptavist-
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 Leaders.
July 13, 2020

A label is a tag with a name which can be anything, a user is an object representing an account that someone uses to access your systems.

The types of data in these two fields is very different and label = user would require a LOT of coding to make even the basic idea work.

I think you would be better served by having a field that's a multi-user select list for "people with an interest", or possibly even better, just use "watchers"

justin romeo July 15, 2020

I'm trying to use Jira issues for meetings (so people can log work). For each meeting the person in charge of that meeting creates the issue and people attending will go to his/her card to log work.

In order to make it easier for people to see meetings I'm trying to create a board. I started by having individuals watch issues and have a board that shows:

watcher = currentUser() AND resolution = Unresolved AND labels in (Meetings, meetings) ORDER BY duedate DESC, updated DESC

The issue with this was people were receiving too many emails and so i am now looking at having user labels. 

Nic Brough -Adaptavist-
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 Leaders.
July 15, 2020

User labels will not solve that problem.

Why not use a custom field for "attendees"?

Sudarshan
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 Leaders.
July 15, 2020

Yeah, that is a good idea, a user based custom field (with multiple addition option)

1 vote
Sachin
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 Leaders.
July 13, 2020

Hello @justin romeo , I don't think that is possible. Because, currentUser() is a inbuilt function in Jira that can only be used by logged-in users. Also, can you explain little more on what you are trying to achieve here. Thank you!

Sudarshan
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 Leaders.
July 13, 2020

Yes, Like Sachin mentioned, Jira Label are like tags.! 
Is your request more like you want to add multiple users to a ticket.? 

currently only one member can be attached to a ticket.

or to find current user at every state of the ticket-- create a workflow and as the ticket moves from one status to another, the responsible members must take it (assignee)

justin romeo July 13, 2020

I'm trying to use Jira issues for meetings (so people can log work). For each meeting the person in charge of that meeting creates the issue and people attending will go to his/her card to log work.

In order to make it easier for people to see meetings I'm trying to create a board. I started by having individuals watch issues and have a board that shows:

watcher = currentUser() AND resolution = Unresolved AND labels in (Meetings, meetings) ORDER BY duedate DESC, updated DESC

The issue with this was people were receiving too many emails and so i am now looking at having user labels. 

0 votes
Sudarshan
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 Leaders.
September 1, 2020

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events