Forums

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

How to mention user group using rest api create issue in python

secuverse
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 7, 2023

Hi

I want mention user group in description.

I using python and this method. "create_issue"

My code is below

```

jira = JIRA(server=self.base_url, basic_auth=(self.email, self.token))
issue = jira.create_issue(
                  project=self.project_code,
                  summary=summary,
                  description=description
              )

```

description same as "blablablablalblalbla"

and i add mention group name "blablablablalblalbla @somegroup"

But when i check Jira Issue in UI, it's just text ㅠ-ㅠ

Help me...

2 answers

1 vote
Marko Blagus
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.
November 8, 2023

Hello @secuverse

 

Welcome to the community!

Unfortunately, it's not possible to mention a group in Jira.

Request for that was raised couple of years ago, as you can see on this link.

Maybe there is some add-on that lets you do that.

 

Best regards,

Marko Blagus

0 votes
secuverse
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 8, 2023

Hello, @Marko Blagus .
Thank you for your reply!

The group I mentioned was a team. Still not mentioned?
If not mentioned team, what are the additional features that allow me to mention groups in the API?

Marko Blagus
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.
November 8, 2023

Hi @secuverse,

 

It's not possible to mention a group in Jira, so it means it's not possible to mention a group in your API call. Basic Jira features don't allow us to do that.

You can maybe get users from group with this endpoint, and than make a loop that goes through that users and mentions every user in description.

I hope this helps.

 

Best regards,

Marko Blagus

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events