Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Adding a feature via REST, rejected ownerId

Morten Christophersen August 25, 2023

Hi,

All I hope you can help me. I have a script that creates feature in JA via REST. In general it have been working fine. But Now I get problems for some users. Also users that previously was able to do it. If I change the value of the OwnerId to another user with similar roles specified then it works as it should. Please help me in debuggging this if you have had similar expirence or knowledge about which parameters that might affect this. As said I works if I just change the ownerId to another integer.

the interface return this information: 400 Client Error: Bad Request for url: https://*.jiraalign.com/rest/align/api/2/Features

the response text is: Cannot create feature. Value for ownerId is invalid..

My data: {'type': 2, 'title': 'pya', 'featureSummary': 'pya', 'ownerId': 503, 'description': 'In ', 'links': [{'name': 'Full specification in Confluence', 'link': 'https://..........com/x/BPbVSw'}], 'primaryProgramId': 8, 'jiraProjectKey': 'CCC', 'releaseId': 11, 'state': 0}

1 answer

1 accepted

3 votes
Answer accepted
Rodrigo San Vicente
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
August 25, 2023

Hello @Morten Christophersen 

I hope you are doing great!

 

We have a bug opened two days ago reporting the same behavior:

https://jira.atlassian.com/browse/JIRAALIGN-5302

Currently, there is no workaround for this, but if we can identify one, we will update the bug to reflect it so all our customers will benefit from it.

Please add yourself as a watcher to be updated on the state of the bug moving forward. You'll be notified via email when our development team updates the ticket.

Several factors determine how Atlassian prioritizes bug fixes. You can learn more about this by reading our [Atlassian Server Bug Fixing Policy|https://confluence.atlassian.com/support/atlassian-cloud-bug-fix-policy-206865884.html].

I hope it helps in some way!

Should you need any additional information, please raise a JA support ticket using this link, and we'll be more than happy to assist you!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events