Service Account

Myles Boyd
Contributor
October 9, 2024

We already have a Service Account in Jira related API calls; I'd like to use the same account in JSM automation for Web Requests to JSM.

I made the account an Admin in the project, but get a 401 Unauthorized error. 

Do I have to give the account Agent access to JSM, and thus use up a licence?

 

Thanks in advance

1 answer

1 vote
Trudy Claspill
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 9, 2024

Hello @Myles Boyd 

That depends on what you are trying to do in the API call.

The account needs to have a Jira Service Management license if you want the account to be able to do more than view the issues and add Internal Comments. Without a Jira Service Management license, the account can be only a Collaborator with limited access to update the issues, as described here:

https://support.atlassian.com/jira-service-management-cloud/docs/what-users-and-roles-are-there-in-jira-service-management/

There are a variety of change requests asking that Collaborators be enabled to make other types of changes. Here are a couple:

https://jira.atlassian.com/browse/JSDCLOUD-1240

https://jira.atlassian.com/browse/JSDCLOUD-931

 

Myles Boyd
Contributor
October 9, 2024

Thanks Trudy,

I need to make web requests to the form attached to requests.

I didnt want to create hundreds of custom fields and hoped I could use API and automation to fix the issues.

Suggest an answer

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

Atlassian Community Events